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
public class SpringBootDependencyInjectionTestExecutionListener
extends DependencyInjectionTestExecutionListener
Alternative
DependencyInjectionTestExecutionListener
prints the
ConditionEvaluationReport
when the context cannot be prepared.- 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
-
Method Summary
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()
-
-
Method Details
-
prepareTestInstance
- Specified by:
prepareTestInstance
in interfaceTestExecutionListener
- Overrides:
prepareTestInstance
in classDependencyInjectionTestExecutionListener
- Throws:
Exception
-