SuiteResultReporter
public
class
SuiteResultReporter
extends CollectingTestListener
java.lang.Object | ||
↳ | com.android.tradefed.result.CollectingTestListener | |
↳ | com.android.tradefed.result.suite.SuiteResultReporter |
Collect test results for an entire suite invocation and output the final results.
Summary
Nested classes | |
---|---|
class |
SuiteResultReporter.ModulePrepTimes
Object holder for the preparation and tear down time of one module. |
Fields | |
---|---|
public
static
final
String |
SUITE_REPORTER_SOURCE
|
Public constructors | |
---|---|
SuiteResultReporter()
|
Public methods | |
---|---|
int
|
getCompleteModules()
|
long
|
getFailedTests()
|
|
getModulesAbi()
Returns a map of modules abi: |
long
|
getPassedTests()
|
TestSummary
|
getSummary()
|
int
|
getTotalModules()
|
long
|
getTotalTests()
|
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationStarted(IInvocationContext context)
|
void
|
testModuleStarted(IInvocationContext moduleContext)
|
Protected methods | |
---|---|
long
|
getCurrentTime()
|
long
|
getEndTime()
Returns the end time of the invocation. |
long
|
getStartTime()
Returns the start time of the invocation. |
Fields
SUITE_REPORTER_SOURCE
public static final String SUITE_REPORTER_SOURCE
Public constructors
SuiteResultReporter
public SuiteResultReporter ()
Public methods
getCompleteModules
public int getCompleteModules ()
Returns | |
---|---|
int |
getFailedTests
public long getFailedTests ()
Returns | |
---|---|
long |
getModulesAbi
publicgetModulesAbi ()
Returns a map of modules abi:
Returns | |
---|---|
|
getPassedTests
public long getPassedTests ()
Returns | |
---|---|
long |
getSummary
public TestSummary getSummary ()
Returns | |
---|---|
TestSummary |
getTotalModules
public int getTotalModules ()
Returns | |
---|---|
int |
getTotalTests
public long getTotalTests ()
Returns | |
---|---|
long |
invocationEnded
public void invocationEnded (long elapsedTime)
Parameters | |
---|---|
elapsedTime |
long |
invocationStarted
public void invocationStarted (IInvocationContext context)
Parameters | |
---|---|
context |
IInvocationContext |
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
Parameters | |
---|---|
moduleContext |
IInvocationContext |
Protected methods
getCurrentTime
protected long getCurrentTime ()
Returns | |
---|---|
long |
getEndTime
protected long getEndTime ()
Returns the end time of the invocation.
Returns | |
---|---|
long |
getStartTime
protected long getStartTime ()
Returns the start time of the invocation.
Returns | |
---|---|
long |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2020-09-08 (世界標準時間)。
[]
[]