Class NilMinimalCounterexampleHook

java.lang.Object
com.pholser.junit.quickcheck.hook.NilMinimalCounterexampleHook
All Implemented Interfaces:
MinimalCounterexampleHook

public class NilMinimalCounterexampleHook extends Object implements MinimalCounterexampleHook
Counterexample hook that does nothing.
  • Constructor Details

    • NilMinimalCounterexampleHook

      public NilMinimalCounterexampleHook()
  • Method Details

    • handle

      public void handle(Object[] counterexample, Runnable action)
      Specified by:
      handle in interface MinimalCounterexampleHook
      Parameters:
      counterexample - the minimal counterexample (after shrinking)
      action - work to perform with the minimal counterexample; for example, this could repeat the test using the same inputs. This action should be safely callable multiple times.