Rename test fixture package in spring-context
See gh-23550
This commit is contained in:
parent
7cd4ddf5fc
commit
726b1bb1d0
|
@ -60,11 +60,26 @@ public class TestSourcesPlugin implements Plugin<Project> {
|
|||
* <p>This is used to assist with the migration to Gradle test fixtures.
|
||||
*/
|
||||
private static final List<String> excludedProjects = Arrays.asList(
|
||||
// "integration-tests",
|
||||
"spring-beans",
|
||||
"spring-context",
|
||||
"spring-context-indexer",
|
||||
"spring-context-support",
|
||||
"spring-core"
|
||||
// "spring-expression",
|
||||
// "spring-instrument",
|
||||
// "spring-jcl",
|
||||
// "spring-jdbc",
|
||||
// "spring-jms",
|
||||
// "spring-messaging",
|
||||
// "spring-orm",
|
||||
// "spring-oxm",
|
||||
// "spring-test",
|
||||
// "spring-tx",
|
||||
// "spring-web",
|
||||
// "spring-webflux",
|
||||
// "spring-webmvc",
|
||||
// "spring-websocket"
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.springframework.cache.config.AnnotatedClassCacheableService;
|
|||
import org.springframework.cache.config.CacheableService;
|
||||
import org.springframework.cache.config.TestEntity;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.SomeCustomKeyGenerator;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.springframework.context.annotation.AdviceMode;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.CacheTestUtils;
|
||||
import org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.test.fixtures.cache.SomeKeyGenerator;
|
||||
import org.springframework.context.test.fixtures.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.CacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.DefaultCacheableService;
|
||||
import org.springframework.context.testfixture.cache.CacheTestUtils;
|
||||
import org.springframework.context.testfixture.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.SomeKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.CacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.DefaultCacheableService;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
|
|
|
@ -30,9 +30,9 @@ import org.springframework.context.annotation.AdviceMode;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.CacheTestUtils;
|
||||
import org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.test.fixtures.cache.SomeKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.CacheTestUtils;
|
||||
import org.springframework.context.testfixture.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.SomeKeyGenerator;
|
||||
|
||||
/**
|
||||
* @author Stephane Nicoll
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<cache:annotation-driven mode="aspectj" key-generator="keyGenerator"/>
|
||||
|
||||
<bean id="keyGenerator" class="org.springframework.context.test.fixtures.cache.SomeKeyGenerator"/>
|
||||
<bean id="keyGenerator" class="org.springframework.context.testfixture.cache.SomeKeyGenerator"/>
|
||||
|
||||
<bean id="cacheManager" class="org.springframework.cache.support.SimpleCacheManager">
|
||||
<property name="caches">
|
||||
|
@ -40,7 +40,7 @@
|
|||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator"/>
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.testfixture.cache.SomeCustomKeyGenerator"/>
|
||||
|
||||
<bean id="customCacheManager" class="org.springframework.cache.support.SimpleCacheManager">
|
||||
<property name="caches">
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.junit.jupiter.api.BeforeEach;
|
|||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.cache.Cache;
|
||||
import org.springframework.context.test.fixtures.cache.AbstractValueAdaptingCacheTests;
|
||||
import org.springframework.context.testfixture.cache.AbstractValueAdaptingCacheTests;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.junit.jupiter.api.AfterEach;
|
|||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.cache.AbstractCacheTests;
|
||||
import org.springframework.context.testfixture.cache.AbstractCacheTests;
|
||||
import org.springframework.core.testfixture.EnabledForTestGroups;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
|
|
@ -34,11 +34,11 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.AbstractCacheAnnotationTests;
|
||||
import org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.test.fixtures.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.CacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.DefaultCacheableService;
|
||||
import org.springframework.context.testfixture.cache.AbstractCacheAnnotationTests;
|
||||
import org.springframework.context.testfixture.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.CacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.DefaultCacheableService;
|
||||
import org.springframework.tests.transaction.CallCountingTransactionManager;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import javax.cache.spi.CachingProvider;
|
|||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
|
||||
import org.springframework.context.test.fixtures.cache.AbstractValueAdaptingCacheTests;
|
||||
import org.springframework.context.testfixture.cache.AbstractValueAdaptingCacheTests;
|
||||
|
||||
/**
|
||||
* @author Stephane Nicoll
|
||||
|
|
|
@ -42,7 +42,7 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.SomeKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.SomeKeyGenerator;
|
||||
import org.springframework.contextsupport.testfixture.jcache.AbstractJCacheAnnotationTests;
|
||||
import org.springframework.contextsupport.testfixture.jcache.JCacheableService;
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ import org.springframework.beans.testfixture.beans.Person;
|
|||
import org.springframework.beans.testfixture.beans.SideEffectBean;
|
||||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.context.test.fixtures.beans.TestApplicationListener;
|
||||
import org.springframework.context.testfixture.beans.TestApplicationListener;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.core.testfixture.TimeStamped;
|
||||
import org.springframework.core.testfixture.io.SerializationTestUtils;
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
|
|||
import org.springframework.beans.testfixture.beans.ITestBean;
|
||||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.context.support.GenericApplicationContext;
|
||||
import org.springframework.context.test.fixtures.SimpleMapScope;
|
||||
import org.springframework.context.testfixture.SimpleMapScope;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.core.testfixture.io.SerializationTestUtils;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.util.concurrent.ConcurrentMap;
|
|||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.cache.AbstractValueAdaptingCacheTests;
|
||||
import org.springframework.context.testfixture.cache.AbstractValueAdaptingCacheTests;
|
||||
import org.springframework.core.serializer.support.SerializationDelegate;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
|
|
@ -18,7 +18,7 @@ package org.springframework.cache.config;
|
|||
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.GenericXmlApplicationContext;
|
||||
import org.springframework.context.test.fixtures.cache.AbstractCacheAnnotationTests;
|
||||
import org.springframework.context.testfixture.cache.AbstractCacheAnnotationTests;
|
||||
|
||||
/**
|
||||
* @author Costin Leau
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.springframework.cache.interceptor.CacheErrorHandler;
|
|||
import org.springframework.cache.interceptor.CacheInterceptor;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.GenericXmlApplicationContext;
|
||||
import org.springframework.context.test.fixtures.cache.AbstractCacheAnnotationTests;
|
||||
import org.springframework.context.testfixture.cache.AbstractCacheAnnotationTests;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
|
|||
import org.springframework.cache.interceptor.CacheInterceptor;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.GenericXmlApplicationContext;
|
||||
import org.springframework.context.test.fixtures.cache.AbstractCacheAnnotationTests;
|
||||
import org.springframework.context.testfixture.cache.AbstractCacheAnnotationTests;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
|
|
|
@ -32,9 +32,9 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.CacheTestUtils;
|
||||
import org.springframework.context.test.fixtures.cache.beans.CacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.DefaultCacheableService;
|
||||
import org.springframework.context.testfixture.cache.CacheTestUtils;
|
||||
import org.springframework.context.testfixture.cache.beans.CacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.DefaultCacheableService;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
|
|
|
@ -33,13 +33,13 @@ import org.springframework.context.annotation.AnnotationConfigApplicationContext
|
|||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.context.test.fixtures.cache.CacheTestUtils;
|
||||
import org.springframework.context.testfixture.cache.CacheTestUtils;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.mock.env.MockEnvironment;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.springframework.context.test.fixtures.cache.CacheTestUtils.assertCacheHit;
|
||||
import static org.springframework.context.test.fixtures.cache.CacheTestUtils.assertCacheMiss;
|
||||
import static org.springframework.context.testfixture.cache.CacheTestUtils.assertCacheHit;
|
||||
import static org.springframework.context.testfixture.cache.CacheTestUtils.assertCacheMiss;
|
||||
|
||||
/**
|
||||
* Tests that represent real use cases with advanced configuration.
|
||||
|
|
|
@ -34,13 +34,13 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.AbstractCacheAnnotationTests;
|
||||
import org.springframework.context.test.fixtures.cache.CacheTestUtils;
|
||||
import org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.test.fixtures.cache.SomeKeyGenerator;
|
||||
import org.springframework.context.test.fixtures.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.CacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.DefaultCacheableService;
|
||||
import org.springframework.context.testfixture.cache.AbstractCacheAnnotationTests;
|
||||
import org.springframework.context.testfixture.cache.CacheTestUtils;
|
||||
import org.springframework.context.testfixture.cache.SomeCustomKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.SomeKeyGenerator;
|
||||
import org.springframework.context.testfixture.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.CacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.DefaultCacheableService;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
|
|
|
@ -35,15 +35,15 @@ import org.springframework.context.ApplicationContext;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.CacheTestUtils;
|
||||
import org.springframework.context.testfixture.cache.CacheTestUtils;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.ReflectionUtils;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
|
||||
import static org.springframework.context.test.fixtures.cache.CacheTestUtils.assertCacheHit;
|
||||
import static org.springframework.context.test.fixtures.cache.CacheTestUtils.assertCacheMiss;
|
||||
import static org.springframework.context.testfixture.cache.CacheTestUtils.assertCacheHit;
|
||||
import static org.springframework.context.testfixture.cache.CacheTestUtils.assertCacheMiss;
|
||||
|
||||
/**
|
||||
* Provides various {@link CacheResolver} customisations scenario
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.springframework.context.ConfigurableApplicationContext;
|
|||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.test.fixtures.cache.CacheTestUtils;
|
||||
import org.springframework.context.testfixture.cache.CacheTestUtils;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.springframework.context.annotation4.DependencyBean;
|
|||
import org.springframework.context.annotation4.FactoryMethodComponent;
|
||||
import org.springframework.context.support.AbstractApplicationContext;
|
||||
import org.springframework.context.support.GenericApplicationContext;
|
||||
import org.springframework.context.test.fixtures.SimpleMapScope;
|
||||
import org.springframework.context.testfixture.SimpleMapScope;
|
||||
import org.springframework.util.ClassUtils;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
|
|
@ -42,7 +42,7 @@ import org.junit.jupiter.api.Test;
|
|||
|
||||
import org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.context.test.fixtures.index.CandidateComponentsTestClassLoader;
|
||||
import org.springframework.context.testfixture.index.CandidateComponentsTestClassLoader;
|
||||
import org.springframework.core.env.ConfigurableEnvironment;
|
||||
import org.springframework.core.env.StandardEnvironment;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.springframework.beans.testfixture.beans.ITestBean;
|
|||
import org.springframework.beans.testfixture.beans.NestedTestBean;
|
||||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.context.support.GenericApplicationContext;
|
||||
import org.springframework.context.test.fixtures.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.context.testfixture.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.core.testfixture.io.SerializationTestUtils;
|
||||
import org.springframework.jndi.support.SimpleJndiBeanFactory;
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ import org.springframework.context.annotation.ComponentScanParserTests.KustomAnn
|
|||
import org.springframework.context.annotation.componentscan.simple.ClassWithNestedComponents;
|
||||
import org.springframework.context.annotation.componentscan.simple.SimpleComponent;
|
||||
import org.springframework.context.support.GenericApplicationContext;
|
||||
import org.springframework.context.test.fixtures.SimpleMapScope;
|
||||
import org.springframework.context.testfixture.SimpleMapScope;
|
||||
import org.springframework.core.env.ConfigurableEnvironment;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.core.env.Profiles;
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
|
|||
import org.springframework.aop.support.AopUtils;
|
||||
import org.springframework.beans.factory.parsing.BeanDefinitionParsingException;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
import org.springframework.context.test.fixtures.SimpleMapScope;
|
||||
import org.springframework.context.testfixture.SimpleMapScope;
|
||||
import org.springframework.core.testfixture.io.SerializationTestUtils;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
|
|
@ -41,8 +41,8 @@ import org.springframework.context.support.AbstractApplicationContext;
|
|||
import org.springframework.context.support.GenericApplicationContext;
|
||||
import org.springframework.context.support.StaticApplicationContext;
|
||||
import org.springframework.context.support.StaticMessageSource;
|
||||
import org.springframework.context.test.fixtures.beans.BeanThatBroadcasts;
|
||||
import org.springframework.context.test.fixtures.beans.BeanThatListens;
|
||||
import org.springframework.context.testfixture.beans.BeanThatBroadcasts;
|
||||
import org.springframework.context.testfixture.beans.BeanThatListens;
|
||||
import org.springframework.core.Ordered;
|
||||
import org.springframework.core.ResolvableType;
|
||||
import org.springframework.core.annotation.Order;
|
||||
|
|
|
@ -28,7 +28,7 @@ import org.springframework.context.ApplicationEvent;
|
|||
import org.springframework.context.ApplicationEventPublisher;
|
||||
import org.springframework.context.event.test.TestEvent;
|
||||
import org.springframework.context.support.StaticApplicationContext;
|
||||
import org.springframework.context.test.fixtures.beans.TestApplicationListener;
|
||||
import org.springframework.context.testfixture.beans.TestApplicationListener;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.util.Set;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.index.CandidateComponentsTestClassLoader;
|
||||
import org.springframework.context.testfixture.index.CandidateComponentsTestClassLoader;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
|
|
@ -28,9 +28,9 @@ import org.springframework.beans.testfixture.beans.TestBean;
|
|||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.event.SimpleApplicationEventMulticaster;
|
||||
import org.springframework.context.test.fixtures.AbstractApplicationContextTests;
|
||||
import org.springframework.context.test.fixtures.beans.ACATester;
|
||||
import org.springframework.context.test.fixtures.beans.BeanThatListens;
|
||||
import org.springframework.context.testfixture.AbstractApplicationContextTests;
|
||||
import org.springframework.context.testfixture.beans.ACATester;
|
||||
import org.springframework.context.testfixture.beans.BeanThatListens;
|
||||
import org.springframework.core.ResolvableType;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.core.io.Resource;
|
||||
|
|
|
@ -26,9 +26,9 @@ import org.springframework.beans.MutablePropertyValues;
|
|||
import org.springframework.beans.factory.support.PropertiesBeanDefinitionReader;
|
||||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.test.fixtures.AbstractApplicationContextTests;
|
||||
import org.springframework.context.test.fixtures.beans.ACATester;
|
||||
import org.springframework.context.test.fixtures.beans.BeanThatListens;
|
||||
import org.springframework.context.testfixture.AbstractApplicationContextTests;
|
||||
import org.springframework.context.testfixture.beans.ACATester;
|
||||
import org.springframework.context.testfixture.beans.BeanThatListens;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
|
||||
/**
|
||||
|
|
|
@ -29,9 +29,9 @@ import org.springframework.beans.factory.support.PropertiesBeanDefinitionReader;
|
|||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.MessageSourceResolvable;
|
||||
import org.springframework.context.NoSuchMessageException;
|
||||
import org.springframework.context.test.fixtures.AbstractApplicationContextTests;
|
||||
import org.springframework.context.test.fixtures.beans.ACATester;
|
||||
import org.springframework.context.test.fixtures.beans.BeanThatListens;
|
||||
import org.springframework.context.testfixture.AbstractApplicationContextTests;
|
||||
import org.springframework.context.testfixture.beans.ACATester;
|
||||
import org.springframework.context.testfixture.beans.BeanThatListens;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
|||
import org.springframework.beans.testfixture.beans.DerivedTestBean;
|
||||
import org.springframework.beans.testfixture.beans.ITestBean;
|
||||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.context.test.fixtures.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.context.testfixture.jndi.ExpectedLookupTemplate;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
||||
|
|
|
@ -21,7 +21,7 @@ import javax.naming.NamingException;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.jndi.SimpleNamingContext;
|
||||
import org.springframework.context.testfixture.jndi.SimpleNamingContext;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
|
|
|
@ -36,13 +36,13 @@
|
|||
|
||||
<bean id="debugInterceptor" class="org.springframework.aop.interceptor.DebugInterceptor"/>
|
||||
|
||||
<bean id="service" class="org.springframework.context.test.fixtures.cache.beans.DefaultCacheableService"/>
|
||||
<bean id="service" class="org.springframework.context.testfixture.cache.beans.DefaultCacheableService"/>
|
||||
|
||||
<bean id="classService" class="org.springframework.context.test.fixtures.cache.beans.AnnotatedClassCacheableService"/>
|
||||
<bean id="classService" class="org.springframework.context.testfixture.cache.beans.AnnotatedClassCacheableService"/>
|
||||
|
||||
<bean id="keyGenerator" class="org.springframework.context.test.fixtures.cache.SomeKeyGenerator"/>
|
||||
<bean id="keyGenerator" class="org.springframework.context.testfixture.cache.SomeKeyGenerator"/>
|
||||
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator"/>
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.testfixture.cache.SomeCustomKeyGenerator"/>
|
||||
|
||||
<bean id="customCacheManager" class="org.springframework.cache.support.SimpleCacheManager">
|
||||
<property name="caches">
|
||||
|
|
|
@ -26,15 +26,15 @@
|
|||
|
||||
<bean id="debugInterceptor" class="org.springframework.aop.interceptor.DebugInterceptor"/>
|
||||
|
||||
<bean id="service" class="org.springframework.context.test.fixtures.cache.beans.DefaultCacheableService"/>
|
||||
<bean id="service" class="org.springframework.context.testfixture.cache.beans.DefaultCacheableService"/>
|
||||
|
||||
<bean id="classService" class="org.springframework.context.test.fixtures.cache.beans.AnnotatedClassCacheableService"/>
|
||||
<bean id="classService" class="org.springframework.context.testfixture.cache.beans.AnnotatedClassCacheableService"/>
|
||||
|
||||
<bean id="keyGenerator" class="org.springframework.context.test.fixtures.cache.SomeKeyGenerator"/>
|
||||
<bean id="keyGenerator" class="org.springframework.context.testfixture.cache.SomeKeyGenerator"/>
|
||||
|
||||
<bean id="errorHandler" class="org.springframework.cache.interceptor.SimpleCacheErrorHandler"/>
|
||||
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator"/>
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.testfixture.cache.SomeCustomKeyGenerator"/>
|
||||
|
||||
<bean id="customCacheManager" class="org.springframework.cache.support.SimpleCacheManager">
|
||||
<property name="caches">
|
||||
|
|
|
@ -112,9 +112,9 @@
|
|||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="keyGenerator" class="org.springframework.context.test.fixtures.cache.SomeKeyGenerator"/>
|
||||
<bean id="keyGenerator" class="org.springframework.context.testfixture.cache.SomeKeyGenerator"/>
|
||||
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.test.fixtures.cache.SomeCustomKeyGenerator"/>
|
||||
<bean id="customKeyGenerator" class="org.springframework.context.testfixture.cache.SomeCustomKeyGenerator"/>
|
||||
|
||||
<bean id="customCacheManager" class="org.springframework.cache.support.SimpleCacheManager">
|
||||
<property name="caches">
|
||||
|
@ -126,7 +126,7 @@
|
|||
|
||||
<bean id="debugInterceptor" class="org.springframework.aop.interceptor.DebugInterceptor"/>
|
||||
|
||||
<bean id="service" class="org.springframework.context.test.fixtures.cache.beans.DefaultCacheableService"/>
|
||||
<bean id="service" class="org.springframework.context.testfixture.cache.beans.DefaultCacheableService"/>
|
||||
|
||||
<bean id="classService" class="org.springframework.context.test.fixtures.cache.beans.AnnotatedClassCacheableService"/>
|
||||
<bean id="classService" class="org.springframework.context.testfixture.cache.beans.AnnotatedClassCacheableService"/>
|
||||
</beans>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<property name="scopes">
|
||||
<map>
|
||||
<entry key="${scopeName}">
|
||||
<bean class="org.springframework.context.test.fixtures.SimpleMapScope"/>
|
||||
<bean class="org.springframework.context.testfixture.SimpleMapScope"/>
|
||||
</entry>
|
||||
</map>
|
||||
</property>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures;
|
||||
package org.springframework.context.testfixture;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
@ -33,9 +33,9 @@ import org.springframework.context.ApplicationContext;
|
|||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.NoSuchMessageException;
|
||||
import org.springframework.context.test.fixtures.beans.ACATester;
|
||||
import org.springframework.context.test.fixtures.beans.BeanThatListens;
|
||||
import org.springframework.context.test.fixtures.beans.TestApplicationListener;
|
||||
import org.springframework.context.testfixture.beans.ACATester;
|
||||
import org.springframework.context.testfixture.beans.BeanThatListens;
|
||||
import org.springframework.context.testfixture.beans.TestApplicationListener;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures;
|
||||
package org.springframework.context.testfixture;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.beans;
|
||||
package org.springframework.context.testfixture.beans;
|
||||
|
||||
import java.util.Locale;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.beans;
|
||||
package org.springframework.context.testfixture.beans;
|
||||
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextAware;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.beans;
|
||||
package org.springframework.context.testfixture.beans;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.beans;
|
||||
package org.springframework.context.testfixture.beans;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.context.ApplicationListener;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache;
|
||||
package org.springframework.context.testfixture.cache;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.UUID;
|
||||
|
@ -28,9 +28,9 @@ import org.springframework.beans.factory.NoSuchBeanDefinitionException;
|
|||
import org.springframework.cache.Cache;
|
||||
import org.springframework.cache.CacheManager;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.test.fixtures.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.CacheableService;
|
||||
import org.springframework.context.test.fixtures.cache.beans.TestEntity;
|
||||
import org.springframework.context.testfixture.cache.beans.AnnotatedClassCacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.CacheableService;
|
||||
import org.springframework.context.testfixture.cache.beans.TestEntity;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache;
|
||||
package org.springframework.context.testfixture.cache;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache;
|
||||
package org.springframework.context.testfixture.cache;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache;
|
||||
package org.springframework.context.testfixture.cache;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache;
|
||||
package org.springframework.context.testfixture.cache;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache;
|
||||
package org.springframework.context.testfixture.cache;
|
||||
|
||||
import org.springframework.cache.interceptor.SimpleKeyGenerator;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache.beans;
|
||||
package org.springframework.context.testfixture.cache.beans;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache.beans;
|
||||
package org.springframework.context.testfixture.cache.beans;
|
||||
|
||||
/**
|
||||
* Basic service interface for caching tests.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache.beans;
|
||||
package org.springframework.context.testfixture.cache.beans;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.cache.beans;
|
||||
package org.springframework.context.testfixture.cache.beans;
|
||||
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.index;
|
||||
package org.springframework.context.testfixture.index;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.jndi;
|
||||
package org.springframework.context.testfixture.jndi;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
@ -24,7 +24,7 @@ import javax.naming.NamingException;
|
|||
import org.springframework.jndi.JndiTemplate;
|
||||
|
||||
/**
|
||||
* Copy of the standard {@link org.springframework.context.test.fixtures.jndi.jndi.ExpectedLookupTemplate}
|
||||
* Copy of the standard {@link org.springframework.context.testfixture.jndi.jndi.ExpectedLookupTemplate}
|
||||
* for testing purposes.
|
||||
*
|
||||
* <p>Simple extension of the JndiTemplate class that always returns a given object.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.jndi;
|
||||
package org.springframework.context.testfixture.jndi;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Hashtable;
|
||||
|
@ -156,7 +156,7 @@ public class SimpleNamingContext implements Context {
|
|||
* Note: Not intended for direct use by applications
|
||||
* if setting up a JVM-level JNDI environment.
|
||||
* Use SimpleNamingContextBuilder to set up JNDI bindings then.
|
||||
* @see org.springframework.context.test.fixtures.jndi.SimpleNamingContextBuilder#bind
|
||||
* @see org.springframework.context.testfixture.jndi.SimpleNamingContextBuilder#bind
|
||||
*/
|
||||
@Override
|
||||
public void bind(String name, Object obj) {
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.context.test.fixtures.jndi;
|
||||
package org.springframework.context.testfixture.jndi;
|
||||
|
||||
import java.util.Hashtable;
|
||||
|
|
@ -18,7 +18,7 @@ package org.springframework.orm.jpa.persistenceunit;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.index.CandidateComponentsTestClassLoader;
|
||||
import org.springframework.context.testfixture.index.CandidateComponentsTestClassLoader;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.core.io.DefaultResourceLoader;
|
||||
import org.springframework.orm.jpa.domain.Person;
|
||||
|
|
|
@ -28,7 +28,7 @@ import javax.sql.DataSource;
|
|||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.jndi.SimpleNamingContextBuilder;
|
||||
import org.springframework.context.testfixture.jndi.SimpleNamingContextBuilder;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.core.io.UrlResource;
|
||||
|
|
|
@ -37,8 +37,8 @@ import org.springframework.beans.factory.FactoryBean;
|
|||
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
|
||||
import org.springframework.beans.factory.support.RootBeanDefinition;
|
||||
import org.springframework.context.support.GenericApplicationContext;
|
||||
import org.springframework.context.test.fixtures.SimpleMapScope;
|
||||
import org.springframework.context.test.fixtures.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.context.testfixture.SimpleMapScope;
|
||||
import org.springframework.context.testfixture.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.core.testfixture.io.SerializationTestUtils;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.orm.jpa.AbstractEntityManagerFactoryBeanTests;
|
||||
|
|
|
@ -23,7 +23,7 @@ import javax.transaction.UserTransaction;
|
|||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.context.testfixture.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.transaction.jta.JtaTransactionManager;
|
||||
import org.springframework.transaction.jta.UserTransactionAdapter;
|
||||
import org.springframework.transaction.support.TransactionCallbackWithoutResult;
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.ibm.wsspi.uow.UOWException;
|
|||
import com.ibm.wsspi.uow.UOWManager;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.context.testfixture.jndi.ExpectedLookupTemplate;
|
||||
import org.springframework.dao.OptimisticLockingFailureException;
|
||||
import org.springframework.transaction.IllegalTransactionStateException;
|
||||
import org.springframework.transaction.NestedTransactionNotSupportedException;
|
||||
|
|
|
@ -21,7 +21,7 @@ import javax.transaction.UserTransaction;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.jndi.SimpleNamingContextBuilder;
|
||||
import org.springframework.context.testfixture.jndi.SimpleNamingContextBuilder;
|
||||
import org.springframework.core.testfixture.io.SerializationTestUtils;
|
||||
import org.springframework.transaction.jta.JtaTransactionManager;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ package org.springframework.web.context.support;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.test.fixtures.jndi.SimpleNamingContextBuilder;
|
||||
import org.springframework.context.testfixture.jndi.SimpleNamingContextBuilder;
|
||||
import org.springframework.core.env.ConfigurableEnvironment;
|
||||
import org.springframework.core.env.MutablePropertySources;
|
||||
import org.springframework.core.env.PropertySource;
|
||||
|
|
|
@ -31,8 +31,8 @@ import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
|||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.NoSuchMessageException;
|
||||
import org.springframework.context.test.fixtures.AbstractApplicationContextTests;
|
||||
import org.springframework.context.test.fixtures.beans.TestApplicationListener;
|
||||
import org.springframework.context.testfixture.AbstractApplicationContextTests;
|
||||
import org.springframework.context.testfixture.beans.TestApplicationListener;
|
||||
import org.springframework.mock.web.test.MockServletContext;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.web.context.support.XmlWebApplicationContext;
|
||||
|
@ -96,7 +96,7 @@ public class XmlWebApplicationContextTests extends AbstractApplicationContextTes
|
|||
|
||||
/**
|
||||
* Overridden as we can't trust superclass method
|
||||
* @see org.springframework.context.test.fixtures.AbstractApplicationContextTests#testEvents()
|
||||
* @see org.springframework.context.testfixture.AbstractApplicationContextTests#testEvents()
|
||||
*/
|
||||
@Override
|
||||
protected void doTestEvents(TestApplicationListener listener, TestApplicationListener parentListener,
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
</bean>
|
||||
-->
|
||||
|
||||
<bean id="beanThatListens" class="org.springframework.context.test.fixtures.beans.BeanThatListens"/>
|
||||
<bean id="beanThatListens" class="org.springframework.context.testfixture.beans.BeanThatListens"/>
|
||||
|
||||
<bean id="parentListener" class="org.springframework.context.test.fixtures.beans.TestApplicationListener"/>
|
||||
<bean id="parentListener" class="org.springframework.context.testfixture.beans.TestApplicationListener"/>
|
||||
|
||||
<!-- Inherited tests -->
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
<beans>
|
||||
|
||||
<bean id="aca" class="org.springframework.context.test.fixtures.beans.ACATester"/>
|
||||
<bean id="aca" class="org.springframework.context.testfixture.beans.ACATester"/>
|
||||
|
||||
<bean id="aca-prototype" class="org.springframework.context.test.fixtures.beans.ACATester" scope="prototype"/>
|
||||
<bean id="aca-prototype" class="org.springframework.context.testfixture.beans.ACATester" scope="prototype"/>
|
||||
|
||||
<bean id="testListener" class="org.springframework.context.test.fixtures.beans.TestApplicationListener"/>
|
||||
<bean id="testListener" class="org.springframework.context.testfixture.beans.TestApplicationListener"/>
|
||||
|
||||
<bean id="roderick" parent="rod">
|
||||
<property name="name"><value>Roderick</value></property>
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
<property name="basenamePrefix"><value>org/springframework/web/context/WEB-INF/test-</value></property>
|
||||
</bean>
|
||||
|
||||
<bean id="aca" class="org.springframework.context.test.fixtures.beans.ACATester"/>
|
||||
<bean id="aca" class="org.springframework.context.testfixture.beans.ACATester"/>
|
||||
|
||||
<bean id="aca-prototype" class="org.springframework.context.test.fixtures.beans.ACATester" scope="prototype"/>
|
||||
<bean id="aca-prototype" class="org.springframework.context.testfixture.beans.ACATester" scope="prototype"/>
|
||||
|
||||
<bean id="rod" class="org.springframework.beans.testfixture.beans.TestBean">
|
||||
<property name="name"><value>Rod</value></property>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<property name="spouse"><ref bean="father"/></property>
|
||||
</bean>
|
||||
|
||||
<bean id="testListener" class="org.springframework.context.test.fixtures.beans.TestApplicationListener"/>
|
||||
<bean id="testListener" class="org.springframework.context.testfixture.beans.TestApplicationListener"/>
|
||||
|
||||
<bean id="roderick" parent="rod">
|
||||
<property name="name"><value>Roderick</value></property>
|
||||
|
|
Loading…
Reference in New Issue