public interface Reporter
Modifier and Type | Method and Description |
---|---|
void |
reset()
Restores the instance of the reporter, making the instance re-usable for a subsequent run in the
same thread.
|
void |
testError(ReportEntry report,
String stdOut,
String stdErr)
Event fired when a test ended with an error (non anticipated problem)
|
void |
testFailed(ReportEntry report,
String stdOut,
String stdErr)
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) |
void |
testStarting(ReportEntry report)
Event fired when a test is about to start
|
void |
testSucceeded(ReportEntry report)
Event fired when a test ended successfully
|
void |
writeMessage(byte[] b,
int off,
int len) |
void |
writeMessage(String message)
Writes a message that will be displayed in all free-text format reporters.
|
void testSetStarting(ReportEntry report) throws ReporterException
report
- the report entry describing the testsetReporterException
- When reporting failsvoid testSetCompleted(ReportEntry report) throws ReporterException
report
- the report entry describing the testsetReporterException
- When reporting failsvoid testStarting(ReportEntry report)
report
- The report entry to log forvoid testSucceeded(ReportEntry report)
report
- The report entry to log forvoid testSkipped(ReportEntry report)
void testError(ReportEntry report, String stdOut, String stdErr)
report
- The report entry to log forstdOut
- standard output from the test casestdErr
- error output from the test casevoid testFailed(ReportEntry report, String stdOut, String stdErr)
report
- The report entry to log forstdOut
- standard output from the test casestdErr
- error output from the test casevoid writeMessage(String message)
message
- The message to write.void writeMessage(byte[] b, int off, int len)
void reset()
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.