public class XMLReporter extends AbstractReporter
completedCount, errors, failures, NL, skipped, testSetStartTime| Constructor and Description |
|---|
XMLReporter(ReporterConfiguration reporterConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator |
getResults() |
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,
java.lang.String stdOut,
java.lang.String stdErr)
Event fired when a test ended with an error (non anticipated problem)
|
void |
testFailed(ReportEntry report,
java.lang.String stdOut,
java.lang.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 |
testSucceeded(ReportEntry report)
Event fired when a test ended successfully
|
void |
writeDetailMessage(java.lang.String message)
Writes a detailed message that will not necessarily be displayed in all channels.
|
void |
writeMessage(java.lang.String message)
Writes a message that will be displayed in all free-text format reporters.
|
deleteIfExisting, elapsedTimeAsString, getActualRunTime, getNumErrors, getNumFailures, getNumSkipped, getNumTests, getStackTrace, isTimedOut, runCompleted, runStarting, testAssumptionFailure, testError, testFailed, testStarting, writeFooterpublic XMLReporter(ReporterConfiguration reporterConfiguration)
public void writeMessage(java.lang.String message)
Reportermessage - The message to write.public void writeDetailMessage(java.lang.String message)
Reportermessage - The message to writepublic void testSetStarting(ReportEntry report) throws ReporterException
ReportertestSetStarting in interface ReportertestSetStarting in interface ReportWritertestSetStarting in class AbstractReporterreport - the report entry describing the testsetReporterException - When reporting failspublic void testSetCompleted(ReportEntry report) throws ReporterException
ReportertestSetCompleted in interface ReportertestSetCompleted in interface ReportWritertestSetCompleted in class AbstractReporterreport - the report entry describing the testsetReporterException - When reporting failspublic void testSucceeded(ReportEntry report)
ReportertestSucceeded in interface ReportertestSucceeded in interface ReportWritertestSucceeded in class AbstractReporterreport - The report entry to log forpublic void testError(ReportEntry report, java.lang.String stdOut, java.lang.String stdErr)
ReportertestError in interface ReportertestError in interface ReportWritertestError in class AbstractReporterreport - The report entry to log forstdOut - standard output from the test casestdErr - error output from the test casepublic void testFailed(ReportEntry report, java.lang.String stdOut, java.lang.String stdErr)
ReportertestFailed in interface ReportertestFailed in interface ReportWritertestFailed in class AbstractReporterreport - The report entry to log forstdOut - standard output from the test casestdErr - error output from the test casepublic void testSkipped(ReportEntry report)
testSkipped in interface ReportertestSkipped in interface ReportWritertestSkipped in class AbstractReporterpublic java.util.Iterator getResults()
public void reset()
Reporterreset in interface Reporterreset in interface ReportWriterreset in class AbstractReporterCopyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.