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
Podsumowanie
Konstruktory publiczne | |
---|---|
InvocationProtoResultReporter()
|
|
InvocationProtoResultReporter(IInvocationContext mainInvocationContext, boolean granularResults)
|
Metody publiczne | |
---|---|
void
|
invocationFailed(FailureDescription failure)
zgłasza niepełne wywołanie z powodu błędu. |
void
|
invocationFailed(Throwable cause)
zgłasza niepełne wywołanie z powodu błędu. |
void
|
invocationStarted(IInvocationContext context)
Raportuje rozpoczęcie wywołania testu. |
Chronione metody | |
---|---|
void
|
beforeModuleStart()
|
Konstruktory publiczne
InvocationProtoResultReporter
public InvocationProtoResultReporter ()
InvocationProtoResultReporter
public InvocationProtoResultReporter (IInvocationContext mainInvocationContext, boolean granularResults)
Parametry | |
---|---|
mainInvocationContext |
IInvocationContext |
granularResults |
boolean |
Metody publiczne
invocationFailed
public void invocationFailed (FailureDescription failure)
zgłasza niepełne wywołanie z powodu błędu.
Będzie wywoływany automatycznie przez platformę TradeFederation.
Parametry | |
---|---|
failure |
FailureDescription : FailureDescription opisujący przyczynę niepowodzenia |
invocationFailed
public void invocationFailed (Throwable cause)
zgłasza niepełne wywołanie z powodu błędu.
Będzie wywoływany automatycznie przez platformę TradeFederation.
Parametry | |
---|---|
cause |
Throwable : przyczyna niepowodzenia Throwable |
invocationStarted
public void invocationStarted (IInvocationContext context)
Raportuje rozpoczęcie wywołania testu.
Będzie wywoływany automatycznie przez platformę TradeFederation. Aby umożliwić raportowanie z kilku urządzeń, autorzy raportów muszą zastąpić tę metodę.
Parametry | |
---|---|
context |
IInvocationContext : informacje o wywołaniu; |
Chronione metody
beforeModuleStart
protected void beforeModuleStart ()