org.apache.maven.surefire.junitcore
Class ConcurrentReporterManager
java.lang.Object
org.apache.maven.surefire.junitcore.ConcurrentReporterManager
- All Implemented Interfaces:
- ConsoleOutputReceiver, RunListener
- Direct Known Subclasses:
- ClassesParallelRunListener, MethodsParallelRunListener
public abstract class ConcurrentReporterManager
- extends Object
- implements RunListener, ConsoleOutputReceiver
- Author:
- Kristian Rosenvold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testSetStarting
public void testSetStarting(ReportEntry description)
- Specified by:
testSetStarting
in interface RunListener
testSetCompleted
public void testSetCompleted(ReportEntry result)
- Specified by:
testSetCompleted
in interface RunListener
testFailed
public void testFailed(ReportEntry failure)
- Specified by:
testFailed
in interface RunListener
testError
public void testError(ReportEntry failure)
- Specified by:
testError
in interface RunListener
testSkipped
public void testSkipped(ReportEntry description)
- Specified by:
testSkipped
in interface RunListener
testAssumptionFailure
public void testAssumptionFailure(ReportEntry failure)
- Specified by:
testAssumptionFailure
in interface RunListener
testStarting
public void testStarting(ReportEntry description)
- Specified by:
testStarting
in interface RunListener
testSucceeded
public void testSucceeded(ReportEntry report)
- Specified by:
testSucceeded
in interface RunListener
checkIfTestSetCanBeReported
protected abstract void checkIfTestSetCanBeReported(TestSet testSetForTest)
createInstance
public static ConcurrentReporterManager createInstance(Map<String,TestSet> classMethodCounts,
ReporterFactory reporterManagerFactory,
boolean parallelClasses,
boolean parallelBoth,
ConsoleLogger consoleLogger)
throws TestSetFailedException
- Throws:
TestSetFailedException
writeTestOutput
public void writeTestOutput(byte[] buf,
int off,
int len,
boolean stdout)
- Specified by:
writeTestOutput
in interface ConsoleOutputReceiver
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.