MetricsXMLResultReporter
public
class
MetricsXMLResultReporter
extends CollectingTestListener
| java.lang.Object | ||
| ↳ | com.android.tradefed.result.CollectingTestListener | |
| ↳ | com.android.tradefed.result.MetricsXMLResultReporter | |
MetricsXMLResultReporter は、テストの invocationEnded フェーズで、metrics-folder パラメータで指定されたフォルダ内の XML ファイルにテスト指標と実行指標を書き込みます。XML ファイルは、回帰を検出するアルゴリズムにパイプで渡されます。
実行指標マップのすべての k-v ペアは、
実行指標マップのすべての k-v ペアは、
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 |