TestErrorIdentifier
public
final
enum
TestErrorIdentifier
extends Enum<TestErrorIdentifier>
implements
ErrorIdentifier
java.lang.Object | ||
↳ | java.lang.Enum<com.android.tradefed.result.error.TestErrorIdentifier> | |
↳ | com.android.tradefed.result.error.TestErrorIdentifier |
Error identifier from tests and tests runners.
Summary
Enum values | |
---|---|
TestErrorIdentifier |
HOST_COMMAND_FAILED
|
TestErrorIdentifier |
INSTRUMENTATION_NULL_METHOD
|
TestErrorIdentifier |
INSTRUMENTATION_TIMED_OUT
|
TestErrorIdentifier |
MODIFIED_FOLDABLE_STATE
|
TestErrorIdentifier |
MODULE_CHANGED_SYSTEM_STATUS
|
TestErrorIdentifier |
MODULE_DID_NOT_EXECUTE
|
TestErrorIdentifier |
OUTPUT_PARSER_ERROR
|
TestErrorIdentifier |
SUBPROCESS_UNCATEGORIZED_EXCEPTION
|
TestErrorIdentifier |
TEST_ABORTED
|
TestErrorIdentifier |
TEST_BINARY_EXIT_CODE_ERROR
|
TestErrorIdentifier |
TEST_BINARY_TIMED_OUT
|
TestErrorIdentifier |
TEST_FILTER_NEEDS_UPDATE
|
TestErrorIdentifier |
TEST_PHASE_TIMED_OUT
|
TestErrorIdentifier |
TEST_TIMEOUT
|
TestErrorIdentifier |
UNEXPECTED_MOBLY_BEHAVIOR
|
TestErrorIdentifier |
UNEXPECTED_MOBLY_CONFIG
|
Public methods | |
---|---|
long
|
code()
The unique code identifying the error. |
TestRecordProto.FailureStatus
|
status()
The failure status associated with the identifier, this status is expected to align with the FailureDescription one. |
static
TestErrorIdentifier
|
valueOf(String name)
|
static
final
TestErrorIdentifier[]
|
values()
|
Enum values
SUBPROCESS_UNCATEGORIZED_EXCEPTION
public static final TestErrorIdentifier SUBPROCESS_UNCATEGORIZED_EXCEPTION
Public methods
code
public long code ()
The unique code identifying the error.
Returns | |
---|---|
long |
status
public TestRecordProto.FailureStatus status ()
The failure status associated with the identifier, this status is expected to align with the FailureDescription one.
Returns | |
---|---|
TestRecordProto.FailureStatus |
valueOf
public static TestErrorIdentifier valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
TestErrorIdentifier |
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-10-08 UTC.