Class ReproduceInfoPrinter
java.lang.Object
org.junit.runner.notification.RunListener
org.opensearch.test.junit.listeners.ReproduceInfoPrinter
public class ReproduceInfoPrinter
extends org.junit.runner.notification.RunListener
A
RunListener that emits a command you can use to re-run a failing test with the failing random seed to
System.err.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classNested 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 TypeMethodDescriptionvoidtestFailure(org.junit.runner.notification.Failure failure) voidtestFinished(org.junit.runner.Description description) voidtestStarted(org.junit.runner.Description description) Methods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testIgnored, testRunFinished, testRunStarted, testSuiteFinished, testSuiteStarted
-
Field Details
-
logger
protected final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
ReproduceInfoPrinter
public ReproduceInfoPrinter()
-
-
Method Details
-
testStarted
-
testFinished
-
testFailure
-