InvocationProtoResultReporter

public class InvocationProtoResultReporter
extends ModuleProtoResultReporter

java.lang.Object
   ↳ com.android.tradefed.result.proto.ProtoResultReporter
     ↳ com.android.tradefed.result.proto.FileProtoResultReporter
       ↳ com.android.tradefed.result.proto.ModuleProtoResultReporter
         ↳ com.android.tradefed.result.proto.InvocationProtoResultReporter


Berichter zum Speichern von Caching-Informationen auf Aufrufebene und der Liste der Module

Zusammenfassung

Öffentliche Konstruktoren

InvocationProtoResultReporter()
InvocationProtoResultReporter(IInvocationContext mainInvocationContext, boolean granularResults)

Öffentliche Methoden

void invocationFailed(FailureDescription failure)

Eine unvollständige Aufrufung wird aufgrund eines Fehlers gemeldet.

void invocationFailed(Throwable cause)

Eine unvollständige Aufrufung wird aufgrund eines Fehlers gemeldet.

void invocationStarted(IInvocationContext context)

Gibt den Beginn der Testausführung an.

Geschützte Methoden

void beforeModuleStart()

Öffentliche Konstruktoren

InvocationProtoResultReporter

public InvocationProtoResultReporter ()

InvocationProtoResultReporter

public InvocationProtoResultReporter (IInvocationContext mainInvocationContext, 
                boolean granularResults)

Parameter
mainInvocationContext IInvocationContext

granularResults boolean

Öffentliche Methoden

invocationFailed

public void invocationFailed (FailureDescription failure)

Eine unvollständige Aufrufung wird aufgrund eines Fehlers gemeldet.

Wird automatisch vom TradeFederation-Framework aufgerufen.

Parameter
failure FailureDescription: die FailureDescription, die die Ursache des Fehlers beschreibt

invocationFailed

public void invocationFailed (Throwable cause)

Eine unvollständige Aufrufung wird aufgrund eines Fehlers gemeldet.

Wird automatisch vom TradeFederation-Framework aufgerufen.

Parameter
cause Throwable: die Throwable Ursache des Fehlers

invocationStarted

public void invocationStarted (IInvocationContext context)

Gibt den Beginn der Testausführung an.

Wird automatisch vom TradeFederation-Framework aufgerufen. Meldende müssen diese Methode überschreiben, um Berichte zu mehreren Geräten zu unterstützen.

Parameter
context IInvocationContext: Informationen zur Aufrufung

Geschützte Methoden

beforeModuleStart

protected void beforeModuleStart ()