public enum ConsoleEvent extends Enum<ConsoleEvent>
| Enum Constant and Description |
|---|
TEST_ABORTED |
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) |
String |
getTitle() |
static ConsoleEvent |
valueOf(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_ABORTED
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(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 nullpublic static ConsoleEvent forTestResult(TestResult result)
public String getTitle()
Copyright © 2022. All rights reserved.