Uses of Enum Class
org.springframework.test.annotation.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
Modifier and TypeMethodDescriptionstatic DirtiesContext.ClassMode
Returns 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
Modifier and TypeMethodDescriptionprotected void
AbstractDirtiesContextTestExecutionListener.beforeOrAfterTestClass
(TestContext testContext, DirtiesContext.ClassMode requiredClassMode) Perform the actual work forAbstractTestExecutionListener.beforeTestClass(org.springframework.test.context.TestContext)
andAbstractTestExecutionListener.afterTestClass(org.springframework.test.context.TestContext)
by dirtying the context if appropriate (i.e., according to the required mode).protected 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).