public class TestClassExecutionEventGenerator extends Object implements TestResultProcessor, TestClassExecutionListener
| Constructor and Description |
|---|
TestClassExecutionEventGenerator(TestResultProcessor resultProcessor,
IdGenerator<?> idGenerator,
TimeProvider timeProvider) |
| 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.
|
void |
testClassFinished(Throwable failure) |
void |
testClassStarted(String testClassName) |
public TestClassExecutionEventGenerator(TestResultProcessor resultProcessor, IdGenerator<?> idGenerator, TimeProvider timeProvider)
public void testClassStarted(String testClassName)
testClassStarted in interface TestClassExecutionListenerpublic void testClassFinished(Throwable failure)
testClassFinished in interface TestClassExecutionListenerpublic void started(TestDescriptorInternal test, TestStartEvent event)
TestResultProcessorstarted in interface TestResultProcessorpublic void completed(Object testId, TestCompleteEvent event)
TestResultProcessorcompleted in interface TestResultProcessorpublic void output(Object testId, TestOutputEvent event)
TestResultProcessoroutput in interface TestResultProcessorpublic void failure(Object testId, Throwable result)
TestResultProcessorfailure in interface TestResultProcessorCopyright © 2013. All rights reserved