RemoteAndroidTestRunner.StatusReporterMode

public static final enum RemoteAndroidTestRunner.StatusReporterMode
extends Enum<RemoteAndroidTestRunner.StatusReporterMode>

java.lang.Object
   ↳ java.lang.Enum<com.android.tradefed.result.ddmlib.RemoteAndroidTestRunner.StatusReporterMode>
     ↳ com.android.tradefed.result.ddmlib.RemoteAndroidTestRunner.StatusReporterMode


am instrument 명령어 옵션의 상태 보고자 모드를 나타냅니다.

요약

Enum 값

RemoteAndroidTestRunner.StatusReporterMode  PROTO_STD

instrumentationData protobuf 상태 보고자를 사용하여 am instrument에서 상태 수신 명령어와 함께 사용하면 됩니다 

RemoteAndroidTestRunner.StatusReporterMode  RAW_TEXT

<ph type="x-smartling-placeholder"></ph> 이 필드는 지원 중단되었습니다. API 수준 26 이상에는 PROTO_STD를 사용합니다. 

공개 메서드

IInstrumentationResultParser createInstrumentationResultParser(String runName, listeners)

다음을 파싱하는 데 사용할 수 있는 InstrumentationResultParser를 만듭니다. 계측 출력을 제공합니다

String getAmInstrumentCommandArg()

이 상태 보고자를 지정하기 위해 am instrument 명령어의 명령줄 인수를 반환합니다. 있습니다.

int getMinimumApiLevel()

이 계측 상태 보고서를 지원하는 최소 Android API 수준을 반환합니다. 있습니다.

static RemoteAndroidTestRunner.StatusReporterMode valueOf(String name)
static final StatusReporterMode[] values()

Enum 값

PROTO_STD

public static final RemoteAndroidTestRunner.StatusReporterMode PROTO_STD

instrumentationData protobuf 상태 리포터를 사용하여 am instrument 명령어에서 상태를 수신합니다.

RAW_TEXT

public static final RemoteAndroidTestRunner.StatusReporterMode RAW_TEXT

<ph type="x-smartling-placeholder"></ph> 이 필드는 지원 중단되었습니다.
API 수준 26 이상에는 PROTO_STD를 사용합니다.

원시 텍스트 메시지를 사용하여 am instrument 명령어에서 상태를 수신합니다.

공개 메서드

createInstrumentationResultParser

public IInstrumentationResultParser createInstrumentationResultParser (String runName, 
                 listeners)

계측 출력을 파싱하는 데 사용할 수 있는 InstrumentationResultParser를 만듭니다.

매개변수
runName String: 사용할 실행의 이름입니다.

listeners : 결과를 보고할 리스너입니다.

반환 값
IInstrumentationResultParser InstrumentationResultParser의 인스턴스

getAmInstrumentCommandArg

public String getAmInstrumentCommandArg ()

이 상태 보고자를 지정하기 위해 am instrument 명령어의 명령줄 인수를 반환합니다. 있습니다.

반환 값
String

getMinimumApiLevel

public int getMinimumApiLevel ()

이 계측 상태 보고서를 지원하는 최소 Android API 수준을 반환합니다. 있습니다.

반환 값
int

valueOf

public static RemoteAndroidTestRunner.StatusReporterMode valueOf (String name)

매개변수
name String

반환 값
RemoteAndroidTestRunner.StatusReporterMode

values

public static final StatusReporterMode[] values ()

반환 값
StatusReporterMode[]