クラス 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
)