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:
org.springframework.core.Ordered
,org.springframework.test.context.TestExecutionListener
public class SpringBootDependencyInjectionTestExecutionListener extends org.springframework.test.context.support.DependencyInjectionTestExecutionListener
AlternativeDependencyInjectionTestExecutionListener
prints theConditionEvaluationReport
when the context cannot be prepared.- Since:
- 1.4.1
Constructor Summary
Constructors Constructor Description SpringBootDependencyInjectionTestExecutionListener()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepareTestInstance(org.springframework.test.context.TestContext testContext)
Methods inherited from class org.springframework.test.context.support.DependencyInjectionTestExecutionListener
beforeTestMethod, getOrder, injectDependencies
Constructor Detail
SpringBootDependencyInjectionTestExecutionListener
public SpringBootDependencyInjectionTestExecutionListener()
Method Detail
prepareTestInstance
public void prepareTestInstance(org.springframework.test.context.TestContext testContext) throws Exception
- Specified by:
prepareTestInstance
in interfaceorg.springframework.test.context.TestExecutionListener
- Overrides:
prepareTestInstance
in classorg.springframework.test.context.support.DependencyInjectionTestExecutionListener
- Throws:
Exception