Enum TestCaseExecutionStatus.TestCaseStatus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TestCaseExecutionStatus.TestCaseStatus>
    Enclosing interface:
    TestCaseExecutionStatus

    public static enum TestCaseExecutionStatus.TestCaseStatus
    extends java.lang.Enum<TestCaseExecutionStatus.TestCaseStatus>
    This enumeration represents all possible execution and result states for a test case.

    The possible options are:

    • Pending
    • ResultUnknown
    • ResultSuccess
    • ResultFailed
    • ResultError
    • Running
    • ResultNoAsssessments Deprecated: Only listed to remain compatible to old TPT versions. Completely replaced by ResultUnkown.
    • Method Detail

      • values

        public static TestCaseExecutionStatus.TestCaseStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TestCaseExecutionStatus.TestCaseStatus c : TestCaseExecutionStatus.TestCaseStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TestCaseExecutionStatus.TestCaseStatus valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null