Enum Class的使用
cn.taketoday.test.annotation.DirtiesContext.MethodMode
程序包
说明
Support classes for annotation-driven tests.
Support classes for the TestContext Framework.
-
cn.taketoday.test.annotation中DirtiesContext.MethodMode的使用
修饰符和类型方法说明static 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. -
cn.taketoday.test.context.support中DirtiesContext.MethodMode的使用
修饰符和类型方法说明protected voidAbstractDirtiesContextTestExecutionListener.beforeOrAfterTestMethod(TestContext testContext, DirtiesContext.MethodMode requiredMethodMode, DirtiesContext.ClassMode requiredClassMode) Perform the actual work forAbstractTestExecutionListener.beforeTestMethod(cn.taketoday.test.context.TestContext)andAbstractTestExecutionListener.afterTestMethod(cn.taketoday.test.context.TestContext)by dirtying the context if appropriate (i.e., according to the required modes).