public enum TestItemType extends java.lang.Enum<TestItemType> implements java.lang.Comparable<TestItemType>
| Modifier and Type | Class and Description |
|---|---|
static class |
TestItemType.Constants |
| Enum Constant and Description |
|---|
AFTER_CLASS |
AFTER_GROUPS |
AFTER_METHOD |
AFTER_SUITE |
AFTER_TEST |
BEFORE_CLASS |
BEFORE_GROUPS |
BEFORE_METHOD |
BEFORE_SUITE |
BEFORE_TEST |
SCENARIO |
STEP |
STORY |
SUITE |
TEST |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awareStatistics() |
static TestItemType |
fromValue(java.lang.String value) |
boolean |
higherThan(TestItemType type)
Is level of current item higher than level of specified
|
boolean |
lowerThan(TestItemType type)
Is level of current item lower than level of specified
|
boolean |
sameLevel(TestItemType other) |
static TestItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestItemType SUITE
public static final TestItemType STORY
public static final TestItemType TEST
public static final TestItemType SCENARIO
public static final TestItemType STEP
public static final TestItemType BEFORE_CLASS
public static final TestItemType BEFORE_GROUPS
public static final TestItemType BEFORE_METHOD
public static final TestItemType BEFORE_SUITE
public static final TestItemType BEFORE_TEST
public static final TestItemType AFTER_CLASS
public static final TestItemType AFTER_GROUPS
public static final TestItemType AFTER_METHOD
public static final TestItemType AFTER_SUITE
public static final TestItemType AFTER_TEST
public static TestItemType[] values()
for (TestItemType c : TestItemType.values()) System.out.println(c);
public static TestItemType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TestItemType fromValue(java.lang.String value)
public boolean sameLevel(TestItemType other)
public boolean higherThan(TestItemType type)
type - Item to comparepublic boolean lowerThan(TestItemType type)
type - Item to comparepublic boolean awareStatistics()