TestStatus
public
final
enum
TestStatus
extends Enum<TestStatus>
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.result.TestStatus> | |
↳ | com.android.tradefed.result.TestStatus |
Representation in Tradefed of possible statuses for test methods.
Summary
Enum values | |
---|---|
TestStatus |
ASSUMPTION_FAILURE
Test assumption failure |
TestStatus |
FAILURE
Test failed. |
TestStatus |
IGNORED
Test ignored |
TestStatus |
INCOMPLETE
Test started but not ended |
TestStatus |
PASSED
Test passed |
TestStatus |
SKIPPED
Test skipped, did not run for a reason |
Public methods | |
---|---|
static
TestStatus
|
convertFromCompatibilityString(String status)
Convert Tradefed status from a format compatible with Android Partner backend. |
static
TestStatus
|
convertFromDdmlibType(TestResult.TestStatus ddmlibStatus)
|
static
String
|
convertToCompatibilityString(TestStatus status)
Convert Tradefed status to a format compatible with Android Partner backend. |
static
TestResult.TestStatus
|
convertToDdmlibType(TestStatus status)
Convert Tradefed status to ddmlib one during the transition of classes. |
static
TestStatus
|
valueOf(String name)
|
static
final
TestStatus[]
|
values()
|
Enum values
Public methods
convertFromCompatibilityString
public static TestStatus convertFromCompatibilityString (String status)
Convert Tradefed status from a format compatible with Android Partner backend.
Parameters | |
---|---|
status |
String |
Returns | |
---|---|
TestStatus |
convertFromDdmlibType
public static TestStatus convertFromDdmlibType (TestResult.TestStatus ddmlibStatus)
Parameters | |
---|---|
ddmlibStatus |
TestResult.TestStatus |
Returns | |
---|---|
TestStatus |
convertToCompatibilityString
public static String convertToCompatibilityString (TestStatus status)
Convert Tradefed status to a format compatible with Android Partner backend.
Parameters | |
---|---|
status |
TestStatus |
Returns | |
---|---|
String |
convertToDdmlibType
public static TestResult.TestStatus convertToDdmlibType (TestStatus status)
Convert Tradefed status to ddmlib one during the transition of classes.
Parameters | |
---|---|
status |
TestStatus |
Returns | |
---|---|
TestResult.TestStatus |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-07-02 UTC.