Uses of Class
org.springframework.test.context.ContextConfigurationAttributes
Package
Description
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.
Support classes for the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
-
Uses of ContextConfigurationAttributes in org.springframework.test.context
Modifier and TypeMethodDescriptionvoid
SmartContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) Process theContextConfigurationAttributes
for a given test class.Modifier and TypeMethodDescriptionContextCustomizerFactory.createContextCustomizer
(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes) Create aContextCustomizer
that should be used to customize aConfigurableApplicationContext
before it is refreshed. -
Uses of ContextConfigurationAttributes in org.springframework.test.context.support
Modifier and TypeMethodDescriptionvoid
AbstractContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) The default implementation processes locations analogous toAbstractContextLoader.processLocations(Class, String...)
, using thedeclaring class
as the test class and theresource locations
retrieved from the suppliedconfiguration attributes
as the locations to process.void
AbstractDelegatingSmartContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) Delegates to candidateSmartContextLoaders
to process the suppliedContextConfigurationAttributes
.void
AnnotationConfigContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) Process component classes in the suppliedContextConfigurationAttributes
.Modifier and TypeMethodDescriptionprotected ContextLoader
AbstractTestContextBootstrapper.resolveContextLoader
(Class<?> testClass, List<ContextConfigurationAttributes> configAttributesList) Resolve theContextLoader
class to use for the supplied list ofContextConfigurationAttributes
and then instantiate and return thatContextLoader
.protected Class<? extends ContextLoader>
AbstractTestContextBootstrapper.resolveExplicitContextLoaderClass
(List<ContextConfigurationAttributes> configAttributesList) -
Uses of ContextConfigurationAttributes in org.springframework.test.context.web
Modifier and TypeMethodDescriptionvoid
AnnotationConfigWebContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) Process annotated classes in the suppliedContextConfigurationAttributes
.