SuiteResultReporter

public class SuiteResultReporter
extends CollectingTestListener

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


收集整個套件叫用作業的測試結果,並輸出最終結果。

摘要

巢狀類別

class SuiteResultReporter.ModulePrepTimes

物件容器,用於單一模組的準備和拆卸時間。 

欄位

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