TestGroupStatus

public class TestGroupStatus
extends Object

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


Une classe pour stocker l'état d'un groupe de test.

Un groupe de tests correspond à un groupe de cas de test signalés sous un même nom de test.

Résumé

Constructeurs publics

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

Méthodes publiques

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

Constructeurs publics

TestGroupStatus

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

Paramètres
name String

totalTestCount int

completedTestCount int

failedTestCount int

passedTestCount int

isComplete boolean

elapsedTime long

Méthodes publiques

getCompletedTestCount

public int getCompletedTestCount ()

Retour
int

getElapsedTime

public long getElapsedTime ()

Retour
long

getFailedTestCount

public int getFailedTestCount ()

Retour
int

getName

public String getName ()

Retour
String

getPassedTestCount

public int getPassedTestCount ()

Retour
int

getTotalTestCount

public int getTotalTestCount ()

Retour
int

est complet

public boolean isComplete ()

Retour
boolean

toJSON

public JSONObject toJSON ()

Retour
JSONObject

Jette
JSONException