|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.surefire.report.AsynchRunListener
public class AsynchRunListener
Transfers further processing of the request to a different thread, returning immediately to calling code. Deals with system.out/err from single-threaded processes.
| Constructor Summary | |
|---|---|
AsynchRunListener(RunListener target,
java.lang.String role)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
info(java.lang.String message)
|
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 |
void |
writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout)
Forwards process output from the running test-case into the reporting system |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsynchRunListener(RunListener target,
java.lang.String role)
| Method Detail |
|---|
public void testSetStarting(ReportEntry report)
RunListener
testSetStarting in interface RunListenerreport - the report entry describing the testsetpublic void testSetCompleted(ReportEntry report)
RunListener
testSetCompleted in interface RunListenerreport - the report entry describing the testsetpublic void testStarting(ReportEntry report)
RunListener
testStarting in interface RunListenerreport - The report entry to log forpublic void testSucceeded(ReportEntry report)
RunListener
testSucceeded in interface RunListenerreport - The report entry to log forpublic void testAssumptionFailure(ReportEntry report)
RunListener
testAssumptionFailure in interface RunListenerreport - The report entry to log forpublic void testError(ReportEntry report)
RunListener
testError in interface RunListenerreport - The report entry to log forpublic void testFailed(ReportEntry report)
RunListener
testFailed in interface RunListenerreport - The report entry to log forpublic void testSkipped(ReportEntry report)
RunListener
testSkipped in interface RunListenerreport - The report entry to log for
public void writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout)
ConsoleOutputReceiver
writeTestOutput in interface ConsoleOutputReceiverbuf - the buffer to writeoff - offsetlen - lenstdout - Indicates if this is stdoutpublic void info(java.lang.String message)
info in interface ConsoleLogger
public void close()
throws ReporterException
ReporterException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||