TestGroupStatus

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()

पब्लिक कंस्ट्रक्टर

TestGroupStatus

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 ()

रिटर्न
int

getElapsedTime

public long getElapsedTime ()

रिटर्न
long

getFailedTestCount

public int getFailedTestCount ()

रिटर्न
int

getName

public String getName ()

रिटर्न
String

getPassedTestCount

public int getPassedTestCount ()

रिटर्न
int

getTotalTestCount

public int getTotalTestCount ()

रिटर्न
int

isComplete

public boolean isComplete ()

रिटर्न
boolean

toJSON

public JSONObject toJSON ()

रिटर्न
JSONObject

थ्रो
JSONException