StreamProtoResultReporter

public final class StreamProtoResultReporter
extends ProtoResultReporter

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


Une implémentation de ProtoResultReporter

Résumé

Des 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'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)

La gestion du protocole d'enregistrement de test d'invocation partielle après invocationStarted(com.android.tradefed.invoker.IInvocationContext) s'est produite.

void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

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

void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)

Gestion du prototype d'enregistrement de scénario de test partiel après testStarted(com.android.tradefed.result.TestDescription, long) .

void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)

Gestion du prototype d'enregistrement de module finalisé après que testModuleEnded() se soit produit.

void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)

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

void processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress)

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

void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)

Gestion du protocole d'enregistrement d'exécution de test partiel après que testRunStarted(String, int) se soit produit.

void setProtoReportPort (Integer portValue)

Méthodes protégées

void closeSocket ()

Des 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 ()

Retour
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 : Le prototype finalisé représentant l'invocation.

processusFinalProto

public void processFinalProto (TestRecordProto.TestRecord finalRecord)

Gestion du proto final avec tous les résultats.

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

processStartInvocation

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

La gestion du protocole d'enregistrement de test d'invocation partielle après invocationStarted(com.android.tradefed.invoker.IInvocationContext) s'est produite.

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

context IInvocationContext : L'invocation IInvocationContext .

processusTestCaseEnded

public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)

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

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

processusTestCaseStarted

public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)

Gestion du prototype d'enregistrement de scénario de test partiel après testStarted(com.android.tradefed.result.TestDescription, long) .

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

processusTestModuleFin

public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)

Gestion du prototype d'enregistrement de module finalisé après que testModuleEnded() se soit produit.

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

processTestModuleStarted

public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)

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

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

processusTestRunEnded

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

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

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

moduleInProgress boolean : si un module est en cours ou non.

processusTestRunStarted

public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)

Gestion du protocole d'enregistrement d'exécution de test partiel après que testRunStarted(String, int) se soit produit.

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

setProtoReportPort

public void setProtoReportPort (Integer portValue)

Paramètres
portValue Integer

Méthodes protégées

fermerSocket

protected void closeSocket ()