com.android.ddmlib.testrunner
Enum TestResult.TestStatus

java.lang.Object
  extended by java.lang.Enum<TestResult.TestStatus>
      extended by com.android.ddmlib.testrunner.TestResult.TestStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TestResult.TestStatus>
Enclosing class:
TestResult

public static enum TestResult.TestStatus
extends java.lang.Enum<TestResult.TestStatus>


Enum Constant Summary
ASSUMPTION_FAILURE
          Test assumption failure
FAILURE
          Test failed.
IGNORED
          Test ignored
INCOMPLETE
          Test started but not ended
PASSED
          Test passed
 
Method Summary
static TestResult.TestStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TestResult.TestStatus[] 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

FAILURE

public static final TestResult.TestStatus FAILURE
Test failed.


PASSED

public static final TestResult.TestStatus PASSED
Test passed


INCOMPLETE

public static final TestResult.TestStatus INCOMPLETE
Test started but not ended


ASSUMPTION_FAILURE

public static final TestResult.TestStatus ASSUMPTION_FAILURE
Test assumption failure


IGNORED

public static final TestResult.TestStatus IGNORED
Test ignored

Method Detail

values

public static TestResult.TestStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TestResult.TestStatus c : TestResult.TestStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TestResult.TestStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null