org.apache.maven.surefire.junitcore
Class ConcurrentReporterManager

java.lang.Object
  extended by org.apache.maven.surefire.junitcore.ConcurrentReporterManager
All Implemented Interfaces:
RunListener
Direct Known Subclasses:
ClassesParallelRunListener, MethodsParallelRunListener

public abstract class ConcurrentReporterManager
extends Object
implements RunListener

Author:
Kristian Rosenvold

Method Summary
protected abstract  void checkIfTestSetCanBeReported(TestSet testSetForTest)
           
static ConcurrentReporterManager createInstance(Map<String,TestSet> classMethodCounts, ReporterFactory reporterManagerFactory, ReporterConfiguration reporterConfiguration, boolean parallelClasses, boolean parallelBoth)
           
 void testAssumptionFailure(ReportEntry failure)
           
 void testError(ReportEntry failure)
           
 void testFailed(ReportEntry failure)
           
 void testSetCompleted(ReportEntry result)
           
 void testSetStarting(ReportEntry description)
           
 void testSkipped(ReportEntry description)
           
 void testStarting(ReportEntry description)
           
 void testSucceeded(ReportEntry report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

testSetStarting

public void testSetStarting(ReportEntry description)
Specified by:
testSetStarting in interface RunListener

testSetCompleted

public void testSetCompleted(ReportEntry result)
                      throws ReporterException
Specified by:
testSetCompleted in interface RunListener
Throws:
ReporterException

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,
                                                       ReporterConfiguration reporterConfiguration,
                                                       boolean parallelClasses,
                                                       boolean parallelBoth)
                                                throws TestSetFailedException
Throws:
TestSetFailedException


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.