指標XMLResultReporter
public class MetricsXMLResultReporter
extends CollectingTestListener
java.lang.Object | ||
↳ | com.android.tradefed.result.CollectingTestListener | |
↳ | com.android.tradefed.result.MetricsXMLResultReporter |
MetricsXMLResultReporter在測試的invocationEnded階段,將測試指標和運行指標寫入XML文件夾中的metrics-folder參數指定的文件夾中。 XML文件將通過管道傳遞到算法中以檢測回歸。
運行指標地圖中的所有巴黎巴黎會被格式化為:
運行指標映射中的所有巴黎巴黎會被格式化為:
XML格式樣本:
概要
公共建設者 | |
---|---|
MetricsXMLResultReporter () |
公開方法 | |
---|---|
OutputStream | createOutputStream () |
String | getTimeStamp () 以 |
void | invocationEnded (long elapsedTime)
|
公共建設者
指標XMLResultReporter
public MetricsXMLResultReporter ()
公開方法
createOutputStream
public OutputStream createOutputStream ()
退貨 | |
---|---|
OutputStream |
調用結束
public void invocationEnded (long elapsedTime)
參量 | |
---|---|
elapsedTime | long |