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)
が発生した後の部分呼び出しテストレコードprotoの処理。
パラメーター | |
---|---|
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)
が発生した後の部分的なテスト実行レコードprotoの処理。
パラメーター | |
---|---|
runStartedRecord | TestRecordProto.TestRecord :実行を表す部分的なプロト。 |
setProtoReportPort
public void setProtoReportPort (Integer portValue)
パラメーター | |
---|---|
portValue | Integer |