パッケージ | 説明 |
---|---|
org.springframework.test.annotation | アノテーション駆動型テストのクラスをサポートします。 |
org.springframework.test.context.support | Spring TestContext フレームワークのサポートクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
static DirtiesContext.MethodMode | DirtiesContext.MethodMode.valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static DirtiesContext.MethodMode[] | DirtiesContext.MethodMode.values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
修飾子と型 | メソッドと説明 |
---|---|
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) の実際の作業を実行します。 |