@FunctionalInterface public interface DefaultTestExecutionListenersPostProcessor
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.SpringBootTest
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends TestExecutionListener>> |
postProcessDefaultTestExecutionListeners(Set<Class<? extends TestExecutionListener>> listeners)
Post process the list of default
TestExecutionListener classes to be used. |
Set<Class<? extends TestExecutionListener>> postProcessDefaultTestExecutionListeners(Set<Class<? extends TestExecutionListener>> listeners)
TestExecutionListener
classes to be used.listeners
- the source listeners