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é

Champs

public static final String PROTO_REPORT_PORT_OPTION

Constructeurs publics

StreamProtoResultReporter()

Méthodes publiques

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

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

void processFinalProto(TestRecordProto.TestRecord finalRecord)

Gestion du prototype final avec tous les résultats.

void processStartInvocation(TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)

Gestion du proto d'enregistrement de test d'appel partiel après l'événement invocationStarted(com.android.tradefed.invoker.IInvocationContext).

void processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)

Gestion du proto d'enregistrement du cas 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 du scénario de test partiel après l'événement testStarted(com.android.tradefed.result.TestDescription, long).

void processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)

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

void processTestModuleStarted(TestRecordProto.TestRecord moduleStartRecord)

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

void processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)

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

void processTestRunStarted(TestRecordProto.TestRecord runStartedRecord)

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

void setProtoReportPort(Integer portValue)

Méthodes protégées

void closeSocket()

Champs

PROTO_REPORT_PORT_OPTION

public static final String PROTO_REPORT_PORT_OPTION

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'appel pour envoyer un par un tous les journaux finaux de l'appel.

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

processFinalProto

public void processFinalProto (TestRecordProto.TestRecord finalRecord)

Gestion du prototype final avec tous les résultats.

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

processStartInvocation

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

Gestion du proto d'enregistrement de test d'appel partiel après l'événement invocationStarted(com.android.tradefed.invoker.IInvocationContext).

Paramètres
invocationStartRecord TestRecordProto.TestRecord: proto partiel renseigné après l'invocationStart.

context IInvocationContext: l'appel IInvocationContext.

processTestCaseEnded

public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

Gestion du proto d'enregistrement du cas 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 du scénario de test partiel après l'événement testStarted(com.android.tradefed.result.TestDescription, long).

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

processTestModuleEnd

public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)

Gestion du proto d'enregistrement de 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 l'événement 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 proto d'enregistrement d'exécution finalisé après l'événement ERROR(/#testRunEnded(long,HashMap)).

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

moduleInProgress boolean: indique si un module est en cours d'exécution.

processTestRunStarted

public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)

Gestion du proto d'enregistrement d'exécution de test partiel après l'événement 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 ()