@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 |
|---|---|
java.util.Set<java.lang.Class<? extends org.springframework.test.context.TestExecutionListener>> |
postProcessDefaultTestExecutionListeners(java.util.Set<java.lang.Class<? extends org.springframework.test.context.TestExecutionListener>> listeners)
Post process the list of default
TestExecutionListener classes to be used. |
java.util.Set<java.lang.Class<? extends org.springframework.test.context.TestExecutionListener>> postProcessDefaultTestExecutionListeners(java.util.Set<java.lang.Class<? extends org.springframework.test.context.TestExecutionListener>> listeners)
TestExecutionListener classes to be used.listeners - the source listeners