StreamProtoResultReporter
public final class StreamProtoResultReporter
extends ProtoResultReporter
java.lang.Objek | ||
com.android.tradefed.result.proto.ProtoResultReporter | ||
com.android.tradefed.result.proto.StreamProtoResultReporter |
Implementasi dari ProtoResultReporter
Ringkasan
bidang | |
---|---|
public static final String | PROTO_REPORT_PORT_OPTION
|
Konstruktor publik | |
---|---|
StreamProtoResultReporter () |
Metode publik | |
---|---|
Integer | getProtoReportPort () |
void | processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs) Gunakan catatan doa untuk mengirim satu per satu semua log terakhir dari permintaan. |
void | processFinalProto (TestRecordProto.TestRecord finalRecord) Penanganan proto akhir dengan semua hasil. |
void | processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context) Penanganan proto catatan uji pemanggilan parsial setelah |
void | processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord) Penanganan proto catatan kasus uji yang diselesaikan setelah |
void | processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord) Penanganan proto catatan kasus uji parsial setelah |
void | processTestModuleEnd (TestRecordProto.TestRecord moduleRecord) Penanganan proto rekaman modul yang diselesaikan setelah |
void | processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord) Penanganan proto rekaman modul parsial setelah |
void | processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress) Penanganan proto record run yang diselesaikan setelah |
void | processTestRunStarted (TestRecordProto.TestRecord runStartedRecord) Penanganan proto rekaman uji coba parsial setelah |
void | setProtoReportPort (Integer portValue) |
Metode yang dilindungi | |
---|---|
void | closeSocket () |
bidang
PROTO_REPORT_PORT_OPTION
public static final String PROTO_REPORT_PORT_OPTION
Konstruktor publik
StreamProtoResultReporter
public StreamProtoResultReporter ()
Metode publik
getProtoReportPort
public Integer getProtoReportPort ()
Kembali | |
---|---|
Integer |
prosesFinalInvocationLogs
public void processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs)
Gunakan catatan doa untuk mengirim satu per satu semua log terakhir dari permintaan.
Parameter | |
---|---|
invocationLogs | TestRecordProto.TestRecord : Proto final yang mewakili pemanggilan. |
prosesFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
Penanganan proto akhir dengan semua hasil.
Parameter | |
---|---|
finalRecord | TestRecordProto.TestRecord : Proto final dengan semua hasil pemanggilan. |
prosesMulaiInvokasi
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)
Penanganan proto catatan uji pemanggilan parsial setelah invocationStarted(com.android.tradefed.invoker.IInvocationContext)
terjadi.
Parameter | |
---|---|
invocationStartRecord | TestRecordProto.TestRecord : Proto parsial diisi setelah invocationStart. |
context | IInvocationContext : Doa IInvocationContext . |
prosesTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
Penanganan proto catatan kasus uji yang diselesaikan setelah ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap))
terjadi.
Parameter | |
---|---|
testCaseRecord | TestRecordProto.TestRecord : Proto final yang mewakili kasus uji. |
prosesTestCaseDimulai
public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)
Penanganan proto catatan kasus uji parsial setelah testStarted(com.android.tradefed.result.TestDescription, long)
terjadi.
Parameter | |
---|---|
testCaseStartedRecord | TestRecordProto.TestRecord : Proto parsial yang mewakili kasus uji. |
prosesTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
Penanganan proto rekaman modul yang diselesaikan setelah testModuleEnded()
terjadi.
Parameter | |
---|---|
moduleRecord | TestRecordProto.TestRecord : Proto final yang mewakili modul. |
processTestModuleDimulai
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 mewakili modul. |
prosesTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress)
Penanganan proto record run yang diselesaikan setelah ERROR(/#testRunEnded(long,HashMap))
terjadi.
Parameter | |
---|---|
runRecord | TestRecordProto.TestRecord : Proto final yang mewakili proses. |
moduleInProgress | boolean : apakah modul sedang berlangsung atau tidak. |
prosesTestRunDimulai
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
Penanganan proto rekaman uji coba parsial setelah testRunStarted(String, int)
terjadi.
Parameter | |
---|---|
runStartedRecord | TestRecordProto.TestRecord : Proto parsial yang mewakili proses. |
setProtoReportPort
public void setProtoReportPort (Integer portValue)
Parameter | |
---|---|
portValue | Integer |
Metode yang dilindungi
tutup soket
protected void closeSocket ()