Enum クラスの使用箇所
org.springframework.test.annotation.DirtiesContext.MethodMode
パッケージ
説明
アノテーション駆動型テストのクラスをサポートします。
Spring TestContext フレームワークのサポートクラス。
org.springframework.test.annotation 内の DirtiesContext.MethodMode 使用
修飾子と型メソッド説明static DirtiesContext.MethodMode
指定された名前でこのクラスの列挙型定数を返します。static DirtiesContext.MethodMode[]
DirtiesContext.MethodMode.values()
この列挙型クラスの定数を含む配列を、宣言されている順序で返します。org.springframework.test.context.support 内の DirtiesContext.MethodMode 使用
修飾子と型メソッド説明protected void
AbstractDirtiesContextTestExecutionListener.beforeOrAfterTestMethod
(TestContext testContext, DirtiesContext.MethodMode requiredMethodMode, DirtiesContext.ClassMode requiredClassMode) 必要に応じて(つまり、必要なモードに従って)コンテキストをダーティ化することにより、AbstractTestExecutionListener.beforeTestMethod(org.springframework.test.context.TestContext)
およびAbstractTestExecutionListener.afterTestMethod(org.springframework.test.context.TestContext)
の実際の作業を実行します。