public class LoggingResultProcessor extends Object implements TestResultProcessor
| Constructor and Description |
|---|
LoggingResultProcessor(String prefix,
TestResultProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(Object testId,
TestCompleteEvent event)
Notifies this processor that a test has completed execution.
|
void |
failure(Object testId,
Throwable result)
Notifies this processor that a failure has occurred in the given test.
|
void |
output(Object testId,
TestOutputEvent event)
Notifies this processor that a test has produced some output.
|
void |
started(TestDescriptorInternal test,
TestStartEvent event)
Notifies this processor that a test has started execution.
|
public LoggingResultProcessor(String prefix, TestResultProcessor processor)
public void started(TestDescriptorInternal test, TestStartEvent event)
TestResultProcessorstarted in interface TestResultProcessorpublic void failure(Object testId, Throwable result)
TestResultProcessorfailure in interface TestResultProcessorpublic void completed(Object testId, TestCompleteEvent event)
TestResultProcessorcompleted in interface TestResultProcessorpublic void output(Object testId, TestOutputEvent event)
TestResultProcessoroutput in interface TestResultProcessorCopyright © 2013. All rights reserved