StreamProtoResultReporter

public final class StreamProtoResultReporter
extends ProtoResultReporter

java.lang.Object
   ↳ com.android.tradefed.result.proto.ProtoResultReporter
     ↳ com.android.tradefed.result.proto.StreamProtoResultReporter


Penerapan ProtoResultReporter

Ringkasan

Konstanta

String PROTO_REPORT_PORT_OPTION

Konstruktor publik

StreamProtoResultReporter()

Metode publik

Integer getProtoReportPort()
void processFinalInvocationLogs(TestRecordProto.TestRecord invocationLogs)

Gunakan catatan pemanggilan untuk mengirim semua log akhir pemanggilan satu per satu.

void processFinalProto(TestRecordProto.TestRecord finalRecord)

Penanganan proto akhir dengan semua hasil.

void processStartInvocation(TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)

Penanganan proto rekaman pengujian pemanggilan parsial setelah invocationStarted(com.android.tradefed.invoker.IInvocationContext) terjadi.

void processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)

Penanganan proto rekaman kasus pengujian yang telah diselesaikan setelah ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap)) terjadi.

void processTestCaseStarted(TestRecordProto.TestRecord testCaseStartedRecord)

Penanganan proto rekaman kasus pengujian parsial setelah testStarted(com.android.tradefed.result.TestDescription, long) terjadi.

void processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)

Penanganan proto rekaman modul yang telah diselesaikan setelah testModuleEnded() terjadi.

void processTestModuleStarted(TestRecordProto.TestRecord moduleStartRecord)

Penanganan proto rekaman modul parsial setelah testModuleStarted(com.android.tradefed.invoker.IInvocationContext) terjadi.

void processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)

Penanganan proto rekaman proses yang diselesaikan setelah ERROR(/#testRunEnded(long,HashMap)) terjadi.

void processTestRunStarted(TestRecordProto.TestRecord runStartedRecord)

Penanganan proto rekaman proses pengujian parsial setelah testRunStarted(String, int) terjadi.

void setProtoReportPort(Integer portValue)

Metode yang dilindungi

void closeSocket()

Konstanta

PROTO_REPORT_PORT_OPTION

public static final String PROTO_REPORT_PORT_OPTION

Nilai Konstanta: "proto-report-port"

Konstruktor publik

StreamProtoResultReporter

public StreamProtoResultReporter ()

Metode publik

getProtoReportPort

public Integer getProtoReportPort ()

Hasil
Integer

processFinalInvocationLogs

public void processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs)

Gunakan catatan pemanggilan untuk mengirim semua log akhir pemanggilan satu per satu.

Parameter
invocationLogs TestRecordProto.TestRecord: Proto akhir yang merepresentasikan pemanggilan.

processFinalProto

public void processFinalProto (TestRecordProto.TestRecord finalRecord)

Penanganan proto akhir dengan semua hasil.

Parameter
finalRecord TestRecordProto.TestRecord: Proto akhir dengan semua hasil pemanggilan.

processStartInvocation

public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, 
                IInvocationContext context)

Penanganan proto rekaman pengujian pemanggilan parsial setelah invocationStarted(com.android.tradefed.invoker.IInvocationContext) terjadi.

Parameter
invocationStartRecord TestRecordProto.TestRecord: Proto parsial yang diisi setelah invocationStart.

context IInvocationContext: Pemanggilan IInvocationContext.

processTestCaseEnded

public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

Penanganan proto rekaman kasus pengujian yang telah diselesaikan setelah ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap)) terjadi.

Parameter
testCaseRecord TestRecordProto.TestRecord: Proto akhir yang merepresentasikan kasus pengujian.

processTestCaseStarted

public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)

Penanganan proto rekaman kasus pengujian parsial setelah testStarted(com.android.tradefed.result.TestDescription, long) terjadi.

Parameter
testCaseStartedRecord TestRecordProto.TestRecord: Proto parsial yang merepresentasikan kasus pengujian.

processTestModuleEnd

public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)

Penanganan proto rekaman modul yang telah diselesaikan setelah testModuleEnded() terjadi.

Parameter
moduleRecord TestRecordProto.TestRecord: Proto akhir yang merepresentasikan modul.

processTestModuleStarted

public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)

Penanganan proto rekaman modul parsial setelah testModuleStarted(com.android.tradefed.invoker.IInvocationContext) terjadi.

Parameter
moduleStartRecord TestRecordProto.TestRecord: Proto parsial yang merepresentasikan modul.

processTestRunEnded

public void processTestRunEnded (TestRecordProto.TestRecord runRecord, 
                boolean moduleInProgress)

Penanganan proto rekaman proses yang diselesaikan setelah ERROR(/#testRunEnded(long,HashMap)) terjadi.

Parameter
runRecord TestRecordProto.TestRecord: Proto akhir yang merepresentasikan proses.

moduleInProgress boolean: apakah modul sedang dalam progres atau tidak.

processTestRunStarted

public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)

Penanganan proto rekaman proses pengujian parsial setelah testRunStarted(String, int) terjadi.

Parameter
runStartedRecord TestRecordProto.TestRecord: Proto parsial yang merepresentasikan run.

setProtoReportPort

public void setProtoReportPort (Integer portValue)

Parameter
portValue Integer

Metode yang dilindungi

closeSocket

protected void closeSocket ()