public enum TestResult extends java.lang.Enum<TestResult>
Enum Constant and Description |
---|
ERROR
Test failure, due to some other exception.
|
FAILURE
Test failure, due to an assertion error
For a test case, this means one of the tests in the test case failed.
|
IGNORED
The test or test case was deliberately ignored.
|
PENDING
A pending test is one that has been specified but not yet implemented.
|
SKIPPED
The test step was not executed because a previous step in this test case failed.
|
SUCCESS
The test or test case ran as expected.
|
UNDEFINED
Test result not known yet.
|
Modifier and Type | Method and Description |
---|---|
static TestResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestResult UNDEFINED
public static final TestResult FAILURE
public static final TestResult ERROR
public static final TestResult SUCCESS
public static final TestResult IGNORED
public static final TestResult SKIPPED
public static final TestResult PENDING
public static TestResult[] values()
for (TestResult c : TestResult.values()) System.out.println(c);
public static TestResult 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