Class ReproduceInfoPrinter

java.lang.Object
org.junit.runner.notification.RunListener
com.carrotsearch.randomizedtesting.listeners.ReproduceInfoPrinter

public class ReproduceInfoPrinter extends org.junit.runner.notification.RunListener
A RunListener that emits to System.err a string with command line parameters allowing quick test re-run under ANT command line.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener

    org.junit.runner.notification.RunListener.ThreadSafe
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReproduceInfoPrinter

      public ReproduceInfoPrinter()
  • Method Details

    • testFailure

      public void testFailure(org.junit.runner.notification.Failure failure) throws Exception
      Overrides:
      testFailure in class org.junit.runner.notification.RunListener
      Throws:
      Exception