Uses of Enum Class
org.springframework.test.annotation.DirtiesContext.MethodMode
Packages that use DirtiesContext.MethodMode
Package
Description
Support classes for annotation-driven tests.
Support classes for the Spring TestContext Framework.
-
Uses of DirtiesContext.MethodMode in org.springframework.test.annotation
Subclasses with type arguments of type DirtiesContext.MethodMode in org.springframework.test.annotationModifier and TypeClassDescriptionstatic enumDefines modes which determine how@DirtiesContextis interpreted when used to annotate a test method.Methods in org.springframework.test.annotation that return DirtiesContext.MethodModeModifier and TypeMethodDescriptionstatic DirtiesContext.MethodModeReturns the enum constant of this class with the specified name.static DirtiesContext.MethodMode[]DirtiesContext.MethodMode.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of DirtiesContext.MethodMode in org.springframework.test.context.support
Methods in org.springframework.test.context.support with parameters of type DirtiesContext.MethodModeModifier and TypeMethodDescriptionprotected 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).