インターフェースの使用
org.springframework.test.context.TestContextBootstrapper
TestContextBootstrapper を使用するパッケージ
パッケージ
説明
このパッケージには Spring TestContext フレームワークが含まれており、使用中の実際のテストフレームワークにとらわれないアノテーション駆動型ユニットおよび統合テストのサポートを提供します。
Spring TestContext フレームワークのサポートクラス。
Web は、Spring TestContext フレームワークのクラスをサポートします。
org.springframework.test.context 内の TestContextBootstrapper 使用
修飾子と型メソッド説明static TestContextBootstrapperBootstrapUtils.resolveTestContextBootstrapper(ClassSE<?> testClass) デフォルトのBootstrapContextを使用して提供されたテストクラスのTestContextBootstrapper型を解決し、ブートストラップをインスタンス化し、それにBootstrapContextへの参照を提供します。型 TestContextBootstrapper のパラメーターを持つ org.springframework.test.context のコンストラクターorg.springframework.test.context.support 内の TestContextBootstrapper 使用
修飾子と型クラス説明classブートストラップに必要なほとんどの動作を提供するTestContextBootstrapperインターフェースの抽象的な実装。classTestContextBootstrapperSPI のデフォルト実装。org.springframework.test.context.web 内の TestContextBootstrapper 使用