StreamProtoResultReporter
public final class StreamProtoResultReporter
extends ProtoResultReporter
java.lang.Object | ||
↳ | com.android.tradefed.result.proto.ProtoResultReporter | |
↳ | com.android.tradefed.result.proto.StreamProtoResultReporter |
ProtoResultReporter
bir uygulaması
Özet
Alanlar | |
---|---|
public static final String | PROTO_REPORT_PORT_OPTION
|
Kamu inşaatçıları | |
---|---|
StreamProtoResultReporter () |
Genel yöntemler | |
---|---|
Integer | getProtoReportPort () |
void | processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs) Çağrının son günlüklerinin tamamını tek tek göndermek için çağrı kaydını kullanın. |
void | processFinalProto (TestRecordProto.TestRecord finalRecord) Tüm sonuçlarla birlikte son protokolün işlenmesi. |
void | processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context) |
void | processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord) |
void | processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord) |
void | processTestModuleEnd (TestRecordProto.TestRecord moduleRecord) |
void | processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord) |
void | processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress) |
void | processTestRunStarted (TestRecordProto.TestRecord runStartedRecord) |
void | setProtoReportPort (Integer portValue) |
Korumalı yöntemler | |
---|---|
void | closeSocket () |
Alanlar
PROTO_REPORT_PORT_OPTION
public static final String PROTO_REPORT_PORT_OPTION
Kamu inşaatçıları
StreamProtoResultReporter
public StreamProtoResultReporter ()
Genel yöntemler
getProtoReportPort
public Integer getProtoReportPort ()
İadeler | |
---|---|
Integer |
süreçFinalInvokasyonGünlükleri
public void processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs)
Çağrının son günlüklerinin tamamını tek tek göndermek için çağrı kaydını kullanın.
Parametreler | |
---|---|
invocationLogs | TestRecordProto.TestRecord : Çağrıyı temsil eden sonlandırılmış protokol. |
süreçFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
Tüm sonuçlarla birlikte son protokolün işlenmesi.
Parametreler | |
---|---|
finalRecord | TestRecordProto.TestRecord : Tüm çağırma sonuçlarını içeren sonlandırılmış protokol. |
prosesStartInvokasyon
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)
invocationStarted(com.android.tradefed.invoker.IInvocationContext)
oluştuktan sonra kısmi çağırma test kaydı protokolünün işlenmesi.
Parametreler | |
---|---|
invocationStartRecord | TestRecordProto.TestRecord : invokasyonStart'tan sonra doldurulan kısmi protokol. |
context | IInvocationContext : Çağrı IInvocationContext . |
süreçTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap))
oluştuktan sonra kesinleşmiş test senaryosu kayıt protokolünün işlenmesi.
Parametreler | |
---|---|
testCaseRecord | TestRecordProto.TestRecord : Bir test senaryosunu temsil eden sonlandırılmış protokol. |
süreçTestCaseBaşladı
public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)
testStarted(com.android.tradefed.result.TestDescription, long)
gerçekleştikten sonra kısmi test senaryosu kaydı protokolünün işlenmesi.
Parametreler | |
---|---|
testCaseStartedRecord | TestRecordProto.TestRecord : Test senaryosunu temsil eden kısmi protokol. |
süreçTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
testModuleEnded()
oluştuktan sonra sonlandırılmış modül kayıt protokolünün işlenmesi.
Parametreler | |
---|---|
moduleRecord | TestRecordProto.TestRecord : Modülü temsil eden sonlandırılmış protokol. |
süreçTestModuleStarted
public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)
testModuleStarted(com.android.tradefed.invoker.IInvocationContext)
oluştuktan sonra kısmi modül kaydı protokolünün işlenmesi.
Parametreler | |
---|---|
moduleStartRecord | TestRecordProto.TestRecord : Modülü temsil eden kısmi protokol. |
süreçTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress)
ERROR(/#testRunEnded(long,HashMap))
oluştuktan sonra sonlandırılmış çalıştırma kaydı protokolünün işlenmesi.
Parametreler | |
---|---|
runRecord | TestRecordProto.TestRecord : Çalıştırmayı temsil eden sonlandırılmış protokol. |
moduleInProgress | boolean : Bir modülün devam edip etmediği. |
süreçTestRunBaşlatıldı
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
testRunStarted(String, int)
oluştuktan sonra kısmi test çalıştırması kayıt protokolünün işlenmesi.
Parametreler | |
---|---|
runStartedRecord | TestRecordProto.TestRecord : Çalıştırmayı temsil eden kısmi protokol. |
setProtoReportPort
public void setProtoReportPort (Integer portValue)
Parametreler | |
---|---|
portValue | Integer |
Korumalı yöntemler
kapatSocket
protected void closeSocket ()