クラスの使用
org.springframework.test.context.TestContextManager
TestContextManager を使用するパッケージ
パッケージ
説明
Spring TestContext フレームワークを JUnit 4.12 以上と統合するためのサポートクラス。
Spring TestContext フレームワークで使用されるカスタム JUnit 4
Statements 。org.springframework.test.context.junit4 内の TestContextManager 使用
修飾子と型メソッド説明protected TestContextManagerSpringJUnit4ClassRunner.createTestContextManager(ClassSE<?> clazz) 提供されたテストクラスの新しいTestContextManagerを作成します。protected final TestContextManagerSpringJUnit4ClassRunner.getTestContextManager()このランナーに関連付けられているTestContextManagerを取得します。org.springframework.test.context.junit4.statements 内の TestContextManager 使用
型 TestContextManager のパラメーターを持つ org.springframework.test.context.junit4.statements のコンストラクター修飾子コンストラクター説明RunAfterTestClassCallbacks(Statement next, TestContextManager testContextManager) 新しいRunAfterTestClassCallbacksステートメントを作成します。RunAfterTestExecutionCallbacks(Statement next, ObjectSE testInstance, MethodSE testMethod, TestContextManager testContextManager) 新しいRunAfterTestExecutionCallbacksステートメントを作成します。RunAfterTestMethodCallbacks(Statement next, ObjectSE testInstance, MethodSE testMethod, TestContextManager testContextManager) 新しいRunAfterTestMethodCallbacksステートメントを作成します。RunBeforeTestClassCallbacks(Statement next, TestContextManager testContextManager) 新しいRunBeforeTestClassCallbacksステートメントを作成します。RunBeforeTestExecutionCallbacks(Statement next, ObjectSE testInstance, MethodSE testMethod, TestContextManager testContextManager) 新しいRunBeforeTestExecutionCallbacksステートメントを作成します。RunBeforeTestMethodCallbacks(Statement next, ObjectSE testInstance, MethodSE testMethod, TestContextManager testContextManager) 新しいRunBeforeTestMethodCallbacksステートメントを作成します。RunPrepareTestInstanceCallbacks(Statement next, ObjectSE testInstance, TestContextManager testContextManager) 新しいRunPrepareTestInstanceCallbacksステートメントを作成します。