Package org.apache.lucene.tests.util
Class RunListenerPrintReproduceInfo
- java.lang.Object
-
- org.junit.runner.notification.RunListener
-
- org.apache.lucene.tests.util.RunListenerPrintReproduceInfo
-
public final class RunListenerPrintReproduceInfo extends RunListener
A suite listener printing a "reproduce string". This ensures test result events are always captured properly even if exceptions happen at initialization or suite/ hooks level.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener
RunListener.ThreadSafe
-
-
Constructor Summary
Constructors Constructor Description RunListenerPrintReproduceInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestFailure(Failure failure)voidtestFinished(Description description)voidtestRunFinished(Result result)voidtestRunStarted(Description description)voidtestStarted(Description description)-
Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testIgnored, testSuiteFinished, testSuiteStarted
-
-
-
-
Method Detail
-
testRunStarted
public void testRunStarted(Description description) throws Exception
- Overrides:
testRunStartedin classRunListener- Throws:
Exception
-
testStarted
public void testStarted(Description description) throws Exception
- Overrides:
testStartedin classRunListener- Throws:
Exception
-
testFailure
public void testFailure(Failure failure) throws Exception
- Overrides:
testFailurein classRunListener- Throws:
Exception
-
testFinished
public void testFinished(Description description) throws Exception
- Overrides:
testFinishedin classRunListener- Throws:
Exception
-
testRunFinished
public void testRunFinished(Result result) throws Exception
- Overrides:
testRunFinishedin classRunListener- Throws:
Exception
-
-