|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.surefire.report.MulticastingReporter
public class MulticastingReporter
A reporter that broadcasts to other reporters
| Constructor Summary | |
|---|---|
MulticastingReporter(List target)
|
|
| Method Summary | |
|---|---|
void |
reset()
Restores the instance of the reporter, making the instance re-usable for a subsequent run in the same thread. |
void |
runCompleted()
Indicates the end of the entire test run Only called on the first provider, and just by the ReporterFactory |
void |
runStarting()
Indicates the start of the entire test run. |
void |
testError(ReportEntry report)
Event fired when a test ended with an error (non anticipated problem) |
void |
testError(ReportEntry report,
String stdOut,
String stdErr)
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 |
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 |
writeDetailMessage(String message)
Writes a detailed message that will not necessarily be displayed in all channels. |
void |
writeFooter(String footer)
|
void |
writeMessage(String message)
Writes a message that will be displayed in all free-text format reporters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MulticastingReporter(List target)
| Method Detail |
|---|
public void testSetStarting(ReportEntry report)
throws ReporterException
Reporter
testSetStarting in interface Reporterreport - the report entry describing the testset
ReporterException - When reporting failspublic void testSetCompleted(ReportEntry report)
Reporter
testSetCompleted in interface Reporterreport - the report entry describing the testsetpublic void runStarting()
RunReporter
runStarting in interface RunReporterpublic void runCompleted()
RunReporter
runCompleted in interface RunReporterpublic void testStarting(ReportEntry report)
Reporter
testStarting in interface Reporterreport - The report entry to log forpublic void testSucceeded(ReportEntry report)
Reporter
testSucceeded in interface Reporterreport - The report entry to log for
public void testError(ReportEntry report,
String stdOut,
String stdErr)
Reporter
testError in interface Reporterreport - The report entry to log forstdOut - standard output from the test casestdErr - error output from the test case
public void testFailed(ReportEntry report,
String stdOut,
String stdErr)
Reporter
testFailed in interface Reporterreport - 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 Reporterpublic void writeDetailMessage(String message)
Reporter
writeDetailMessage in interface Reportermessage - The message to writepublic void writeMessage(String message)
Reporter
writeMessage in interface Reportermessage - The message to write.public void writeFooter(String footer)
writeFooter in interface Reporterpublic void reset()
Reporter
reset in interface Reporterpublic void testError(ReportEntry report)
Reporter
testError in interface Reporterreport - The report entry to log forpublic void testFailed(ReportEntry report)
Reporter
testFailed in interface Reporterreport - The report entry to log for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||