Rename test fixture package in spring-beans

See gh-23550
This commit is contained in:
Sam Brannen
2019-12-29 17:37:19 +01:00
parent 4260c34b47
commit 7cd4ddf5fc
503 changed files with 1148 additions and 1142 deletions

View File

@@ -1,4 +1,4 @@
dog.(class)=org.springframework.beans.test.fixtures.beans.Pet
dog.(class)=org.springframework.beans.testfixture.beans.Pet
dog.$0=Fido
testString2.(class)=java.lang.String

View File

@@ -1,4 +1,4 @@
dog.(class)=org.springframework.beans.test.fixtures.beans.Pet
dog.(class)=org.springframework.beans.testfixture.beans.Pet
dog.$0=Fido
testString2.(class)=java.lang.String

View File

@@ -16,8 +16,8 @@
package org.springframework.test.context.groovy
import org.springframework.beans.test.fixtures.beans.Employee
import org.springframework.beans.test.fixtures.beans.Pet
import org.springframework.beans.testfixture.beans.Employee
import org.springframework.beans.testfixture.beans.Pet
/**
* Groovy script for defining Spring beans for integration tests.

View File

@@ -16,8 +16,8 @@
package org.springframework.test.context.groovy
import org.springframework.beans.test.fixtures.beans.Employee
import org.springframework.beans.test.fixtures.beans.Pet
import org.springframework.beans.testfixture.beans.Employee
import org.springframework.beans.testfixture.beans.Pet
/**
* Groovy script for defining Spring beans for integration tests.

View File

@@ -2,13 +2,13 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="Dilbert" />
<property name="age" value="42" />
<property name="company" value="???" />
</bean>
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet">
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet">
<constructor-arg value="Dogbert" />
</bean>

View File

@@ -10,13 +10,13 @@
<jdbc:script location="classpath:/org/springframework/test/jdbc/data.sql"/>
</jdbc:initialize-database>
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />
</bean>
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet">
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet">
<constructor-arg value="Fido" />
</bean>

View File

@@ -2,7 +2,7 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />

View File

@@ -2,7 +2,7 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet">
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet">
<constructor-arg value="Fido" />
</bean>

View File

@@ -2,19 +2,19 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="employee1" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee1" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />
</bean>
<bean id="employee2" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee2" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="Jane Smith" />
<property name="age" value="38" />
<property name="company" value="Acme Widgets, Inc." />
</bean>
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet">
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet">
<constructor-arg value="Fido" />
</bean>

View File

@@ -1,4 +1,4 @@
cat.(class)=org.springframework.beans.test.fixtures.beans.Pet
cat.(class)=org.springframework.beans.testfixture.beans.Pet
cat.$0=Garfield
testString.(class)=java.lang.String

View File

@@ -2,13 +2,13 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />
</bean>
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet">
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet">
<constructor-arg value="Fido" />
</bean>

View File

@@ -3,7 +3,7 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
<beans profile="dev">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />

View File

@@ -2,12 +2,12 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet">
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet">
<constructor-arg value="Fido" />
</bean>
<beans profile="dev">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />

View File

@@ -2,7 +2,7 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="Yoda" />
<property name="age" value="900" />
<property name="company" value="The Force" />

View File

@@ -2,7 +2,7 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee">
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee">
<property name="name" value="John Smith" />
<property name="age" value="42" />
<property name="company" value="Acme Widgets, Inc." />

View File

@@ -2,7 +2,7 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet">
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet">
<constructor-arg value="Fido" />
</bean>

View File

@@ -5,10 +5,10 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
<bean id="employee" class="org.springframework.beans.test.fixtures.beans.Employee" p:name="John Smith" p:age="42"
<bean id="employee" class="org.springframework.beans.testfixture.beans.Employee" p:name="John Smith" p:age="42"
p:company="Acme Widgets, Inc." />
<bean id="pet" class="org.springframework.beans.test.fixtures.beans.Pet" c:_="Fido" />
<bean id="pet" class="org.springframework.beans.testfixture.beans.Pet" c:_="Fido" />
<bean id="foo" class="java.lang.String" c:_="Foo" />

View File

@@ -2,10 +2,10 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="requestScopedTestBean" class="org.springframework.beans.test.fixtures.beans.TestBean" scope="request">
<bean id="requestScopedTestBean" class="org.springframework.beans.testfixture.beans.TestBean" scope="request">
<property name="name" value="#{request.contextPath}" />
</bean>
<bean id="sessionScopedTestBean" class="org.springframework.beans.test.fixtures.beans.TestBean" scope="session" />
<bean id="sessionScopedTestBean" class="org.springframework.beans.testfixture.beans.TestBean" scope="session" />
</beans>