Uses of Enum Class
org.springframework.test.annotation.DirtiesContext.ClassMode
Packages that use DirtiesContext.ClassMode
Package
Description
Support classes for annotation-driven tests.
Support classes for the Spring TestContext Framework.
-
Uses of DirtiesContext.ClassMode in org.springframework.test.annotation
Subclasses with type arguments of type DirtiesContext.ClassMode in org.springframework.test.annotationModifier and TypeClassDescriptionstatic enumDefines modes which determine how@DirtiesContextis interpreted when used to annotate a test class.Methods in org.springframework.test.annotation that return DirtiesContext.ClassModeModifier and TypeMethodDescriptionstatic DirtiesContext.ClassModeReturns the enum constant of this class with the specified name.static DirtiesContext.ClassMode[]DirtiesContext.ClassMode.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of DirtiesContext.ClassMode in org.springframework.test.context.support
Methods in org.springframework.test.context.support with parameters of type DirtiesContext.ClassModeModifier and TypeMethodDescriptionprotected voidAbstractDirtiesContextTestExecutionListener.beforeOrAfterTestClass(TestContext testContext, DirtiesContext.ClassMode requiredClassMode) Perform the actual work forAbstractTestExecutionListener.beforeTestClass(TestContext)andAbstractTestExecutionListener.afterTestClass(TestContext)by dirtying the context if appropriate (i.e., according to the required mode).protected voidAbstractDirtiesContextTestExecutionListener.beforeOrAfterTestMethod(TestContext testContext, DirtiesContext.MethodMode requiredMethodMode, DirtiesContext.ClassMode requiredClassMode) Perform the actual work forAbstractTestExecutionListener.beforeTestMethod(TestContext)andAbstractTestExecutionListener.afterTestMethod(TestContext)by dirtying the context if appropriate (i.e., according to the required modes).