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


Reporters to store invocation level caching information and its list of modules

Summary

Public constructors

InvocationProtoResultReporter()
InvocationProtoResultReporter(IInvocationContext mainInvocationContext, boolean granularResults)

Public methods

void invocationFailed(FailureDescription failure)

Reports an incomplete invocation due to some error condition.

void invocationFailed(Throwable cause)

Reports an incomplete invocation due to some error condition.

void invocationStarted(IInvocationContext context)

Reports the start of the test invocation.

Protected methods

void beforeModuleStart()

Public constructors

InvocationProtoResultReporter

public InvocationProtoResultReporter ()

InvocationProtoResultReporter

public InvocationProtoResultReporter (IInvocationContext mainInvocationContext, 
                boolean granularResults)

Parameters
mainInvocationContext IInvocationContext

granularResults boolean

Public methods

invocationFailed

public void invocationFailed (FailureDescription failure)

Reports an incomplete invocation due to some error condition.

Will be automatically called by the TradeFederation framework.

Parameters
failure FailureDescription: the FailureDescription describing the cause of the failure

invocationFailed

public void invocationFailed (Throwable cause)

Reports an incomplete invocation due to some error condition.

Will be automatically called by the TradeFederation framework.

Parameters
cause Throwable: the Throwable cause of the failure

invocationStarted

public void invocationStarted (IInvocationContext context)

Reports the start of the test invocation.

Will be automatically called by the TradeFederation framework. Reporters need to override this method to support multiple devices reporting.

Parameters
context IInvocationContext: information about the invocation

Protected methods

beforeModuleStart

protected void beforeModuleStart ()