StreamProtoResultReporter

public final class StreamProtoResultReporter
extends ProtoResultReporter

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


Implémentation de ProtoResultReporter

Résumé

Constantes

String PROTO_REPORT_PORT_OPTION

Constructeurs publics

StreamProtoResultReporter()

Méthodes publiques

Integer getProtoReportPort()
void processFinalInvocationLogs(TestRecordProto.TestRecord invocationLogs)

Utilisez l'enregistrement d'invocation pour envoyer un par un tous les journaux finaux de l'invocation.

void processFinalProto(TestRecordProto.TestRecord finalRecord)

Gestion du proto final avec tous les résultats.

void processStartInvocation(TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)

Gestion du proto d'enregistrement de test d'invocation partielle après l'occurrence de invocationStarted(com.android.tradefed.invoker.IInvocationContext).

void processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)

Gestion de l'enregistrement proto du scénario de test finalisé après l'événement ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap)).

void processTestCaseStarted(TestRecordProto.TestRecord testCaseStartedRecord)

Gestion du proto d'enregistrement partiel du cas de test après l'événement testStarted(com.android.tradefed.result.TestDescription, long).

void processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)

Gestion du fichier proto d'enregistrement du module finalisé après l'événement testModuleEnded().

void processTestModuleStarted(TestRecordProto.TestRecord moduleStartRecord)

Gestion du proto d'enregistrement de module partiel après testModuleStarted(com.android.tradefed.invoker.IInvocationContext).

void processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)

Gestion du fichier proto d'enregistrement de l'exécution finalisée après ERROR(/#testRunEnded(long,HashMap)).

void processTestRunStarted(TestRecordProto.TestRecord runStartedRecord)

Gestion du proto d'enregistrement de l'exécution partielle du test après l'occurrence de testRunStarted(String, int).

void setProtoReportPort(Integer portValue)

Méthodes protégées

void closeSocket()

Constantes

PROTO_REPORT_PORT_OPTION

public static final String PROTO_REPORT_PORT_OPTION

Valeur constante : "proto-report-port"

Constructeurs publics

StreamProtoResultReporter

public StreamProtoResultReporter ()

Méthodes publiques

getProtoReportPort

public Integer getProtoReportPort ()

Renvoie
Integer

processFinalInvocationLogs

public void processFinalInvocationLogs (TestRecordProto.TestRecord invocationLogs)

Utilisez l'enregistrement d'invocation pour envoyer un par un tous les journaux finaux de l'invocation.

Paramètres
invocationLogs TestRecordProto.TestRecord : proto finalisé représentant l'invocation.

processFinalProto

public void processFinalProto (TestRecordProto.TestRecord finalRecord)

Gestion du proto final avec tous les résultats.

Paramètres
finalRecord TestRecordProto.TestRecord : proto finalisé avec tous les résultats d'invocation.

processStartInvocation

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

Gestion du proto d'enregistrement de test d'invocation partielle après l'occurrence de invocationStarted(com.android.tradefed.invoker.IInvocationContext).

Paramètres
invocationStartRecord TestRecordProto.TestRecord : proto partiel rempli après invocationStart.

context IInvocationContext : l'invocation IInvocationContext.

processTestCaseEnded

public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

Gestion de l'enregistrement proto du scénario de test finalisé après l'événement ERROR(/#testEnded(com.android.tradefed.result.TestDescription,long,HashMap)).

Paramètres
testCaseRecord TestRecordProto.TestRecord : proto finalisé représentant un cas de test.

processTestCaseStarted

public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)

Gestion du proto d'enregistrement partiel du cas de test après l'événement testStarted(com.android.tradefed.result.TestDescription, long).

Paramètres
testCaseStartedRecord TestRecordProto.TestRecord : proto partiel représentant le cas de test.

processTestModuleEnd

public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)

Gestion du fichier proto d'enregistrement du module finalisé après l'événement testModuleEnded().

Paramètres
moduleRecord TestRecordProto.TestRecord : proto finalisé représentant le module.

processTestModuleStarted

public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)

Gestion du proto d'enregistrement de module partiel après testModuleStarted(com.android.tradefed.invoker.IInvocationContext).

Paramètres
moduleStartRecord TestRecordProto.TestRecord : proto partiel représentant le module.

processTestRunEnded

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

Gestion du fichier proto d'enregistrement de l'exécution finalisée après ERROR(/#testRunEnded(long,HashMap)).

Paramètres
runRecord TestRecordProto.TestRecord : proto finalisé représentant l'exécution.

moduleInProgress boolean : indique si un module est en cours.

processTestRunStarted

public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)

Gestion du proto d'enregistrement de l'exécution partielle du test après l'occurrence de testRunStarted(String, int).

Paramètres
runStartedRecord TestRecordProto.TestRecord : proto partiel représentant l'exécution.

setProtoReportPort

public void setProtoReportPort (Integer portValue)

Paramètres
portValue Integer

Méthodes protégées

closeSocket

protected void closeSocket ()