SuiteResultReporter

public class SuiteResultReporter
extends CollectingTestListener

java.lang.Object
   ↳ com.android.tradefed.result.CollectingTestListener
     ↳ com.android.tradefed.result.suite.SuiteResultReporter


スイート呼び出し全体のテスト結果を収集し、最終結果を出力します。

概要

ネストされたクラス

class SuiteResultReporter.ModulePrepTimes

1 つのモジュールの準備時間と撤去時間のオブジェクト ホルダー。 

フィールド

public static final String SUITE_REPORTER_SOURCE

パブリック コンストラクタ

SuiteResultReporter()

パブリック メソッド

int getCompleteModules()
long getFailedTests()
getModulesAbi()

モジュール ABI のマップを返します。

long getPassedTests()
TestSummary getSummary()
int getTotalModules()
long getTotalTests()
void invocationEnded(long elapsedTime)

void invocationStarted(IInvocationContext context)

void testModuleStarted(IInvocationContext moduleContext)

保護されたメソッド

long getCurrentTime()
long getEndTime()

呼び出しの終了時間を返します。

long getStartTime()

呼び出しの開始時間を返します。

フィールド

SUITE_REPORTER_SOURCE

public static final String SUITE_REPORTER_SOURCE

パブリック コンストラクタ

SuiteResultReporter

public SuiteResultReporter ()

パブリック メソッド

getCompleteModules

public int getCompleteModules ()

戻り値
int

getFailedTests

public long getFailedTests ()

戻り値
long

getModulesAbi

public  getModulesAbi ()

モジュール ABI のマップを返します。

戻り値

getPassedTests

public long getPassedTests ()

戻り値
long

getSummary

public TestSummary getSummary ()

戻り値
TestSummary

getTotalModules

public int getTotalModules ()

戻り値
int

getTotalTests

public long getTotalTests ()

戻り値
long

invocationEnded

public void invocationEnded (long elapsedTime)

パラメータ
elapsedTime long

invocationStarted

public void invocationStarted (IInvocationContext context)

パラメータ
context IInvocationContext

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

パラメータ
moduleContext IInvocationContext

保護されたメソッド

getCurrentTime

protected long getCurrentTime ()

戻り値
long

getEndTime

protected long getEndTime ()

呼び出しの終了時間を返します。

戻り値
long

getStartTime

protected long getStartTime ()

呼び出しの開始時間を返します。

戻り値
long