Class SpringBootDependencyInjectionTestExecutionListener
java.lang.Object
org.springframework.test.context.support.AbstractTestExecutionListener
org.springframework.test.context.support.DependencyInjectionTestExecutionListener
org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener
- All Implemented Interfaces:
Ordered
,TestExecutionListener
@Deprecated(since="3.0.0",
forRemoval=true)
public class SpringBootDependencyInjectionTestExecutionListener
extends DependencyInjectionTestExecutionListener
Deprecated, for removal: This API element is subject to removal in a future version.
Since 3.0.0 this class has been replaced by
ConditionReportApplicationContextFailureProcessor
and is not used internally.- Since:
- 1.4.1
- Author:
- Phillip Webb
-
Field Summary
Fields inherited from class org.springframework.test.context.support.DependencyInjectionTestExecutionListener
REINJECT_DEPENDENCIES_ATTRIBUTE
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
prepareTestInstance
(TestContext testContext) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.test.context.support.DependencyInjectionTestExecutionListener
beforeTestMethod, getOrder, injectDependencies
Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener
afterTestClass, afterTestExecution, afterTestMethod, beforeTestClass, beforeTestExecution
-
Constructor Details
-
SpringBootDependencyInjectionTestExecutionListener
public SpringBootDependencyInjectionTestExecutionListener()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
prepareTestInstance
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
prepareTestInstance
in interfaceTestExecutionListener
- Overrides:
prepareTestInstance
in classDependencyInjectionTestExecutionListener
- Throws:
Exception
-
ApplicationContextFailureProcessor