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
Methods in org.springframework.test.annotation that return DirtiesContext.MethodModeModifier and TypeMethodDescriptionstatic DirtiesContext.MethodMode
Returns 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 void
AbstractDirtiesContextTestExecutionListener.beforeOrAfterTestMethod
(TestContext testContext, DirtiesContext.MethodMode requiredMethodMode, DirtiesContext.ClassMode requiredClassMode) Perform the actual work forAbstractTestExecutionListener.beforeTestMethod(org.springframework.test.context.TestContext)
andAbstractTestExecutionListener.afterTestMethod(org.springframework.test.context.TestContext)
by dirtying the context if appropriate (i.e., according to the required modes).