|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Result>
things.testing.unit.Result
public enum Result
A generic result enumeration.
, 1.0
Version History
EPG - Initial - 30 NOV 04 EPG - Re-write - 18 JUN 05
Enum Constant Summary | |
---|---|
ABORT
|
|
COMMENT
|
|
EXCEPTION
|
|
FAIL
|
|
INCONCLUSIVE
|
|
PASS
|
|
WAITING
|
Method Summary | |
---|---|
java.lang.String |
getLongResult()
|
java.lang.String |
getShortResult()
|
static Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Result[] |
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 Result WAITING
public static final Result COMMENT
public static final Result PASS
public static final Result FAIL
public static final Result INCONCLUSIVE
public static final Result EXCEPTION
public static final Result ABORT
Method Detail |
---|
public static Result[] values()
for (Result c : Result.values()) System.out.println(c);
public static Result 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getShortResult()
public java.lang.String getLongResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |