StreamProtoResultReporter

public final class StreamProtoResultReporter
extends ProtoResultReporter

java.lang.Object
com.android.tradefed.result.proto.ProtoResultReporter
com.android.tradefed.result.proto.StreamProtoResultReporter


Eine Implementierung von ProtoResultReporter

Zusammenfassung

Felder

public static final String PROTO_REPORT_PORT_OPTION

Öffentliche Bauträger

StreamProtoResultReporter ()

Öffentliche Methoden

Integer getProtoReportPort ()
void processFinalProto (TestRecordProto.TestRecord finalRecord)

Abwicklung des finalen Prototyps mit allen Ergebnissen.

void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)

Behandlung des Teilaufruf-Testdatensatzprotos nach dem Auftreten invocationStarted(com.android.tradefed.invoker.IInvocationContext) .

void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

Behandlung des endgültigen Testfalldatensatzprotos nach dem Auftreten ITestLifeCycleReceiver.testEnded(com.android.tradefed.result.TestDescription, long, HashMap) .

void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)

Behandlung des teilweisen Testfalldatensatz-Protos, nachdem testStarted(com.android.tradefed.result.TestDescription, long) aufgetreten ist.

void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)

Behandlung des finalisierten Moduldatensatz-Protos nach dem Auftreten von testModuleEnded() .

void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)

Behandlung des partiellen Moduldatensatz-Protos nach dem Auftreten testModuleStarted(com.android.tradefed.invoker.IInvocationContext) .

void processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress)

Behandlung des endgültigen Laufdatensatzprotokolls nach dem Auftreten ITestLifeCycleReceiver.testRunEnded(long, HashMap) .

void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)

Behandlung des teilweisen Testlauf-Datensatzprotos nach dem Auftreten testRunStarted(String, int) .

void setProtoReportPort (Integer portValue)

Felder

PROTO_REPORT_PORT_OPTION

public static final String PROTO_REPORT_PORT_OPTION

Öffentliche Bauträger

StreamProtoResultReporter

public StreamProtoResultReporter ()

Öffentliche Methoden

getProtoReportPort

public Integer getProtoReportPort ()

Kehrt zurück
Integer

ProzessFinalProto

public void processFinalProto (TestRecordProto.TestRecord finalRecord)

Abwicklung des finalen Prototyps mit allen Ergebnissen.

Parameter
finalRecord TestRecordProto.TestRecord : Das finalisierte Proto mit allen Aufrufergebnissen.

ProcessStartInvocation

public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, 
                IInvocationContext context)

Behandlung des Teilaufruf-Testdatensatzprotos nach dem Auftreten invocationStarted(com.android.tradefed.invoker.IInvocationContext) .

Parameter
invocationStartRecord TestRecordProto.TestRecord : Das Teilproto, das nach dem invocationStart aufgefüllt wird.

context IInvocationContext : Der Aufruf- IInvocationContext .

ProcessTestCaseEnded

public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

Behandlung des endgültigen Testfalldatensatzprotos nach dem Auftreten ITestLifeCycleReceiver.testEnded(com.android.tradefed.result.TestDescription, long, HashMap) .

Parameter
testCaseRecord TestRecordProto.TestRecord : Das finalisierte Proto, das einen Testfall darstellt.

ProzessTestCaseStarted

public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)

Behandlung des teilweisen Testfalldatensatz-Protos, nachdem testStarted(com.android.tradefed.result.TestDescription, long) aufgetreten ist.

Parameter
testCaseStartedRecord TestRecordProto.TestRecord : Das Teilproto, das den Testfall darstellt.

ProcessTestModuleEnd

public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)

Behandlung des finalisierten Moduldatensatz-Protos nach dem Auftreten von testModuleEnded() .

Parameter
moduleRecord TestRecordProto.TestRecord : Das finalisierte Proto, das das Modul darstellt.

ProcessTestModuleStarted

public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)

Behandlung des partiellen Moduldatensatz-Protos nach dem Auftreten testModuleStarted(com.android.tradefed.invoker.IInvocationContext) .

Parameter
moduleStartRecord TestRecordProto.TestRecord : Das Teilproto, das das Modul darstellt.

ProcessTestRunEnded

public void processTestRunEnded (TestRecordProto.TestRecord runRecord, 
                boolean moduleInProgress)

Behandlung des endgültigen Laufdatensatzprotokolls nach dem Auftreten ITestLifeCycleReceiver.testRunEnded(long, HashMap) .

Parameter
runRecord TestRecordProto.TestRecord : Das finalisierte Proto, das den Lauf darstellt.

moduleInProgress boolean : ob ein Modul in Bearbeitung ist oder nicht.

ProcessTestRunStarted

public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)

Behandlung des teilweisen Testlauf-Datensatzprotos nach dem Auftreten testRunStarted(String, int) .

Parameter
runStartedRecord TestRecordProto.TestRecord : Das Teilproto, das den Lauf darstellt.

setProtoReportPort

public void setProtoReportPort (Integer portValue)

Parameter
portValue Integer