สถานะกลุ่มทดสอบ

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)

วิธีการสาธารณะ

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

ผู้รับเหมาก่อสร้างสาธารณะ

สถานะกลุ่มทดสอบ

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

วิธีการสาธารณะ

รับ CompleteTestCount

public int getCompletedTestCount ()

การส่งคืน
int

getElapsedTime

public long getElapsedTime ()

การส่งคืน
long

getFailedTestCount

public int getFailedTestCount ()

การส่งคืน
int

รับชื่อ

public String getName ()

การส่งคืน
String

getPassedTestCount

public int getPassedTestCount ()

การส่งคืน
int

รับ TotalTestCount

public int getTotalTestCount ()

การส่งคืน
int

เสร็จสมบูรณ์

public boolean isComplete ()

การส่งคืน
boolean

ถึง JSON

public JSONObject toJSON ()

การส่งคืน
JSONObject

ขว้าง
JSONException