StreamProtoResultReporter
public
final
class
StreamProtoResultReporter
extends ProtoResultReporter
| java.lang.Object | ||
| ↳ | com.android.tradefed.result.proto.ProtoResultReporter | |
| ↳ | com.android.tradefed.result.proto.StreamProtoResultReporter | |
ProtoResultReporter uygulaması
Özet
Sabitler | |
|---|---|
String |
PROTO_REPORT_PORT_OPTION
|
Herkese açık oluşturucular | |
|---|---|
StreamProtoResultReporter()
|
|
Herkese açık yöntemler | |
|---|---|
Integer
|
getProtoReportPort()
|
void
|
processFinalInvocationLogs(TestRecordProto.TestRecord invocationLogs)
Çağırma kaydını kullanarak çağırmanın tüm nihai günlüklerini tek tek gönderin. |
void
|
processFinalProto(TestRecordProto.TestRecord finalRecord)
Tüm sonuçları içeren nihai prototipin 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)
|
Korunan yöntemler | |
|---|---|
void
|
closeSocket()
|
Sabitler
PROTO_REPORT_PORT_OPTION
public static final String PROTO_REPORT_PORT_OPTION
Sabit Değer: "proto-report-port"
Herkese açık oluşturucular
StreamProtoResultReporter
public StreamProtoResultReporter ()
Herkese açık yöntemler
getProtoReportPort
public Integer getProtoReportPort ()
| İlerlemeler | |
|---|---|
Integer |
|
processFinalInvocationLogs
public void processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs)
Çağırmanın tüm nihai günlüklerini tek tek göndermek için çağırma kaydını kullanın.
| Parametreler | |
|---|---|
invocationLogs |
TestRecordProto.TestRecord: Çağırmayı temsil eden sonlandırılmış proto. |
processFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
Tüm sonuçları içeren nihai prototipin işlenmesi.
| Parametreler | |
|---|---|
finalRecord |
TestRecordProto.TestRecord: Tüm çağırma sonuçlarını içeren son prototip. |
processStartInvocation
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord,
IInvocationContext context)invocationStarted(com.android.tradefed.invoker.IInvocationContext) gerçekleştikten sonra kısmi çağırma testi kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
invocationStartRecord |
TestRecordProto.TestRecord: invocationStart'tan sonra doldurulan kısmi proto. |
context |
IInvocationContext: Çağrı IInvocationContext. |
processTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap)) gerçekleştikten sonra sonlandırılmış test durumu kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
testCaseRecord |
TestRecordProto.TestRecord: Bir test durumunu temsil eden sonlandırılmış proto. |
processTestCaseStarted
public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)
testStarted(com.android.tradefed.result.TestDescription, long) oluştuktan sonra kısmi test durumu kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
testCaseStartedRecord |
TestRecordProto.TestRecord: Test durumunu temsil eden kısmi proto. |
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
testModuleEnded() gerçekleştikten sonra sonlandırılmış modül kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
moduleRecord |
TestRecordProto.TestRecord: Modülü temsil eden son proto. |
processTestModuleStarted
public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)
testModuleStarted(com.android.tradefed.invoker.IInvocationContext) gerçekleştikten sonra kısmi modül kaydı proto'sunun 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)) işleminden sonra tamamlanmış çalıştırma kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
runRecord |
TestRecordProto.TestRecord: Çalıştırmayı temsil eden son proto. |
moduleInProgress |
boolean: Bir modülün devam edip etmediği |
processTestRunStarted
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
testRunStarted(String, int)
gerçekleştikten sonra kısmi test çalıştırma kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
runStartedRecord |
TestRecordProto.TestRecord: Çalıştırmayı temsil eden kısmi proto. |
setProtoReportPort
public void setProtoReportPort (Integer portValue)
| Parametreler | |
|---|---|
portValue |
Integer |
Korunan yöntemler
closeSocket
protected void closeSocket ()