Uses of Enum Class
org.springframework.test.annotation.DirtiesContext.HierarchyMode
Packages that use DirtiesContext.HierarchyMode
Package
Description
Support classes for annotation-driven tests.
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 for context caching within the Spring TestContext Framework.
Support classes for the Spring TestContext Framework.
- 
Uses of DirtiesContext.HierarchyMode in org.springframework.test.annotationMethods in org.springframework.test.annotation that return DirtiesContext.HierarchyModeModifier and TypeMethodDescriptionstatic DirtiesContext.HierarchyModeReturns the enum constant of this class with the specified name.static DirtiesContext.HierarchyMode[]DirtiesContext.HierarchyMode.values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Uses of DirtiesContext.HierarchyMode in org.springframework.test.contextMethods in org.springframework.test.context with parameters of type DirtiesContext.HierarchyModeModifier and TypeMethodDescriptionvoidCacheAwareContextLoaderDelegate.closeContext(MergedContextConfiguration mergedConfig, DirtiesContext.HierarchyMode hierarchyMode) Remove the application context for the suppliedMergedContextConfigurationfrom theContextCacheand close it if it is an instance ofConfigurableApplicationContext.voidTestContext.markApplicationContextDirty(DirtiesContext.HierarchyMode hierarchyMode) Call this method to signal that the application context associated with this test context is dirty and should be removed from the context cache.
- 
Uses of DirtiesContext.HierarchyMode in org.springframework.test.context.cacheMethods in org.springframework.test.context.cache with parameters of type DirtiesContext.HierarchyModeModifier and TypeMethodDescriptionvoidDefaultCacheAwareContextLoaderDelegate.closeContext(MergedContextConfiguration mergedConfig, DirtiesContext.HierarchyMode hierarchyMode) voidContextCache.remove(MergedContextConfiguration key, DirtiesContext.HierarchyMode hierarchyMode) Remove the context with the given key from the cache and explicitly close it if it is an instance ofConfigurableApplicationContext.voidDefaultContextCache.remove(MergedContextConfiguration key, DirtiesContext.HierarchyMode hierarchyMode) 
- 
Uses of DirtiesContext.HierarchyMode in org.springframework.test.context.supportMethods in org.springframework.test.context.support with parameters of type DirtiesContext.HierarchyModeModifier and TypeMethodDescriptionprotected voidAbstractDirtiesContextTestExecutionListener.dirtyContext(TestContext testContext, DirtiesContext.HierarchyMode hierarchyMode) Mark the application context of the supplied test context as dirty and setREINJECT_DEPENDENCIES_ATTRIBUTEin the test context totrue.voidDefaultTestContext.markApplicationContextDirty(DirtiesContext.HierarchyMode hierarchyMode) Mark the application context associated with this test context as dirty (i.e., by removing it from the context cache and closing it).