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