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 |
Pelapor untuk menyimpan informasi penyimpanan dalam cache tingkat pemanggilan dan daftar modulnya
Ringkasan
Konstruktor publik | |
---|---|
InvocationProtoResultReporter()
|
|
InvocationProtoResultReporter(IInvocationContext mainInvocationContext, boolean granularResults)
|
Metode publik | |
---|---|
void
|
invocationFailed(FailureDescription failure)
Melaporkan pemanggilan yang tidak lengkap karena beberapa kondisi error. |
void
|
invocationFailed(Throwable cause)
Melaporkan pemanggilan yang tidak lengkap karena beberapa kondisi error. |
void
|
invocationStarted(IInvocationContext context)
Melaporkan awal pemanggilan pengujian. |
Metode yang dilindungi | |
---|---|
void
|
beforeModuleStart()
|
Konstruktor publik
InvocationProtoResultReporter
public InvocationProtoResultReporter ()
InvocationProtoResultReporter
public InvocationProtoResultReporter (IInvocationContext mainInvocationContext, boolean granularResults)
Parameter | |
---|---|
mainInvocationContext |
IInvocationContext |
granularResults |
boolean |
Metode publik
invocationFailed
public void invocationFailed (FailureDescription failure)
Melaporkan pemanggilan yang tidak lengkap karena beberapa kondisi error.
Akan otomatis dipanggil oleh framework TradeFederation.
Parameter | |
---|---|
failure |
FailureDescription : FailureDescription yang menjelaskan penyebab kegagalan |
invocationFailed
public void invocationFailed (Throwable cause)
Melaporkan pemanggilan yang tidak lengkap karena beberapa kondisi error.
Akan otomatis dipanggil oleh framework TradeFederation.
Parameter | |
---|---|
cause |
Throwable : Throwable penyebab kegagalan |
invocationStarted
public void invocationStarted (IInvocationContext context)
Melaporkan awal pemanggilan pengujian.
Akan otomatis dipanggil oleh framework TradeFederation. Pelapor perlu mengganti metode ini untuk mendukung pelaporan beberapa perangkat.
Parameter | |
---|---|
context |
IInvocationContext : informasi tentang pemanggilan |
Metode yang dilindungi
beforeModuleStart
protected void beforeModuleStart ()