クラス SpringBootDependencyInjectionTestExecutionListener
java.lang.ObjectSE
org.springframework.test.context.support.AbstractTestExecutionListener
org.springframework.test.context.support.DependencyInjectionTestExecutionListener
org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
- 実装されたすべてのインターフェース:
Ordered
,TestExecutionListener
@DeprecatedSE(since="3.0.0",
forRemoval=true)
public class SpringBootDependencyInjectionTestExecutionListener
extends DependencyInjectionTestExecutionListener
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
3.0.0 以降、このクラスは
ConditionReportApplicationContextFailureProcessor
に置き換えられ、内部では使用されません。- 導入:
- 1.4.1
- 作成者:
- Phillip Webb
フィールドサマリー
クラス org.springframework.test.context.support.DependencyInjectionTestExecutionListener から継承されたフィールド
REINJECT_DEPENDENCIES_ATTRIBUTE
インターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターのサマリー
コンストラクターコンストラクター説明非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。メソッドのサマリー
修飾子と型メソッド説明void
prepareTestInstance
(TestContext testContext) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。クラス org.springframework.test.context.support.DependencyInjectionTestExecutionListener から継承されたメソッド
beforeTestMethod, getOrder, injectDependencies
クラス org.springframework.test.context.support.AbstractTestExecutionListener から継承されたメソッド
afterTestClass, afterTestExecution, afterTestMethod, beforeTestClass, beforeTestExecution
コンストラクターの詳細
SpringBootDependencyInjectionTestExecutionListener
public SpringBootDependencyInjectionTestExecutionListener()非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
メソッドの詳細
prepareTestInstance
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。- 次で指定:
- インターフェース
TestExecutionListener
のprepareTestInstance
- オーバーライド:
- クラス
DependencyInjectionTestExecutionListener
のprepareTestInstance
- 例外:
ExceptionSE
ApplicationContextFailureProcessor
を推奨