TestGroupStatus

public class TestGroupStatus
extends Object

java.lang.Object
com.android.tradefed.cluster.TestGroupStatus


Eine Klasse zum Speichern des Status einer Testgruppe.

Eine Testgruppe entspricht einer Gruppe von Testfällen, die unter demselben Testlaufnamen gemeldet werden.

Zusammenfassung

Öffentliche Bauträger

TestGroupStatus (String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime)

Öffentliche Methoden

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

Öffentliche Bauträger

TestGroupStatus

public TestGroupStatus (String name, 
                int totalTestCount, 
                int completedTestCount, 
                int failedTestCount, 
                int passedTestCount, 
                boolean isComplete, 
                long elapsedTime)

Parameter
name String

totalTestCount int

completedTestCount int

failedTestCount int

passedTestCount int

isComplete boolean

elapsedTime long

Öffentliche Methoden

getCompletedTestCount

public int getCompletedTestCount ()

Kehrt zurück
int

getElapsedTime

public long getElapsedTime ()

Kehrt zurück
long

getFailedTestCount

public int getFailedTestCount ()

Kehrt zurück
int

getName

public String getName ()

Kehrt zurück
String

getPassedTestCount

public int getPassedTestCount ()

Kehrt zurück
int

getTotalTestCount

public int getTotalTestCount ()

Kehrt zurück
int

ist komplett

public boolean isComplete ()

Kehrt zurück
boolean

toJSON

public JSONObject toJSON ()

Kehrt zurück
JSONObject

Würfe
JSONException