Package randoop.main

Enum Class GenInputsAbstract.FlakyTestAction

java.lang.Object
java.lang.Enum<GenInputsAbstract.FlakyTestAction>
randoop.main.GenInputsAbstract.FlakyTestAction
All Implemented Interfaces:
Serializable, Comparable<GenInputsAbstract.FlakyTestAction>, Constable
Enclosing class:
GenInputsAbstract

public static enum GenInputsAbstract.FlakyTestAction extends Enum<GenInputsAbstract.FlakyTestAction>
Possible behaviors if Randoop generates a flaky test.
See Also:
  • Enum Constant Details

    • HALT

      public static final GenInputsAbstract.FlakyTestAction HALT
      Randoop halts with a diagnostic message. You can determine the responsible methods, fix or exclude them, and re-run Randoop.
    • DISCARD

      public static final GenInputsAbstract.FlakyTestAction DISCARD
      Discard the flaky test. This option should be a last resort. It is inefficient and unproductive for Randoop to produce and discard a lot of flaky tests.
    • OUTPUT

      public static final GenInputsAbstract.FlakyTestAction OUTPUT
      Output the flaky test, but with flaky assertions commented out. When the value is OUTPUT, Randoop also suggests methods under test that might have caused the flakiness. You should investigate them, fix or exclude them, then re-run Randoop.
  • Constructor Details

    • FlakyTestAction

      private FlakyTestAction()
  • Method Details

    • values

      public static GenInputsAbstract.FlakyTestAction[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GenInputsAbstract.FlakyTestAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null