Enum Class SnapshotResult

java.lang.Object
java.lang.Enum<SnapshotResult>
com.oorian.testing.SnapshotResult
All Implemented Interfaces:
Serializable, Comparable<SnapshotResult>, Constable

public enum SnapshotResult extends Enum<SnapshotResult>
Result of a snapshot comparison.
Since:
2.1
Version:
1.0
Author:
Marvin P. Warble Jr.
See Also:
  • Enum Constant Details

    • MATCH

      public static final SnapshotResult MATCH
      The current output matches the saved snapshot.
    • MISMATCH

      public static final SnapshotResult MISMATCH
      The current output differs from the saved snapshot.
    • NEW_SNAPSHOT

      public static final SnapshotResult NEW_SNAPSHOT
      No snapshot file exists yet; this is the first capture.
  • Method Details

    • values

      public static SnapshotResult[] 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 SnapshotResult 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