org.apache.maven.surefire.common.junit4
Class JUnitTestFailureListener
java.lang.Object
org.junit.runner.notification.RunListener
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
| 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 |
JUnitTestFailureListener
public JUnitTestFailureListener()
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.