Package | Description |
---|---|
org.springframework.test.context |
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
|
org.springframework.test.context.cache |
Support for context caching within the Spring TestContext Framework.
|
org.springframework.test.context.support |
Support classes for the Spring TestContext Framework.
|
org.springframework.test.context.web |
Web support classes for the Spring TestContext Framework.
|
Modifier and Type | Method and Description |
---|---|
CacheAwareContextLoaderDelegate |
BootstrapContext.getCacheAwareContextLoaderDelegate()
Get the
CacheAwareContextLoaderDelegate to use for transparent
interaction with the ContextCache . |
Constructor and Description |
---|
MergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
ContextLoader contextLoader,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
MergedContextConfiguration parent)
Create a new
MergedContextConfiguration instance for the
supplied parameters. |
MergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
java.lang.String[] propertySourceLocations,
java.lang.String[] propertySourceProperties,
ContextLoader contextLoader,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
MergedContextConfiguration parent)
Create a new
MergedContextConfiguration instance for the
supplied parameters. |
MergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
java.lang.String[] propertySourceLocations,
java.lang.String[] propertySourceProperties,
java.util.Set<ContextCustomizer> contextCustomizers,
ContextLoader contextLoader,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
MergedContextConfiguration parent)
Create a new
MergedContextConfiguration instance for the
supplied parameters. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCacheAwareContextLoaderDelegate
Default implementation of the
CacheAwareContextLoaderDelegate interface. |
Modifier and Type | Method and Description |
---|---|
CacheAwareContextLoaderDelegate |
DefaultBootstrapContext.getCacheAwareContextLoaderDelegate()
Get the
CacheAwareContextLoaderDelegate to use for transparent
interaction with the ContextCache . |
protected CacheAwareContextLoaderDelegate |
AbstractTestContextBootstrapper.getCacheAwareContextLoaderDelegate()
Get the
CacheAwareContextLoaderDelegate to use for transparent
interaction with the ContextCache . |
Constructor and Description |
---|
DefaultBootstrapContext(java.lang.Class<?> testClass,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)
Construct a new
DefaultBootstrapContext from the supplied arguments. |
DefaultTestContext(java.lang.Class<?> testClass,
MergedContextConfiguration mergedContextConfiguration,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)
Construct a new
DefaultTestContext from the supplied arguments. |
Constructor and Description |
---|
WebMergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
java.lang.String[] propertySourceLocations,
java.lang.String[] propertySourceProperties,
java.util.Set<ContextCustomizer> contextCustomizers,
java.lang.String resourceBasePath,
ContextLoader contextLoader,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
MergedContextConfiguration parent)
Create a new
WebMergedContextConfiguration instance for the
supplied parameters. |
WebMergedContextConfiguration(java.lang.Class<?> testClass,
java.lang.String[] locations,
java.lang.Class<?>[] classes,
java.util.Set<java.lang.Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses,
java.lang.String[] activeProfiles,
java.lang.String[] propertySourceLocations,
java.lang.String[] propertySourceProperties,
java.lang.String resourceBasePath,
ContextLoader contextLoader,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate,
MergedContextConfiguration parent)
Create a new
WebMergedContextConfiguration instance for the
supplied parameters. |