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


来自测试和测试运行程序的错误标识符。

摘要

枚举值

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  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

 

公共方法

long code()

用于标识错误的唯一代码。

TestRecordProto.FailureStatus status()

与标识符相关联的失败状态,此状态应与 FailureDescription 一。

static TestErrorIdentifier valueOf(String name)
static final TestErrorIdentifier[] values()

枚举值

HOST_Command_FAILED

public static final TestErrorIdentifier HOST_COMMAND_FAILED

INSTRUMENTATION_NULL_METHOD

public static final TestErrorIdentifier INSTRUMENTATION_NULL_METHOD

INSTRUMENTATION_TIMED_OUT

public static final TestErrorIdentifier INSTRUMENTATION_TIMED_OUT

MODIFIED_FOLDABLE_STATE

public static final TestErrorIdentifier MODIFIED_FOLDABLE_STATE

MODULE_CHANGED_SYSTEM_STATUS

public static final TestErrorIdentifier MODULE_CHANGED_SYSTEM_STATUS

MODULE_DID_NOT_EXECUTE

public static final TestErrorIdentifier MODULE_DID_NOT_EXECUTE

OUTPUT_PARSER_ERROR

public static final TestErrorIdentifier OUTPUT_PARSER_ERROR

测试已中止

public static final TestErrorIdentifier TEST_ABORTED

TEST_BINARY_EXIT_CODE_ERROR

public static final TestErrorIdentifier TEST_BINARY_EXIT_CODE_ERROR

测试 BINARY_TIMED_OUT

public static final TestErrorIdentifier TEST_BINARY_TIMED_OUT

测试_FILTER_NEEDS_更新

public static final TestErrorIdentifier TEST_FILTER_NEEDS_UPDATE

测试_PHASE_TIMED_OUT

public static final TestErrorIdentifier TEST_PHASE_TIMED_OUT

测试_TIMEOUT

public static final TestErrorIdentifier TEST_TIMEOUT

UNEXPECTED_MOBLY_BEHAVIOR

public static final TestErrorIdentifier UNEXPECTED_MOBLY_BEHAVIOR

UNEXPECTED_MOBLY_CONFIG

public static final TestErrorIdentifier UNEXPECTED_MOBLY_CONFIG

公共方法

代码

public long code ()

用于标识错误的唯一代码。

返回
long

status

public TestRecordProto.FailureStatus status ()

与标识符相关联的失败状态,此状态应与 FailureDescription 一。

返回
TestRecordProto.FailureStatus

valueOf

public static TestErrorIdentifier valueOf (String name)

参数
name String

返回
TestErrorIdentifier

values

public static final TestErrorIdentifier[] values ()

返回
TestErrorIdentifier[]