public abstract class StateTrackingTestResultProcessor extends Object implements TestResultProcessor
| Constructor and Description |
|---|
StateTrackingTestResultProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(Object testId,
TestCompleteEvent event)
Notifies this processor that a test has completed execution.
|
protected void |
completed(TestState state) |
void |
failure(Object testId,
Throwable result)
Notifies this processor that a failure has occurred in the given test.
|
protected TestState |
getTestStateFor(Object testId) |
void |
output(Object testId,
TestOutputEvent event)
Notifies this processor that a test has produced some output.
|
protected void |
output(TestDescriptor descriptor,
TestOutputEvent event) |
void |
started(TestDescriptorInternal test,
TestStartEvent event)
Notifies this processor that a test has started execution.
|
protected void |
started(TestState state) |
public final void started(TestDescriptorInternal test, TestStartEvent event)
TestResultProcessorstarted in interface TestResultProcessorpublic final void completed(Object testId, TestCompleteEvent event)
TestResultProcessorcompleted in interface TestResultProcessorpublic final void failure(Object testId, Throwable result)
TestResultProcessorfailure in interface TestResultProcessorpublic final void output(Object testId, TestOutputEvent event)
TestResultProcessoroutput in interface TestResultProcessorprotected void output(TestDescriptor descriptor, TestOutputEvent event)
protected void started(TestState state)
protected void completed(TestState state)
Copyright © 2013. All rights reserved