Serializable
, Comparable<TestLogEvent>
public enum TestLogEvent extends Enum<TestLogEvent>
Enum Constant | Description |
---|---|
FAILED |
A test has failed.
|
PASSED |
A test has completed successfully.
|
SKIPPED |
A test has been skipped.
|
STANDARD_ERROR |
A test has written a message to standard error.
|
STANDARD_OUT |
A test has written a message to standard out.
|
STARTED |
A test has started.
|
Modifier and Type | Method | Description |
---|---|---|
static TestLogEvent |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TestLogEvent[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestLogEvent STARTED
public static final TestLogEvent PASSED
public static final TestLogEvent SKIPPED
public static final TestLogEvent FAILED
public static final TestLogEvent STANDARD_OUT
public static final TestLogEvent STANDARD_ERROR
public static TestLogEvent[] values()
for (TestLogEvent c : TestLogEvent.values()) System.out.println(c);
public static TestLogEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null