org.apache.maven.surefire.common.junit4
Class JUnitTestFailureListener

java.lang.Object
  extended by org.junit.runner.notification.RunListener
      extended by org.apache.maven.surefire.common.junit4.JUnitTestFailureListener

public class JUnitTestFailureListener
extends org.junit.runner.notification.RunListener

Test listener to record all the failures during one run

Author:
Qingzhou Luo

Constructor Summary
JUnitTestFailureListener()
           
 
Method Summary
 List<org.junit.runner.notification.Failure> getAllFailures()
           
 void reset()
           
 void testFailure(org.junit.runner.notification.Failure failure)
           
 
Methods inherited from class org.junit.runner.notification.RunListener
testFinished, testIgnored, testRunFinished, testRunStarted, testStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitTestFailureListener

public JUnitTestFailureListener()
Method Detail

testFailure

public void testFailure(org.junit.runner.notification.Failure failure)
                 throws Exception
Overrides:
testFailure in class org.junit.runner.notification.RunListener
Throws:
Exception

getAllFailures

public List<org.junit.runner.notification.Failure> getAllFailures()

reset

public void reset()


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.