org.apache.maven.surefire.junitcore
Class DiagnosticRunListener

java.lang.Object
  extended by org.junit.runner.notification.RunListener
      extended by org.apache.maven.surefire.junitcore.DiagnosticRunListener

public class DiagnosticRunListener
extends RunListener


Constructor Summary
DiagnosticRunListener()
           
DiagnosticRunListener(boolean printToConsole)
           
DiagnosticRunListener(boolean printToConsole, RunListener target)
           
 
Method Summary
 AtomicInteger getNumTestAssumptionsFailed()
           
 AtomicInteger getNumTestFailed()
           
 AtomicInteger getNumTestFinished()
           
 AtomicInteger getNumTestIgnored()
           
 AtomicInteger getNumTestStarted()
           
 void testAssumptionFailure(Failure failure)
           
 void testFailure(Failure failure)
           
 void testFinished(Description description)
           
 void testIgnored(Description description)
           
 void testRunFinished(Result result)
           
 void testRunStarted(Description description)
           
 void testStarted(Description description)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiagnosticRunListener

public DiagnosticRunListener(boolean printToConsole,
                             RunListener target)

DiagnosticRunListener

public DiagnosticRunListener(boolean printToConsole)

DiagnosticRunListener

public DiagnosticRunListener()
Method Detail

getNumTestStarted

public AtomicInteger getNumTestStarted()

getNumTestFailed

public AtomicInteger getNumTestFailed()

getNumTestAssumptionsFailed

public AtomicInteger getNumTestAssumptionsFailed()

getNumTestFinished

public AtomicInteger getNumTestFinished()

getNumTestIgnored

public AtomicInteger getNumTestIgnored()

testRunStarted

public void testRunStarted(Description description)
                    throws Exception
Overrides:
testRunStarted in class RunListener
Throws:
Exception

testRunFinished

public void testRunFinished(Result result)
                     throws Exception
Overrides:
testRunFinished in class RunListener
Throws:
Exception

testStarted

public void testStarted(Description description)
                 throws Exception
Overrides:
testStarted in class RunListener
Throws:
Exception

testFinished

public void testFinished(Description description)
                  throws Exception
Overrides:
testFinished in class RunListener
Throws:
Exception

testFailure

public void testFailure(Failure failure)
                 throws Exception
Overrides:
testFailure in class RunListener
Throws:
Exception

testAssumptionFailure

public void testAssumptionFailure(Failure failure)
Overrides:
testAssumptionFailure in class RunListener

testIgnored

public void testIgnored(Description description)
                 throws Exception
Overrides:
testIgnored in class RunListener
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


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