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
publicgetModulesAbi ()
모듈 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 |