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ğırmanın tüm nihai günlüklerini tek tek göndermek için çağırma kaydını kullanın. |
void
|
processFinalProto(TestRecordProto.TestRecord finalRecord)
Tüm sonuçların yer aldığı 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 ()
| İadeler | |
|---|---|
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ın yer aldığı 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(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)
testEnded(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(TestDescription,long) işlemi gerçekleştikten 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 kesinleştirilmiş 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(IInvocationContext) işleminden 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)testRunEnded(long,HashMap) gerçekleştikten sonra tamamlanmış çalıştırma kaydı proto'sunun işlenmesi.
| Parametreler | |
|---|---|
runRecord |
TestRecordProto.TestRecord: Çalıştırmayı temsil eden son proto. |
moduleInProgress |
boolean: 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 ()