Uses of Class
org.springframework.test.context.ContextConfigurationAttributes
Packages that use 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
Methods in org.springframework.test.context with parameters of type ContextConfigurationAttributesModifier and TypeMethodDescriptionvoid
SmartContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) Process theContextConfigurationAttributes
for a given test class.Method parameters in org.springframework.test.context with type arguments of type ContextConfigurationAttributesModifier 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
Methods in org.springframework.test.context.support with parameters of type ContextConfigurationAttributesModifier 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
.Method parameters in org.springframework.test.context.support with type arguments of type ContextConfigurationAttributesModifier 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
Methods in org.springframework.test.context.web with parameters of type ContextConfigurationAttributesModifier and TypeMethodDescriptionvoid
AnnotationConfigWebContextLoader.processContextConfiguration
(ContextConfigurationAttributes configAttributes) Process annotated classes in the suppliedContextConfigurationAttributes
.