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.
@FunctionalInterface public interface DefaultTestExecutionListenersPostProcessor
Callback interface trigger fromSpringBootTestContextBootstrapper
that can be used to post-process the list of defaultTestExecutionListener
classes to be used by a test. Can be used to add or remove existing listener classes.- Since:
- 1.4.1
- See Also:
SpringBootTest
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Class<? extends org.springframework.test.context.TestExecutionListener>>
postProcessDefaultTestExecutionListeners(Set<Class<? extends org.springframework.test.context.TestExecutionListener>> listeners)
Post process the list of defaultTestExecutionListener
classes to be used.
Method Detail
postProcessDefaultTestExecutionListeners
Set<Class<? extends org.springframework.test.context.TestExecutionListener>> postProcessDefaultTestExecutionListeners(Set<Class<? extends org.springframework.test.context.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