class StackTracePruningEngineExecutionListener extends DelegatingEngineExecutionListener
ExceptionUtils.pruneStackTrace(Throwable, List)NOOP| Constructor and Description |
|---|
StackTracePruningEngineExecutionListener(EngineExecutionListener delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
executionFinished(TestDescriptor testDescriptor,
TestExecutionResult testExecutionResult)
Must be called when the execution of a leaf or subtree of the test tree
has finished, regardless of the outcome.
|
private static java.util.List<java.lang.String> |
getTestClassNames(TestDescriptor testDescriptor) |
dynamicTestRegistered, executionSkipped, executionStarted, reportingEntryPublishedStackTracePruningEngineExecutionListener(EngineExecutionListener delegate)
public void executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult)
EngineExecutionListenerThe TestDescriptor may represent a test or a container.
This method may only be called if the test or container has not been skipped.
This method must be called for a container TestIdentifier
after all of its children have been
skipped or have
finished.
The TestExecutionResult describes the result of the execution
for the supplied testDescriptor. The result does not include or
aggregate the results of its children. For example, a container with a
failing test must be reported as SUCCESSFUL even
if one or more of its children are reported as FAILED.
executionFinished in interface EngineExecutionListenerexecutionFinished in class DelegatingEngineExecutionListenertestDescriptor - the descriptor of the finished test or containertestExecutionResult - the (unaggregated) result of the execution for
the supplied TestDescriptorTestExecutionResultprivate static java.util.List<java.lang.String> getTestClassNames(TestDescriptor testDescriptor)