Package com.piketec.tpt.api.requirements
Enum TestCasesImportSettings.TestCaseHierarchyCreationMethod
- java.lang.Object
-
- java.lang.Enum<TestCasesImportSettings.TestCaseHierarchyCreationMethod>
-
- com.piketec.tpt.api.requirements.TestCasesImportSettings.TestCaseHierarchyCreationMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TestCasesImportSettings.TestCaseHierarchyCreationMethod>
- Enclosing class:
- TestCasesImportSettings
public static enum TestCasesImportSettings.TestCaseHierarchyCreationMethod extends java.lang.Enum<TestCasesImportSettings.TestCaseHierarchyCreationMethod>
The choice how the importer creates the TPT test case hierarchy.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLAT
The import will not change the test case hierarchy in TPT.GROUP_PATH_ATTRIBUTE
A column with group path information exist.LEVEL_AND_TYPE
A column with level information exist.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestCasesImportSettings.TestCaseHierarchyCreationMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TestCasesImportSettings.TestCaseHierarchyCreationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLAT
public static final TestCasesImportSettings.TestCaseHierarchyCreationMethod FLAT
The import will not change the test case hierarchy in TPT. New test cases will be imported as a flat list.
-
LEVEL_AND_TYPE
public static final TestCasesImportSettings.TestCaseHierarchyCreationMethod LEVEL_AND_TYPE
A column with level information exist. The column may only contain non-negative numbers, none less than the first or more than one greater than the previous one. With these numbers the importer creates a test case hierarchy.
-
GROUP_PATH_ATTRIBUTE
public static final TestCasesImportSettings.TestCaseHierarchyCreationMethod GROUP_PATH_ATTRIBUTE
A column with group path information exist. The importer uses these group paths to create the hierarchy.
-
-
Method Detail
-
values
public static TestCasesImportSettings.TestCaseHierarchyCreationMethod[] 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.TestCaseHierarchyCreationMethod c : TestCasesImportSettings.TestCaseHierarchyCreationMethod.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.TestCaseHierarchyCreationMethod 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
-
-