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 |
用于存储调用级缓存信息及其模块列表的报告程序
摘要
公共构造函数 | |
---|---|
InvocationProtoResultReporter()
|
|
InvocationProtoResultReporter(IInvocationContext mainInvocationContext, boolean granularResults)
|
公共方法 | |
---|---|
void
|
invocationFailed(FailureDescription failure)
报告因某些错误条件而导致调用不完整。 |
void
|
invocationFailed(Throwable cause)
报告因某些错误条件而导致调用不完整。 |
void
|
invocationStarted(IInvocationContext context)
报告测试调用的开始。 |
受保护的方法 | |
---|---|
void
|
beforeModuleStart()
|
公共构造函数
InvocationProtoResultReporter
public InvocationProtoResultReporter ()
InvocationProtoResultReporter
public InvocationProtoResultReporter (IInvocationContext mainInvocationContext, boolean granularResults)
参数 | |
---|---|
mainInvocationContext |
IInvocationContext |
granularResults |
boolean |
公共方法
invocationFailed
public void invocationFailed (FailureDescription failure)
由于某些错误条件,报告调用不完整。
将由 TradeFederation 框架自动调用。
参数 | |
---|---|
failure |
FailureDescription :用于说明失败原因的 FailureDescription |
invocationFailed
public void invocationFailed (Throwable cause)
由于某些错误条件,报告调用不完整。
将由 TradeFederation 框架自动调用。
参数 | |
---|---|
cause |
Throwable :失败的 Throwable 原因 |
invocationStarted
public void invocationStarted (IInvocationContext context)
报告测试调用的开始。
将由 TradeFederation 框架自动调用。报告程序需要替换此方法才能支持多设备报告。
参数 | |
---|---|
context |
IInvocationContext :调用相关信息 |
受保护的方法
beforeModuleStart
protected void beforeModuleStart ()