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