polishing .beans tests

This commit is contained in:
Chris Beams
2008-12-24 20:17:43 +00:00
parent 751daf95a1
commit 915ad0a8d9
32 changed files with 286 additions and 245 deletions

View File

@@ -19,7 +19,7 @@
</property>
</bean>
<bean class="org.springframework.beans.factory.CountingFactory">
<bean class="org.springframework.beans.factory.xml.CountingFactory">
<property name="testBean" ref="rob"/>
</bean>

View File

@@ -20,7 +20,7 @@
</property>
</bean>
<bean class="org.springframework.beans.factory.CountingFactory">
<bean class="org.springframework.beans.factory.xml.CountingFactory">
<property name="testBean" ref="rob"/>
</bean>

View File

@@ -26,7 +26,7 @@
</property>
</bean>
<bean class="org.springframework.beans.factory.CountingFactory">
<bean class="org.springframework.beans.factory.xml.CountingFactory">
<property name="testBean" ref="rob"/>
</bean>

View File

@@ -72,9 +72,9 @@
</bean>
<!-- Test of lifecycle callbacks -->
<bean id="mustBeInitialized" class="org.springframework.beans.factory.MustBeInitialized"/>
<bean id="mustBeInitialized" class="org.springframework.beans.factory.xml.MustBeInitialized"/>
<bean id="lifecycle" class="org.springframework.beans.factory.LifecycleBean"
<bean id="lifecycle" class="test.beans.LifecycleBean"
init-method="declaredInitMethod">
<property name="initMethodDeclared"><value>true</value></property>
</bean>
@@ -85,10 +85,10 @@
</bean>
<!-- Factory beans are automatically treated differently -->
<bean id="singletonFactory" class="org.springframework.beans.factory.DummyFactory">
<bean id="singletonFactory" class="test.beans.DummyFactory">
</bean>
<bean id="prototypeFactory" class="org.springframework.beans.factory.DummyFactory">
<bean id="prototypeFactory" class="test.beans.DummyFactory">
<property name="singleton"><value>false</value></property>
</bean>