|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RunListener
Used by providers to report results. Using this interface integrates the providers together into a common reporting infrastructure.
An instance of a reporter is not guaranteed to be thread-safe and concurrent test frameworks must request an instance of a reporter per-thread from the ReporterFactory.
Method Summary | |
---|---|
void |
testAssumptionFailure(ReportEntry report)
Event fired when a test assumption failure was encountered. |
void |
testError(ReportEntry report)
Event fired when a test ended with an error (non anticipated problem) |
void |
testFailed(ReportEntry report)
Event fired when a test ended with a failure (anticipated problem) |
void |
testSetCompleted(ReportEntry report)
Indicates end of a given test-set |
void |
testSetStarting(ReportEntry report)
Indicates the start of a given test-set |
void |
testSkipped(ReportEntry report)
Event fired when a test is skipped |
void |
testStarting(ReportEntry report)
Event fired when a test is about to start |
void |
testSucceeded(ReportEntry report)
Event fired when a test ended successfully |
Method Detail |
---|
void testSetStarting(ReportEntry report)
report
- the report entry describing the testset
ReporterException
- When reporting failsvoid testSetCompleted(ReportEntry report)
report
- the report entry describing the testset
ReporterException
- When reporting failsvoid testStarting(ReportEntry report)
report
- The report entry to log forvoid testSucceeded(ReportEntry report)
report
- The report entry to log forvoid testAssumptionFailure(ReportEntry report)
report
- The report entry to log forvoid testError(ReportEntry report)
report
- The report entry to log forvoid testFailed(ReportEntry report)
report
- The report entry to log forvoid testSkipped(ReportEntry report)
report
- The report entry to log for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |