TestGroupStatus

public class TestGroupStatus
extends Object

java.lang.Object
   ↳ com.android.tradefed.cluster.TestGroupStatus


Một lớp để lưu trữ trạng thái của một nhóm kiểm thử.

Một nhóm kiểm thử tương ứng với một nhóm các trường hợp kiểm thử được báo cáo theo cùng một tên lần chạy kiểm thử.

Tóm tắt

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

TestGroupStatus(String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime)

Phương thức công khai

int getCompletedTestCount()
long getElapsedTime()
int getFailedTestCount()
String getName()
int getPassedTestCount()
int getTotalTestCount()
boolean isComplete()
JSONObject toJSON()

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

TestGroupStatus

public TestGroupStatus (String name, 
                int totalTestCount, 
                int completedTestCount, 
                int failedTestCount, 
                int passedTestCount, 
                boolean isComplete, 
                long elapsedTime)

Tham số
name String

totalTestCount int

completedTestCount int

failedTestCount int

passedTestCount int

isComplete boolean

elapsedTime long

Phương thức công khai

getCompletedTestCount

public int getCompletedTestCount ()

Giá trị trả về
int

getElapsedTime

public long getElapsedTime ()

Giá trị trả về
long

getFailedTestCount

public int getFailedTestCount ()

Giá trị trả về
int

getName

public String getName ()

Giá trị trả về
String

getPassedTestCount

public int getPassedTestCount ()

Giá trị trả về
int

getTotalTestCount

public int getTotalTestCount ()

Giá trị trả về
int

isComplete

public boolean isComplete ()

Giá trị trả về
boolean

toJSON

public JSONObject toJSON ()

Giá trị trả về
JSONObject

Gửi
JSONException