SuiteResultReporter

public class SuiteResultReporter
extends CollectingTestListener

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


Thu thập kết quả kiểm thử cho toàn bộ lệnh gọi bộ kiểm thử và xuất kết quả cuối cùng.

Tóm tắt

Lớp lồng ghép

class SuiteResultReporter.ModulePrepTimes

Chủ sở hữu đối tượng để chuẩn bị và tháo dỡ thời gian của một mô-đun. 

Trường

public static final String SUITE_REPORTER_SOURCE

Hàm khởi tạo công khai

SuiteResultReporter()

Phương thức công khai

int getCompleteModules()
long getFailedTests()
getModulesAbi()

Trả về một bản đồ của các mô-đun abi: .

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

void invocationStarted(IInvocationContext context)

void testModuleStarted(IInvocationContext moduleContext)

Phương thức được bảo vệ

long getCurrentTime()
long getEndTime()

Trả về thời gian kết thúc lệnh gọi.

long getStartTime()

Trả về thời gian bắt đầu của lệnh gọi.

Trường

SUITE_REPORTER_SOURCE

public static final String SUITE_REPORTER_SOURCE

Hàm khởi tạo công khai

SuiteResultReporter

public SuiteResultReporter ()

Phương thức công khai

getCompleteModules

public int getCompleteModules ()

Giá trị trả về
int

getFailedTests

public long getFailedTests ()

Giá trị trả về
long

getModulesAbi

public  getModulesAbi ()

Trả về một bản đồ của các mô-đun abi: .

Giá trị trả về

getPassedTests

public long getPassedTests ()

Giá trị trả về
long

getSummary

public TestSummary getSummary ()

Giá trị trả về
TestSummary

getTotalModules

public int getTotalModules ()

Giá trị trả về
int

getTotalTests

public long getTotalTests ()

Giá trị trả về
long

invocationEnded

public void invocationEnded (long elapsedTime)

Tham số
elapsedTime long

invocationStarted

public void invocationStarted (IInvocationContext context)

Tham số
context IInvocationContext

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Tham số
moduleContext IInvocationContext

Phương thức được bảo vệ

getCurrentTime

protected long getCurrentTime ()

Giá trị trả về
long

getEndTime

protected long getEndTime ()

Trả về thời gian kết thúc lệnh gọi.

Giá trị trả về
long

getStartTime

protected long getStartTime ()

Trả về thời gian bắt đầu của lệnh gọi.

Giá trị trả về
long