接口 TestExecutionListenersPostProcessor
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Callback interface trigger from
InfraTestContextBootstrapper 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.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb
- 另请参阅:
-
方法概要
修饰符和类型方法说明postProcessListeners(List<TestExecutionListener> listeners) Post process the list of defaultTestExecutionListenerclasses to be used.
-
方法详细资料
-
postProcessListeners
Post process the list of defaultTestExecutionListenerclasses to be used.- 参数:
listeners- the source listeners- 返回:
- the actual listeners that should be used
-