StreamProtoResultReporter
public
final
class
StreamProtoResultReporter
extends ProtoResultReporter
| java.lang.Object | ||
| ↳ | com.android.tradefed.result.proto.ProtoResultReporter | |
| ↳ | com.android.tradefed.result.proto.StreamProtoResultReporter | |
An implementation of ProtoResultReporter
Summary
Fields | |
|---|---|
public
static
final
String |
PROTO_REPORT_PORT_OPTION
|
Public constructors | |
|---|---|
StreamProtoResultReporter()
|
|
Public methods | |
|---|---|
Integer
|
getProtoReportPort()
|
void
|
processFinalProto(TestRecordProto.TestRecord finalRecord)
Handling of the final proto with all results. |
void
|
processStartInvocation(TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)
Handling of the partial invocation test record proto after |
void
|
processTestCaseEnded(TestRecordProto.TestRecord testCaseRecord)
Handling of the finalized test case record proto after |
void
|
processTestCaseStarted(TestRecordProto.TestRecord testCaseStartedRecord)
Handling of the partial test case record proto after |
void
|
processTestModuleEnd(TestRecordProto.TestRecord moduleRecord)
Handling of the finalized module record proto after |
void
|
processTestModuleStarted(TestRecordProto.TestRecord moduleStartRecord)
Handling of the partial module record proto after |
void
|
processTestRunEnded(TestRecordProto.TestRecord runRecord, boolean moduleInProgress)
Handling of the finalized run record proto after |
void
|
processTestRunStarted(TestRecordProto.TestRecord runStartedRecord)
Handling of the partial test run record proto after |
void
|
setProtoReportPort(Integer portValue)
|
Fields
PROTO_REPORT_PORT_OPTION
public static final String PROTO_REPORT_PORT_OPTION
Public constructors
StreamProtoResultReporter
public StreamProtoResultReporter ()
Public methods
getProtoReportPort
public Integer getProtoReportPort ()
| Returns | |
|---|---|
Integer |
|
processFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
Handling of the final proto with all results.
| Parameters | |
|---|---|
finalRecord |
TestRecordProto.TestRecord: The finalized proto with all the invocation results.
|
processStartInvocation
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord,
IInvocationContext context)Handling of the partial invocation test record proto after invocationStarted(com.android.tradefed.invoker.IInvocationContext) occurred.
| Parameters | |
|---|---|
invocationStartRecord |
TestRecordProto.TestRecord: The partial proto populated after the invocationStart. |
context |
IInvocationContext: The invocation IInvocationContext.
|
processTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
Handling of the finalized test case record proto after ITestLifeCycleReceiver.testEnded(com.android.tradefed.result.TestDescription, long, HashMap) occurred.
| Parameters | |
|---|---|
testCaseRecord |
TestRecordProto.TestRecord: The finalized proto representing a test case.
|
processTestCaseStarted
public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)
Handling of the partial test case record proto after testStarted(com.android.tradefed.result.TestDescription, long) occurred.
| Parameters | |
|---|---|
testCaseStartedRecord |
TestRecordProto.TestRecord: The partial proto representing the test case.
|
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
Handling of the finalized module record proto after testModuleEnded() occurred.
| Parameters | |
|---|---|
moduleRecord |
TestRecordProto.TestRecord: The finalized proto representing the module.
|
processTestModuleStarted
public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)
Handling of the partial module record proto after testModuleStarted(com.android.tradefed.invoker.IInvocationContext) occurred.
| Parameters | |
|---|---|
moduleStartRecord |
TestRecordProto.TestRecord: The partial proto representing the module.
|
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord,
boolean moduleInProgress)Handling of the finalized run record proto after ITestLifeCycleReceiver.testRunEnded(long, HashMap)
occurred.
| Parameters | |
|---|---|
runRecord |
TestRecordProto.TestRecord: The finalized proto representing the run. |
moduleInProgress |
boolean: whether or not a module is in progress.
|
processTestRunStarted
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
Handling of the partial test run record proto after testRunStarted(String, int)
occurred.
| Parameters | |
|---|---|
runStartedRecord |
TestRecordProto.TestRecord: The partial proto representing the run.
|
setProtoReportPort
public void setProtoReportPort (Integer portValue)
| Parameters | |
|---|---|
portValue |
Integer |