public enum ConsoleEvent extends java.lang.Enum<ConsoleEvent>
| Enum Constant and Description |
|---|
TEST_COMPROMISED |
TEST_ERROR |
TEST_FAILED |
TEST_PASSED |
TEST_PENDING |
TEST_SKIPPED |
TEST_STARTED |
| Modifier and Type | Method and Description |
|---|---|
static ConsoleEvent |
forTestResult(TestResult result) |
java.lang.String |
getTitle() |
static ConsoleEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleEvent TEST_STARTED
public static final ConsoleEvent TEST_PASSED
public static final ConsoleEvent TEST_FAILED
public static final ConsoleEvent TEST_ERROR
public static final ConsoleEvent TEST_COMPROMISED
public static final ConsoleEvent TEST_PENDING
public static final ConsoleEvent TEST_SKIPPED
public static ConsoleEvent[] values()
for (ConsoleEvent c : ConsoleEvent.values()) System.out.println(c);
public static ConsoleEvent 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 ConsoleEvent forTestResult(TestResult result)
public java.lang.String getTitle()