Uses of Enum Class
org.springframework.test.annotation.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
Modifier 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
Modifier 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).