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 tüm son günlüklerini birer birer göndermek için çağrı kaydını kullanın. |
void | processFinalProto (TestRecordProto.TestRecord finalRecord) Son protokolün tüm sonuçlarla birlikte 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 |
processFinalInvocationLogs
public void processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs)
Çağrının tüm son günlüklerini birer birer göndermek için çağrı kaydını kullanın.
parametreler | |
---|---|
invocationLogs | TestRecordProto.TestRecord : Çağrıyı temsil eden sonlandırılmış proto. |
süreçFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
Son protokolün tüm sonuçlarla birlikte işlenmesi.
parametreler | |
---|---|
finalRecord | TestRecordProto.TestRecord : Tüm başlatma sonuçlarını içeren sonlandırılmış proto. |
processStartÇağrı
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)
invocationStarted(com.android.tradefed.invoker.IInvocationContext)
gerçekleştikten sonra kısmi başlatma testi kaydı protokolünün işlenmesi.
parametreler | |
---|---|
invocationStartRecord | TestRecordProto.TestRecord : invocationStart'tan sonra doldurulan kısmi proto. |
context | IInvocationContext : IInvocationContext çağrısı. |
processTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap))
oluştuktan sonra nihai test senaryosu kayıt protokolünün işlenmesi.
parametreler | |
---|---|
testCaseRecord | TestRecordProto.TestRecord : Bir test senaryosunu temsil eden sonlandırılmış proto. |
processTestCaseStarted
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 proto. |
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
testModuleEnded()
gerçekleştikten sonra sonlandırılmış modül kayıt protokolünün işlenmesi.
parametreler | |
---|---|
moduleRecord | TestRecordProto.TestRecord : Modülü temsil eden sonlandırılmış proto. |
processTestModuleStarted
public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)
testModuleStarted(com.android.tradefed.invoker.IInvocationContext)
gerçekleştikten sonra kısmi modül kaydı protokolünün işlenmesi.
parametreler | |
---|---|
moduleStartRecord | TestRecordProto.TestRecord : Modülü temsil eden kısmi proto. |
processTestRunEnded
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ış proto. |
moduleInProgress | boolean : bir modülün devam edip etmediği. |
processTestRunStarted
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
testRunStarted(String, int)
oluştuktan sonra kısmi test çalışması kaydı protokolünün işlenmesi.
parametreler | |
---|---|
runStartedRecord | TestRecordProto.TestRecord : Çalıştırmayı temsil eden kısmi proto. |
setProtoReportPort
public void setProtoReportPort (Integer portValue)
parametreler | |
---|---|
portValue | Integer |
Korumalı yöntemler
kapatSocket
protected void closeSocket ()