MetricsXMLResultReporter
public
class
MetricsXMLResultReporter
extends CollectingTestListener
java.lang.Object 中 | ||
↳ | com.android.tradefed.result.CollectingTestListener | |
↳ | com.android.tradefed.result.MetricsXMLResultReporter |
MetricsXMLResultReporter 将测试指标和运行指标写入指定文件夹内的 XML 文件中 。该 XML 文件将通过管道 转换为用于检测回归的算法。
所有 k-v paris in run 指标映射都将格式化为
运行指标映射中的所有 k-v paris 都将设置为:
XML 格式示例:
摘要
公共构造函数 | |
---|---|
MetricsXMLResultReporter()
|
公共方法 | |
---|---|
OutputStream
|
createOutputStream()
|
String
|
getTimeStamp()
以 |
void
|
invocationEnded(long elapsedTime)
|
公共构造函数
MetricsXMLResultReporter
public MetricsXMLResultReporter ()
公共方法
createOutputStream
public OutputStream createOutputStream ()
返回 | |
---|---|
OutputStream |
invocationEnded
public void invocationEnded (long elapsedTime)
参数 | |
---|---|
elapsedTime |
long |