Package com.qcefast.enums
Enum FailType
- java.lang.Object
-
- java.lang.Enum<FailType>
-
- com.qcefast.enums.FailType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FailType>
,java.lang.constant.Constable
public enum FailType extends java.lang.Enum<FailType>
An enum that contains the constants that represent the different levels aTestStep
can fail.
The FAIL_TSTEP FailType is the default- Since:
- 1.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIL_FSTEP
If aTestStep
with this FailType fails, the Fast framework will proceed to the nextFunctionalTestStep
available in aTestScript
FAIL_TCASE
If aTestStep
with this FailType fails, the Fast framework will proceed to the nextTestScript
available in aFastXml
FAIL_TSTEP
If aTestStep
with this FailType fails, the Fast framework will proceed to the nextTestStep
available in aFunctionalTestStep
FAIL_TSUITE
If aTestStep
with this FailType fails, the Fast framework will cease execution.
-
-
-
Enum Constant Detail
-
FAIL_TSTEP
public static final FailType FAIL_TSTEP
If aTestStep
with this FailType fails, the Fast framework will proceed to the nextTestStep
available in aFunctionalTestStep
- Since:
- 1.0.0
-
FAIL_FSTEP
public static final FailType FAIL_FSTEP
If aTestStep
with this FailType fails, the Fast framework will proceed to the nextFunctionalTestStep
available in aTestScript
- Since:
- 1.0.0
-
FAIL_TCASE
public static final FailType FAIL_TCASE
If aTestStep
with this FailType fails, the Fast framework will proceed to the nextTestScript
available in aFastXml
- Since:
- 1.0.0
-
-
Method Detail
-
values
public static FailType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailType 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
-
-