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 void
testFailure(Failure failure)
void
testFinished(Description description)
void
testRunFinished(Result result)
void
testRunStarted(Description description)
void
testStarted(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:
testRunStarted
in classRunListener
- Throws:
Exception
-
testStarted
public void testStarted(Description description) throws Exception
- Overrides:
testStarted
in classRunListener
- Throws:
Exception
-
testFailure
public void testFailure(Failure failure) throws Exception
- Overrides:
testFailure
in classRunListener
- Throws:
Exception
-
testFinished
public void testFinished(Description description) throws Exception
- Overrides:
testFinished
in classRunListener
- Throws:
Exception
-
testRunFinished
public void testRunFinished(Result result) throws Exception
- Overrides:
testRunFinished
in classRunListener
- Throws:
Exception
-
-