StreamProtoResultReporter
public final class StreamProtoResultReporter
extends ProtoResultReporter
java.lang.Object | ||
↳ | com.android.tradefed.result.proto.ProtoResultReporter | |
↳ | com.android.tradefed.result.proto.StreamProtoResultReporter |
概要
領域 | |
---|---|
public static final String | PROTO_REPORT_PORT_OPTION
|
公共建設者 | |
---|---|
StreamProtoResultReporter () |
公開方法 | |
---|---|
Integer | getProtoReportPort () |
void | processFinalProto (TestRecordProto.TestRecord finalRecord) 處理所有結果的最終原型。 |
void | processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context) 發生 |
void | processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord) 在發生 |
void | processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord) 在 |
void | processTestModuleEnd (TestRecordProto.TestRecord moduleRecord) 在 |
void | processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord) 在 |
void | processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress) 在 |
void | processTestRunStarted (TestRecordProto.TestRecord runStartedRecord) 在出現 |
void | setProtoReportPort (Integer portValue) |
領域
PROTO_REPORT_PORT_OPTION
public static final String PROTO_REPORT_PORT_OPTION
公共建設者
StreamProtoResultReporter
public StreamProtoResultReporter ()
公開方法
getProtoReportPort
public Integer getProtoReportPort ()
退貨 | |
---|---|
Integer |
processFinalProto
public void processFinalProto (TestRecordProto.TestRecord finalRecord)
處理所有結果的最終原型。
參量 | |
---|---|
finalRecord | TestRecordProto.TestRecord :帶有所有調用結果的最終原型。 |
processStartInvocation
public void processStartInvocation (TestRecordProto.TestRecord invocationStartRecord, IInvocationContext context)
發生invocationStarted(com.android.tradefed.invoker.IInvocationContext)
之後處理部分調用測試記錄原型。
參量 | |
---|---|
invocationStartRecord | TestRecordProto.TestRecord :invocationStart之後填充的部分協議。 |
context | IInvocationContext :調用IInvocationContext 。 |
processTestCaseEnded
public void processTestCaseEnded (TestRecordProto.TestRecord testCaseRecord)
在發生ITestLifeCycleReceiver.testEnded(com.android.tradefed.result.TestDescription, long, HashMap)
之後處理最終的測試用例記錄原型。
參量 | |
---|---|
testCaseRecord | TestRecordProto.TestRecord :表示測試案例的最終原型。 |
processTestCaseStarted
public void processTestCaseStarted (TestRecordProto.TestRecord testCaseStartedRecord)
在testStarted(com.android.tradefed.result.TestDescription, long)
發生後處理部分測試用例記錄原型。
參量 | |
---|---|
testCaseStartedRecord | TestRecordProto.TestRecord :表示測試用例的部分原型。 |
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
在testModuleEnded()
發生後處理最終的模塊記錄原型。
參量 | |
---|---|
moduleRecord | TestRecordProto.TestRecord :表示模塊的最終原型。 |
processTestModuleStarted
public void processTestModuleStarted (TestRecordProto.TestRecord moduleStartRecord)
在testModuleStarted(com.android.tradefed.invoker.IInvocationContext)
發生後處理部分模塊記錄原型。
參量 | |
---|---|
moduleStartRecord | TestRecordProto.TestRecord :表示模塊的部分原型。 |
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord, boolean moduleInProgress)
在ITestLifeCycleReceiver.testRunEnded(long, HashMap)
發生後處理最終運行記錄原型。
參量 | |
---|---|
runRecord | TestRecordProto.TestRecord :表示運行的最終原型。 |
moduleInProgress | boolean :模塊是否在進行中。 |
processTestRunStarted
public void processTestRunStarted (TestRecordProto.TestRecord runStartedRecord)
在出現testRunStarted(String, int)
之後處理部分測試運行記錄原型。
參量 | |
---|---|
runStartedRecord | TestRecordProto.TestRecord :表示運行的部分原型。 |
setProtoReportPort
public void setProtoReportPort (Integer portValue)
參量 | |
---|---|
portValue | Integer |