Enum Class OTFTestStatus

java.lang.Object
java.lang.Enum<OTFTestStatus>
org.opentestfactory.dto.v1.OTFTestStatus
All Implemented Interfaces:
Serializable, Comparable<OTFTestStatus>, Constable

public enum OTFTestStatus extends Enum<OTFTestStatus>
Custom test executions statuses used internally, decoupled from any testing framework or target test referential / reporting tool.

Each status is weighted to enable composite status computing when a multi-tests style report is parsed.

Author:
lpoma
  • Enum Constant Details

  • Method Details

    • values

      public static OTFTestStatus[] 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 OTFTestStatus 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
    • getPriority

      public int getPriority()