StreamProtoResultReporter
public
final
class
StreamProtoResultReporter
extends ProtoResultReporter
| java.lang.Object | ||
| ↳ | com.android.tradefed.result.proto.ProtoResultReporter | |
| ↳ | com.android.tradefed.result.proto.StreamProtoResultReporter | |
Implementacja ProtoResultReporter
Podsumowanie
Fieldsem | |
|---|---|
public
static
final
String |
PROTO_REPORT_PORT_OPTION
|
Konstruktory publiczne | |
|---|---|
StreamProtoResultReporter()
|
|
Metody publiczne | |
|---|---|
Integer
|
getProtoReportPort()
|
void
|
processFinalProto(TestRecordProto.TestRecord finalRecord)
Obsługa ostatecznego protokołu ze wszystkimi wynikami. |
void
|
processStartInvocation(TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)
Obsługa protokołu rekordu testu częściowego wywołania po wystąpieniu |
void
|
processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)
Obsługa zakończonego rekordu przypadku testowego proto po wystąpieniu |
void
|
processTestCaseStarted(TestRecordProto.TestRecord testCaseStartedRecord)
Obsługa protokołu rekordu częściowego przypadku testowego po wystąpieniu |
void
|
processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)
Obsługa prototypu rekordu sfinalizowanego modułu po wystąpieniu |
void
|
processTestModuleStarted(TestRecordProto.TestRecord moduleStartRecord)
Obsługa protokołu rekordu częściowego modułu po wystąpieniu |
void
|
processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)
Obsługa protokołu rekordu uruchomienia po zakończeniu |
void
|
processTestRunStarted(TestRecordProto.TestRecord runStartedRecord)
Obsługa rekordu proto typu partial test run po wystąpieniu błędu |
void
|
setProtoReportPort(Integer portValue)
|
Fieldsem
PROTO_REPORT_PORT_OPTION
public static final String PROTO_REPORT_PORT_OPTION
Konstruktory publiczne
StreamProtoResultReporter
public StreamProtoResultReporter ()
Metody publiczne
getProtoReportPort
public Integer getProtoReportPort ()
| Zwroty | |
|---|---|
Integer |
|
processFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
Obsługa ostatecznego protokołu ze wszystkimi wynikami.
| Parametry | |
|---|---|
finalRecord |
TestRecordProto.TestRecord: sfinalizowany prototyp ze wszystkimi wynikami wywołania.
|
processStartInvocation
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord,
IInvocationContext context)Obsługa protokołu rekordu testu częściowego wywołania po wystąpieniu invocationStarted(com.android.tradefed.invoker.IInvocationContext).
| Parametry | |
|---|---|
invocationStartRecord |
TestRecordProto.TestRecord: częściowy proto wypełniony po wywołaniu invocationStart. |
context |
IInvocationContext: wywołanie IInvocationContext.
|
processTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
Obsługa zakończonego rekordu przypadku testowego proto po wystąpieniu ITestLifeCycleReceiver.testEnded(com.android.tradefed.result.TestDescription, long, HashMap).
| Parametry | |
|---|---|
testCaseRecord |
TestRecordProto.TestRecord: sfinalizowany prototyp reprezentujący element testowania.
|
processTestCaseStarted
public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)
Obsługa protokołu rekordu częściowego przypadku testowego po wystąpieniu testStarted(com.android.tradefed.result.TestDescription, long).
| Parametry | |
|---|---|
testCaseStartedRecord |
TestRecordProto.TestRecord: częściowy proto reprezentujący element testowania.
|
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
Obsługa prototypu rekordu sfinalizowanego modułu po wystąpieniu testModuleEnded().
| Parametry | |
|---|---|
moduleRecord |
TestRecordProto.TestRecord: gotowy prototyp reprezentujący moduł.
|
processTestModuleStarted
public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)
Obsługa protokołu rekordu częściowego modułu po wystąpieniu testModuleStarted(com.android.tradefed.invoker.IInvocationContext).
| Parametry | |
|---|---|
moduleStartRecord |
TestRecordProto.TestRecord: częściowy proto reprezentujący moduł.
|
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord,
boolean moduleInProgress)Obsługa protokołu rekordu uruchomienia po zakończeniu ITestLifeCycleReceiver.testRunEnded(long, HashMap).
| Parametry | |
|---|---|
runRecord |
TestRecordProto.TestRecord: sfinalizowany prototyp reprezentujący uruchomienie. |
moduleInProgress |
boolean: czy moduł jest w toku.
|
processTestRunStarted
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
Obsługa rekordu proto typu partial test run po wystąpieniu błędu testRunStarted(String, int).
| Parametry | |
|---|---|
runStartedRecord |
TestRecordProto.TestRecord: częściowy prototyp reprezentujący uruchomienie.
|
setProtoReportPort
public void setProtoReportPort (Integer portValue)
| Parametry | |
|---|---|
portValue |
Integer |