| 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.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 |
|---|---|
void |
SmartContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes)
Processes the
ContextConfigurationAttributes for a given test class. |
| Modifier and Type | Method and Description |
|---|---|
ContextCustomizer |
ContextCustomizerFactory.createContextCustomizer(Class<?> testClass,
List<ContextConfigurationAttributes> configAttributes)
Create a
ContextCustomizer that should be used to customize a
ConfigurableApplicationContext
before it is refreshed. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDelegatingSmartContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes)
Delegates to candidate
SmartContextLoaders to process the supplied
ContextConfigurationAttributes. |
void |
AbstractContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes)
For backwards compatibility with the
ContextLoader SPI, the
default implementation simply delegates to AbstractContextLoader.processLocations(Class, String...),
passing it the declaring class and resource locations retrieved from the supplied
configuration attributes. |
void |
AnnotationConfigContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes)
Process component classes in the supplied
ContextConfigurationAttributes. |
| Modifier and Type | Method and Description |
|---|---|
protected ContextLoader |
AbstractTestContextBootstrapper.resolveContextLoader(Class<?> testClass,
List<ContextConfigurationAttributes> configAttributesList)
Resolve the
ContextLoader class to use for the
supplied list of ContextConfigurationAttributes and then instantiate
and return that ContextLoader. |
protected Class<? extends ContextLoader> |
AbstractTestContextBootstrapper.resolveExplicitContextLoaderClass(List<ContextConfigurationAttributes> configAttributesList)
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationConfigWebContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes)
Process annotated classes in the supplied
ContextConfigurationAttributes. |