|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.surefire.report.AbstractReporter
org.apache.maven.surefire.report.XMLReporter
public class XMLReporter
XML format reporter.
| Constructor Summary | |
|---|---|
XMLReporter(ReporterConfiguration reporterConfiguration)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.maven.surefire.report.AbstractReporter |
|---|
runCompleted, runStarting, testAssumptionFailure, testError, testFailed, testStarting, writeFooter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLReporter(ReporterConfiguration reporterConfiguration)
| Method Detail |
|---|
public void writeMessage(java.lang.String message)
Reporter
message - The message to write.public void writeDetailMessage(java.lang.String message)
Reporter
message - The message to write
public void testSetStarting(ReportEntry report)
throws ReporterException
Reporter
testSetStarting in interface ReportertestSetStarting in interface ReportWritertestSetStarting in class AbstractReporterreport - the report entry describing the testset
ReporterException - When reporting fails
public void testSetCompleted(ReportEntry report)
throws ReporterException
Reporter
testSetCompleted in interface ReportertestSetCompleted in interface ReportWritertestSetCompleted in class AbstractReporterreport - the report entry describing the testset
ReporterException - When reporting failspublic void testSucceeded(ReportEntry report)
Reporter
testSucceeded in interface ReportertestSucceeded in interface ReportWritertestSucceeded in class AbstractReporterreport - The report entry to log for
public void testError(ReportEntry report,
java.lang.String stdOut,
java.lang.String stdErr)
Reporter
testError 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 case
public void testFailed(ReportEntry report,
java.lang.String stdOut,
java.lang.String stdErr)
Reporter
testFailed 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()
Reporter
reset in interface Reporterreset in interface ReportWriterreset in class AbstractReporter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||