public enum TestMethodType extends java.lang.Enum<TestMethodType>
| Enum Constant and Description |
|---|
AFTER_CLASS |
AFTER_GROUPS |
AFTER_METHOD |
AFTER_SUITE |
AFTER_TEST |
BEFORE_CLASS |
BEFORE_GROUPS |
BEFORE_METHOD |
BEFORE_SUITE |
BEFORE_TEST |
STEP |
| Modifier and Type | Method and Description |
|---|---|
static TestMethodType |
getStepType(org.testng.ITestNGMethod method)
Return method type basing on ITestNGMethod object
|
static TestMethodType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestMethodType STEP
public static final TestMethodType BEFORE_CLASS
public static final TestMethodType BEFORE_GROUPS
public static final TestMethodType BEFORE_METHOD
public static final TestMethodType BEFORE_SUITE
public static final TestMethodType BEFORE_TEST
public static final TestMethodType AFTER_CLASS
public static final TestMethodType AFTER_GROUPS
public static final TestMethodType AFTER_METHOD
public static final TestMethodType AFTER_SUITE
public static final TestMethodType AFTER_TEST
public static TestMethodType[] values()
for (TestMethodType c : TestMethodType.values()) System.out.println(c);
public static TestMethodType 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 TestMethodType getStepType(org.testng.ITestNGMethod method)
method - Method to find type of