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 TypeMethodDescriptionvoidSmartContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes) Process theContextConfigurationAttributesfor 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 aContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore 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 TypeMethodDescriptionvoidAbstractContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes) The default implementation processes locations analogous toAbstractContextLoader.processLocations(Class, String...), using thedeclaring classas the test class and theresource locationsretrieved from the suppliedconfiguration attributesas the locations to process.voidAbstractDelegatingSmartContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes) Delegates to candidateSmartContextLoadersto process the suppliedContextConfigurationAttributes.voidAnnotationConfigContextLoader.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 ContextLoaderAbstractTestContextBootstrapper.resolveContextLoader(Class<?> testClass, List<ContextConfigurationAttributes> configAttributesList) Resolve theContextLoaderclass to use for the supplied list ofContextConfigurationAttributesand 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 TypeMethodDescriptionvoidAnnotationConfigWebContextLoader.processContextConfiguration(ContextConfigurationAttributes configAttributes) Process annotated classes in the suppliedContextConfigurationAttributes.