|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TestResultType>
org.jtiger.framework.TestResultType
public enum TestResultType
An enumeration of the possible result types of a test case execution.
TestResult
Enum Constant Summary | |
---|---|
FAILURE
Indicates that the test case execution resulted in failure. |
|
FAILURE_SETUP
Indicates that the test case execution resulted in failure because the test fixture that contains it could not be setup. |
|
FAILURE_TEARDOWN
Indicates that the test case execution resulted in failure because the test fixture that contains it could not be torn down. |
|
IGNORED_ANNOTATED
Indicates that the test case execution resulted in being ignored because it was annotated that way. |
|
IGNORED_CANNOT_INVOKE
Indicates that the test case execution resulted in being ignored because it does not satisfy the criteria for a test case method. |
|
SUCCESS
Indicates that the test case execution resulted in success. |
Method Summary | |
---|---|
static TestResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TestResultType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TestResultType SUCCESS
public static final TestResultType IGNORED_ANNOTATED
Ignore
public static final TestResultType IGNORED_CANNOT_INVOKE
Test
public static final TestResultType FAILURE_SETUP
SetUp
public static final TestResultType FAILURE
public static final TestResultType FAILURE_TEARDOWN
TearDown
Method Detail |
---|
public static final TestResultType[] values()
for(TestResultType c : TestResultType.values()) System.out.println(c);
public static TestResultType 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |