クラス DefaultTestContextBootstrapper
java.lang.ObjectSE
org.springframework.test.context.support.AbstractTestContextBootstrapper
org.springframework.test.context.support.DefaultTestContextBootstrapper
- 実装されているすべてのインターフェース:
TestContextBootstrapper
- 既知の直属サブクラス
WebTestContextBootstrapper
TestContextBootstrapper SPI のデフォルト実装。DelegatingSmartContextLoader をデフォルトの ContextLoader として使用します。
- 導入:
- 4.1
- 作成者:
- Sam Brannen
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected ClassSE<? extends ContextLoader>getDefaultContextLoaderClass(ClassSE<?> testClass) DelegatingSmartContextLoaderを返します。クラス org.springframework.test.context.support.AbstractTestContextBootstrapper から継承されたメソッド
buildMergedContextConfiguration, buildTestContext, getBootstrapContext, getCacheAwareContextLoaderDelegate, getContextCustomizerFactories, getDefaultTestExecutionListeners, getTestExecutionListeners, processMergedContextConfiguration, resolveContextLoader, resolveExplicitContextLoaderClass, setBootstrapContext
コンストラクターの詳細
DefaultTestContextBootstrapper
public DefaultTestContextBootstrapper()
メソッドの詳細
getDefaultContextLoaderClass
DelegatingSmartContextLoaderを返します。- 次で指定:
- クラス
AbstractTestContextBootstrapperのgetDefaultContextLoaderClass - パラメーター:
testClass- デフォルトのContextLoaderクラスを取得するテストクラス- 戻り値:
- 指定されたテストクラスのデフォルト
ContextLoaderクラス (非null)