|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.surefire.junitcore.ConcurrentReporterManager
public abstract class ConcurrentReporterManager
| Method Summary | |
|---|---|
protected abstract void |
checkIfTestSetCanBeReported(TestSet testSetForTest)
|
static ConcurrentReporterManager |
createInstance(Map<String,TestSet> classMethodCounts,
ReporterFactory reporterManagerFactory,
boolean parallelClasses,
boolean parallelBoth,
ConsoleLogger consoleLogger)
|
void |
testAssumptionFailure(ReportEntry failure)
Event fired when a test assumption failure was encountered. |
void |
testError(ReportEntry failure)
Event fired when a test ended with an error (non anticipated problem) |
void |
testFailed(ReportEntry failure)
Event fired when a test ended with a failure (anticipated problem) |
void |
testSetCompleted(ReportEntry result)
Indicates end of a given test-set |
void |
testSetStarting(ReportEntry description)
Indicates the start of a given test-set |
void |
testSkipped(ReportEntry description)
Event fired when a test is skipped |
void |
testStarting(ReportEntry description)
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 |
| Method Detail |
|---|
public void testSetStarting(ReportEntry description)
RunListener
testSetStarting in interface RunListenerdescription - the report entry describing the testsetpublic void testSetCompleted(ReportEntry result)
RunListener
testSetCompleted in interface RunListenerresult - the report entry describing the testsetpublic void testFailed(ReportEntry failure)
RunListener
testFailed in interface RunListenerfailure - The report entry to log forpublic void testError(ReportEntry failure)
RunListener
testError in interface RunListenerfailure - The report entry to log forpublic void testSkipped(ReportEntry description)
RunListener
testSkipped in interface RunListenerdescription - The report entry to log forpublic void testAssumptionFailure(ReportEntry failure)
RunListener
testAssumptionFailure in interface RunListenerfailure - The report entry to log forpublic void testStarting(ReportEntry description)
RunListener
testStarting in interface RunListenerdescription - The report entry to log forpublic void testSucceeded(ReportEntry report)
RunListener
testSucceeded in interface RunListenerreport - The report entry to log forprotected abstract void checkIfTestSetCanBeReported(TestSet testSetForTest)
public static ConcurrentReporterManager createInstance(Map<String,TestSet> classMethodCounts,
ReporterFactory reporterManagerFactory,
boolean parallelClasses,
boolean parallelBoth,
ConsoleLogger consoleLogger)
throws TestSetFailedException
TestSetFailedException
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 stdout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||