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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener
org.junit.runner.notification.RunListener.ThreadSafe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.junit.runner.notification.Failure>
void
reset()
void
testFailure
(org.junit.runner.notification.Failure failure) Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testFinished, testIgnored, testRunFinished, testRunStarted, testStarted, testSuiteFinished, testSuiteStarted
-
Field Details
-
allFailures
-
-
Constructor Details
-
JUnitTestFailureListener
public JUnitTestFailureListener()
-
-
Method Details
-
testFailure
- Overrides:
testFailure
in classorg.junit.runner.notification.RunListener
- Throws:
Exception
-
getAllFailures
-
reset
public void reset()
-