Package org.apache.lucene.tests.util
Class FailureMarker
java.lang.Object
org.junit.runner.notification.RunListener
org.apache.lucene.tests.util.FailureMarker
A
RunListener
that detects suite/ test failures. We need it because failures due to
thread leaks happen outside of any rule contexts.-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener
RunListener.ThreadSafe
-
Constructor Summary
-
Method Summary
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testFinished, testIgnored, testRunFinished, testRunStarted, testStarted, testSuiteFinished, testSuiteStarted
-
Constructor Details
-
FailureMarker
public FailureMarker()
-
-
Method Details
-
testFailure
- Overrides:
testFailure
in classRunListener
- Throws:
Exception
-
hadFailures
public static boolean hadFailures() -
resetFailures
public static void resetFailures()
-