สถานะกลุ่มทดสอบ
public class TestGroupStatus
extends Object
java.lang.Object |
↳ | com.android.tradefed.cluster.TestGroupStatus |
ชั้นเก็บสถานะของกลุ่มทดสอบ
กลุ่มการทดสอบสอดคล้องกับกลุ่มของกรณีทดสอบที่รายงานภายใต้ชื่อการทดสอบเดียวกัน
สรุป
ผู้สร้างสาธารณะ |
---|
TestGroupStatus (String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime) |
ผู้สร้างสาธารณะ
สถานะกลุ่มทดสอบ
public TestGroupStatus (String name,
int totalTestCount,
int completedTestCount,
int failedTestCount,
int passedTestCount,
boolean isComplete,
long elapsedTime)
พารามิเตอร์ |
---|
name | String |
totalTestCount | int |
completedTestCount | int |
failedTestCount | int |
passedTestCount | int |
isComplete | boolean |
elapsedTime | long |
วิธีการสาธารณะ
getCompletedTestCount
public int getCompletedTestCount ()
รับเวลาที่ผ่านไป
public long getElapsedTime ()
getFailedTestCount
public int getFailedTestCount ()
รับชื่อ
public String getName ()
getPassedTestCount
public int getPassedTestCount ()
รับ TotalTestCount
public int getTotalTestCount ()
เสร็จสมบูรณ์
public boolean isComplete ()
ถึงJSON
public JSONObject toJSON ()