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 thử nghiệm.
Một nhóm thử nghiệm tương ứng với một nhóm các trường hợp thử nghiệm được báo cáo dưới cùng một tên chạy thử nghiệm.
Tóm lược
Các nhà xây dựng công cộng |
---|
TestGroupStatus (String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime) |
Các nhà xây dựng công cộng
TestGroupStatus
public TestGroupStatus (String name,
int totalTestCount,
int completedTestCount,
int failedTestCount,
int passedTestCount,
boolean isComplete,
long elapsedTime)
Thông số |
---|
name | String |
totalTestCount | int |
completedTestCount | int |
failedTestCount | int |
passedTestCount | int |
isComplete | boolean |
elapsedTime | long |
Phương pháp công khai
getCompletedTestCount
public int getCompletedTestCount ()
getElapsedTime
public long getElapsedTime ()
getFailedTestCount
public int getFailedTestCount ()
getName
public String getName ()
getPassedTestCount
public int getPassedTestCount ()
getTotalTestCount
public int getTotalTestCount ()
hoàn tất
public boolean isComplete ()
toJSON
public JSONObject toJSON ()