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 @Deprecated(since="3.0.0", forRemoval=true) public interface DefaultTestExecutionListenersPostProcessor
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.0.0 removal in 3.2.0 in favor of ApplicationContextFailureProcessor
Callback interface trigger from SpringBootTestContextBootstrapper that can be used to post-process the list of default TestExecutionListeners to be used by a test. Can be used to add or remove existing listeners.
Since:
1.4.1
Author:
Phillip Webb
  • Method Details

    • postProcessDefaultTestExecutionListeners

      List<TestExecutionListener> postProcessDefaultTestExecutionListeners(List<TestExecutionListener> listeners)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Post process the list of default listeners to be used.
      Parameters:
      listeners - the source listeners
      Returns:
      the actual listeners that should be used
      Since:
      3.0.0