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