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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Pending
The test case is queued for executionResultError
The test was unable to finish due to an execution erroResultFailed
The test failedResultSuccess
The test has passedResultUnknown
The result is inconclusiveRunning
The test is currently executed
-
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
The test case is queued for execution
-
ResultUnknown
public static final TestCaseExecutionStatus.TestCaseStatus ResultUnknown
The result is inconclusive
-
ResultSuccess
public static final TestCaseExecutionStatus.TestCaseStatus ResultSuccess
The test has passed
-
ResultFailed
public static final TestCaseExecutionStatus.TestCaseStatus ResultFailed
The test failed
-
ResultError
public static final TestCaseExecutionStatus.TestCaseStatus ResultError
The test was unable to finish due to an execution erro
-
Running
public static final TestCaseExecutionStatus.TestCaseStatus Running
The test is currently executed
-
-
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
-
-