Package com.piketec.tpt.api
Enum TestCaseExecutionStatus.TestCaseStatus
- java.lang.Object
-
- java.lang.Enum<TestCaseExecutionStatus.TestCaseStatus>
-
- com.piketec.tpt.api.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. Will be removed in TPT-19.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Pending
ResultError
ResultFailed
ResultNoAsssessments
Deprecated.Only listed to remain compatible to old TPT versions.ResultSuccess
ResultUnknown
Running
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestCaseExecutionStatus.TestCaseStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TestCaseExecutionStatus.TestCaseStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Pending
public static final TestCaseExecutionStatus.TestCaseStatus Pending
-
ResultUnknown
public static final TestCaseExecutionStatus.TestCaseStatus ResultUnknown
-
ResultSuccess
public static final TestCaseExecutionStatus.TestCaseStatus ResultSuccess
-
ResultFailed
public static final TestCaseExecutionStatus.TestCaseStatus ResultFailed
-
ResultError
public static final TestCaseExecutionStatus.TestCaseStatus ResultError
-
Running
public static final TestCaseExecutionStatus.TestCaseStatus Running
-
ResultNoAsssessments
@Deprecated public static final TestCaseExecutionStatus.TestCaseStatus ResultNoAsssessments
Deprecated.Only listed to remain compatible to old TPT versions. Completely replaced by ResultUnkown. Will be removed in TPT-19.
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-