Trạng thái nhóm kiểm tra
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.
Nhóm thử nghiệm tương ứng với một nhóm 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.
Bản tóm tắt
Nhà thầu xây dựng công cộng |
---|
TestGroupStatus (String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime) |
Nhà thầu xây dựng công cộng
Trạng thái nhóm kiểm tra
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 cộng
getCompletedTestCount
public int getCompletedTestCount ()
getElapsedTime
public long getElapsedTime ()
getFailedTestCount
public int getFailedTestCount ()
lấy tên
public String getName ()
getPassedTestCount
public int getPassedTestCount ()
getTotalTestCount
public int getTotalTestCount ()
hoàn tất
public boolean isComplete ()
tớiJSON
public JSONObject toJSON ()