diff --git a/org.springframework.aop/src/test/java/org/springframework/aop/target/HotSwappableTargetSourceTests.java b/org.springframework.aop/src/test/java/org/springframework/aop/target/HotSwappableTargetSourceTests.java index 2f40f8afef7..484c8110f70 100644 --- a/org.springframework.aop/src/test/java/org/springframework/aop/target/HotSwappableTargetSourceTests.java +++ b/org.springframework.aop/src/test/java/org/springframework/aop/target/HotSwappableTargetSourceTests.java @@ -24,7 +24,6 @@ import org.junit.Test; import org.springframework.aop.framework.Advised; import org.springframework.aop.framework.ProxyFactory; import org.springframework.aop.interceptor.SerializableNopInterceptor; -import org.springframework.aop.interceptor.SideEffectBean; import org.springframework.aop.support.DefaultPointcutAdvisor; import org.springframework.beans.Person; import org.springframework.beans.SerializablePerson; @@ -32,6 +31,8 @@ import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.ClassPathResource; import org.springframework.util.SerializationTestUtils; +import common.beans.core.SideEffectBean; + /** * @author Rod Johnson * @author Chris Beams diff --git a/org.springframework.aop/src/test/java/org/springframework/aop/target/PrototypeTargetSourceTests.java b/org.springframework.aop/src/test/java/org/springframework/aop/target/PrototypeTargetSourceTests.java index f0caece5ce9..994007f9250 100644 --- a/org.springframework.aop/src/test/java/org/springframework/aop/target/PrototypeTargetSourceTests.java +++ b/org.springframework.aop/src/test/java/org/springframework/aop/target/PrototypeTargetSourceTests.java @@ -20,11 +20,12 @@ import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; -import org.springframework.aop.interceptor.SideEffectBean; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.ClassPathResource; +import common.beans.core.SideEffectBean; + /** * @author Rod Johnson * @author Chris Beams diff --git a/org.springframework.aop/src/test/java/org/springframework/aop/target/ThreadLocalTargetSourceTests.java b/org.springframework.aop/src/test/java/org/springframework/aop/target/ThreadLocalTargetSourceTests.java index f594d437dbf..90abac5c97e 100644 --- a/org.springframework.aop/src/test/java/org/springframework/aop/target/ThreadLocalTargetSourceTests.java +++ b/org.springframework.aop/src/test/java/org/springframework/aop/target/ThreadLocalTargetSourceTests.java @@ -20,11 +20,12 @@ import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; -import org.springframework.aop.interceptor.SideEffectBean; import org.springframework.beans.ITestBean; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.ClassPathResource; +import common.beans.core.SideEffectBean; + /** * @author Rod Johnson * @author Chris Beams diff --git a/org.springframework.aop/src/test/java/org/springframework/aop/target/hotSwapTests.xml b/org.springframework.aop/src/test/java/org/springframework/aop/target/hotSwapTests.xml index 349193136c6..a9c339c9c19 100644 --- a/org.springframework.aop/src/test/java/org/springframework/aop/target/hotSwapTests.xml +++ b/org.springframework.aop/src/test/java/org/springframework/aop/target/hotSwapTests.xml @@ -4,11 +4,11 @@ - + 10 - + 20 diff --git a/org.springframework.aop/src/test/java/org/springframework/aop/target/prototypeTests.xml b/org.springframework.aop/src/test/java/org/springframework/aop/target/prototypeTests.xml index 33a2907aca2..2e4616737de 100644 --- a/org.springframework.aop/src/test/java/org/springframework/aop/target/prototypeTests.xml +++ b/org.springframework.aop/src/test/java/org/springframework/aop/target/prototypeTests.xml @@ -4,11 +4,11 @@ - + 10 - + 10 diff --git a/org.springframework.aop/src/test/java/org/springframework/aop/target/threadLocalTests.xml b/org.springframework.aop/src/test/java/org/springframework/aop/target/threadLocalTests.xml index 4c5e3ba3130..0e203b61963 100644 --- a/org.springframework.aop/src/test/java/org/springframework/aop/target/threadLocalTests.xml +++ b/org.springframework.aop/src/test/java/org/springframework/aop/target/threadLocalTests.xml @@ -3,7 +3,7 @@ - + 10 diff --git a/org.springframework.beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java b/org.springframework.beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java index 7fc43f13ef8..e5592e8175e 100644 --- a/org.springframework.beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java +++ b/org.springframework.beans/src/test/java/org/springframework/beans/factory/DefaultListableBeanFactoryTests.java @@ -67,13 +67,14 @@ import org.springframework.beans.factory.support.PropertiesBeanDefinitionReader; import org.springframework.beans.factory.support.RootBeanDefinition; import org.springframework.beans.factory.xml.ConstructorDependenciesBean; import org.springframework.beans.factory.xml.DependenciesBean; -import org.springframework.beans.factory.xml.SideEffectBean; import org.springframework.beans.propertyeditors.CustomNumberEditor; import org.springframework.core.MethodParameter; import org.springframework.core.io.Resource; import org.springframework.core.io.UrlResource; import org.springframework.util.StopWatch; +import common.beans.core.SideEffectBean; + /** * Tests properties population and autowire behavior. * diff --git a/org.springframework.testsuite/src/test/java/org/springframework/aop/interceptor/SideEffectBean.java b/org.springframework.core/src/test/java/common/beans/core/SideEffectBean.java similarity index 95% rename from org.springframework.testsuite/src/test/java/org/springframework/aop/interceptor/SideEffectBean.java rename to org.springframework.core/src/test/java/common/beans/core/SideEffectBean.java index ee6c95a658b..39d1f88db17 100644 --- a/org.springframework.testsuite/src/test/java/org/springframework/aop/interceptor/SideEffectBean.java +++ b/org.springframework.core/src/test/java/common/beans/core/SideEffectBean.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.aop.interceptor; +package common.beans.core; /** * Bean that changes state on a business invocation, so that diff --git a/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java b/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java index 5abf6e3bd61..721565b3233 100644 --- a/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java +++ b/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java @@ -37,7 +37,6 @@ import org.springframework.aop.IntroductionAdvisor; import org.springframework.aop.IntroductionInterceptor; import org.springframework.aop.interceptor.DebugInterceptor; import org.springframework.aop.interceptor.NopInterceptor; -import org.springframework.aop.interceptor.SideEffectBean; import org.springframework.aop.support.AopUtils; import org.springframework.aop.support.DefaultIntroductionAdvisor; import org.springframework.aop.support.DefaultPointcutAdvisor; @@ -57,6 +56,8 @@ import org.springframework.context.TestListener; import org.springframework.core.io.ClassPathResource; import org.springframework.util.SerializationTestUtils; +import common.beans.core.SideEffectBean; + /** * @author Rod Johnson * @author Juergen Hoeller diff --git a/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/prototypeTests.xml b/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/prototypeTests.xml index 33332243157..796aa375cca 100644 --- a/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/prototypeTests.xml +++ b/org.springframework.testsuite/src/test/java/org/springframework/aop/framework/prototypeTests.xml @@ -7,11 +7,11 @@ - + 10 - + 10 diff --git a/org.springframework.testsuite/src/test/java/org/springframework/aop/target/CommonsPoolTargetSourceTests.java b/org.springframework.testsuite/src/test/java/org/springframework/aop/target/CommonsPoolTargetSourceTests.java index fc7a8bc5cd3..3ec62982419 100644 --- a/org.springframework.testsuite/src/test/java/org/springframework/aop/target/CommonsPoolTargetSourceTests.java +++ b/org.springframework.testsuite/src/test/java/org/springframework/aop/target/CommonsPoolTargetSourceTests.java @@ -25,7 +25,6 @@ import org.junit.After; import org.junit.Before; import org.junit.Test; import org.springframework.aop.framework.Advised; -import org.springframework.aop.interceptor.SideEffectBean; import org.springframework.beans.Person; import org.springframework.beans.SerializablePerson; import org.springframework.beans.factory.xml.XmlBeanFactory; @@ -33,6 +32,8 @@ import org.springframework.context.support.StaticApplicationContext; import org.springframework.core.io.ClassPathResource; import org.springframework.util.SerializationTestUtils; +import common.beans.core.SideEffectBean; + /** * Tests for pooling invoker interceptor. * TODO: need to make these tests stronger: it's hard to diff --git a/org.springframework.testsuite/src/test/java/org/springframework/aop/target/commonsPoolTests.xml b/org.springframework.testsuite/src/test/java/org/springframework/aop/target/commonsPoolTests.xml index a67be5b92f0..ab9b6d208c4 100644 --- a/org.springframework.testsuite/src/test/java/org/springframework/aop/target/commonsPoolTests.xml +++ b/org.springframework.testsuite/src/test/java/org/springframework/aop/target/commonsPoolTests.xml @@ -3,7 +3,7 @@ - + 10