Package com.piketec.tpt.api.requirements
Enum TestCasesImportSettings.TestCaseType
- java.lang.Object
-
- java.lang.Enum<TestCasesImportSettings.TestCaseType>
-
- com.piketec.tpt.api.requirements.TestCasesImportSettings.TestCaseType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TestCasesImportSettings.TestCaseType>
- Enclosing class:
- TestCasesImportSettings
public static enum TestCasesImportSettings.TestCaseType extends java.lang.Enum<TestCasesImportSettings.TestCaseType>
The choice whether the imported test case should be created in TPT as step list or as time partition test case.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STEPLIST
The imported test case should be created in TPT as step list.TIME_PARTITION
The imported test case should be created in TPT as time partition test case.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestCasesImportSettings.TestCaseType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TestCasesImportSettings.TestCaseType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STEPLIST
public static final TestCasesImportSettings.TestCaseType STEPLIST
The imported test case should be created in TPT as step list.
-
TIME_PARTITION
public static final TestCasesImportSettings.TestCaseType TIME_PARTITION
The imported test case should be created in TPT as time partition test case.
-
-
Method Detail
-
values
public static TestCasesImportSettings.TestCaseType[] 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 (TestCasesImportSettings.TestCaseType c : TestCasesImportSettings.TestCaseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestCasesImportSettings.TestCaseType 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
-
-