Enum Class Assert.AssertType

java.lang.Object
java.lang.Enum<Assert.AssertType>
com.antithesis.sdk.Assert.AssertType
All Implemented Interfaces:
Serializable, Comparable<Assert.AssertType>, Constable
Enclosing class:
Assert

public static enum Assert.AssertType extends Enum<Assert.AssertType>
Types of assertions available
  • Enum Constant Details

    • Always

      public static final Assert.AssertType Always
      Condition must always be true
    • Sometimes

      public static final Assert.AssertType Sometimes
      Condition must be true at least once
    • Reachability

      public static final Assert.AssertType Reachability
      Indicates if an assertion should be encountered
  • Method Details

    • values

      public static Assert.AssertType[] 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 Assert.AssertType 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