public enum TestExecutionEvent extends java.lang.Enum<TestExecutionEvent>
TestExecutionListener| Enum Constant and Description |
|---|
TEST_EXECUTION
Associated to
TestExecutionListener.beforeTestExecution(TestContext)
event. |
TEST_METHOD
Associated to
TestExecutionListener.beforeTestMethod(TestContext)
event. |
| Modifier and Type | Method and Description |
|---|---|
static TestExecutionEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestExecutionEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestExecutionEvent TEST_METHOD
TestExecutionListener.beforeTestMethod(TestContext)
event.public static final TestExecutionEvent TEST_EXECUTION
TestExecutionListener.beforeTestExecution(TestContext)
event.public static TestExecutionEvent[] values()
for (TestExecutionEvent c : TestExecutionEvent.values()) System.out.println(c);
public static TestExecutionEvent 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 null