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


測試和測試執行器的錯誤 ID。

摘要

列舉值

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

與 ID 相關聯的失敗狀態,此狀態應與 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

輸出內容

public static final TestErrorIdentifier OUTPUT_PARSER_ERROR

測試

public static final TestErrorIdentifier TEST_ABORTED

測試_BINARY_EXIT_CODE_ERROR

public static final TestErrorIdentifier TEST_BINARY_EXIT_CODE_ERROR

TEST_BINARY_TIMED_OUT

public static final TestErrorIdentifier TEST_BINARY_TIMED_OUT

TEST_FILTER_NEEDS_UPDATE

public static final TestErrorIdentifier TEST_FILTER_NEEDS_UPDATE

TEST_PHASE_TIMED_OUT

public static final TestErrorIdentifier TEST_PHASE_TIMED_OUT

TEST_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 ()

與 ID 相關聯的失敗狀態,此狀態應與 FailureDescription 一。

傳回
TestRecordProto.FailureStatus

public static TestErrorIdentifier valueOf (String name)

參數
name String

傳回
TestErrorIdentifier

public static final TestErrorIdentifier[] values ()

傳回
TestErrorIdentifier[]