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
|
convertFromDdmlibType(TestResult.TestStatus ddmlibStatus)
|
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
convertFromDdmlibType
public static TestStatus convertFromDdmlibType (TestResult.TestStatus ddmlibStatus)
Parameters | |
---|---|
ddmlibStatus |
TestResult.TestStatus |
Returns | |
---|---|
TestStatus |
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-03-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]