Enum Result

java.lang.Object
java.lang.Enum<Result>
org.btrplace.safeplace.testing.Result
All Implemented Interfaces:
Serializable, Comparable<Result>, java.lang.constant.Constable

public enum Result
extends Enum<Result>
The possible outcomes for a test.
Author:
Fabien Hermenier
  • Enum Constant Details

    • UNDER_FILTERING

      public static final Result UNDER_FILTERING
      The implementation generates a plan that is not valid wrt. its spec. It let some inconsistencies pass.
    • OVER_FILTERING

      public static final Result OVER_FILTERING
      The implementation did not generate a plan despite it exists. It denied solutions.
    • CRASH

      public static final Result CRASH
      The implementation crashed
    • SUCCESS

      public static final Result SUCCESS
      The implementation and the specification are consistent.
  • Method Details

    • values

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

      public static Result valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null