|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<TestResult>
net.thucydides.core.model.TestResult
public enum TestResult
Acceptance test results. Records the possible outcomes of tests within an acceptance test case and of the overall acceptance test case itself.
| Enum Constant Summary | |
|---|---|
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 was not executed because a previous test in this test case failed. |
|
SUCCESS
The test or test case ran as expected. |
|
UNDEFINED
Test result not known yet. |
|
| Method Summary | |
|---|---|
static TestResult |
valueOf(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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
public static TestResult[] values()
for (TestResult c : TestResult.values()) System.out.println(c);
public static TestResult valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||