public enum ETestExecutionResult extends java.lang.Enum<ETestExecutionResult>
worst(ETestExecutionResult, ETestExecutionResult)
ETestExecutionResult
. The order must be from best to worst in order
of definition in the Enum
(i.e. highest ordinal is worst
ETestExecutionResult
).Enum Constant and Description |
---|
ERROR
Caused by an error during test execution (e.g.
|
FAILURE
Caused by a failing assertion.
|
IGNORED
The test is currently marked as "do not execute" (e.g.
|
PASSED
Test execution was successful.
|
SKIPPED
Caused by a failing assumption.
|
Modifier and Type | Field and Description |
---|---|
static ETestExecutionResult |
BEST_RESULT
The best
ETestExecutionResult . |
Modifier and Type | Method and Description |
---|---|
static ETestExecutionResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ETestExecutionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static ETestExecutionResult |
worst(ETestExecutionResult resultA,
ETestExecutionResult resultB)
Returns the worst
ETestExecutionResult between the two
ETestExecutionResult s. |
public static final ETestExecutionResult PASSED
public static final ETestExecutionResult IGNORED
public static final ETestExecutionResult SKIPPED
public static final ETestExecutionResult FAILURE
public static final ETestExecutionResult ERROR
public static final ETestExecutionResult BEST_RESULT
ETestExecutionResult
.public static ETestExecutionResult[] values()
for (ETestExecutionResult c : ETestExecutionResult.values()) System.out.println(c);
public static ETestExecutionResult 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 ETestExecutionResult worst(ETestExecutionResult resultA, ETestExecutionResult resultB)
ETestExecutionResult
between the two
ETestExecutionResult
s.