Interface DefaultTestExecutionListenersPostProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface trigger from
SpringBootTestContextBootstrapper
that can be
used to post-process the list of default TestExecutionListener
classes to be
used by a test. Can be used to add or remove existing listener classes.- Since:
- 1.4.1
- Author:
- Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSet<Class<? extends TestExecutionListener>>
postProcessDefaultTestExecutionListeners
(Set<Class<? extends TestExecutionListener>> listeners) Post process the list of defaultTestExecutionListener
classes to be used.
-
Method Details
-
postProcessDefaultTestExecutionListeners
Set<Class<? extends TestExecutionListener>> postProcessDefaultTestExecutionListeners(Set<Class<? extends TestExecutionListener>> listeners) Post process the list of defaultTestExecutionListener
classes to be used.- Parameters:
listeners
- the source listeners- Returns:
- the actual listeners that should be used
-