Package com.android.ddmlib.testrunner
Enum TestResult.TestStatus
- java.lang.Object
-
- java.lang.Enum<TestResult.TestStatus>
-
- 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
Enum Constants Enum Constant Description ASSUMPTION_FAILURE
Test assumption failureFAILURE
Test failed.IGNORED
Test ignoredINCOMPLETE
Test started but not endedPASSED
Test passed
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-