TestGroupStatusTestGroupStatus

public class TestGroupStatus
extends Object

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


Une classe pour stocker le statut d'un groupe de test.

Un groupe de test correspond à un groupe de cas de test signalés sous un même nom d'exécution 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

TestGroupStatusTestGroupStatus

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

getFailedTestCountgetFailedTestCount

public int getFailedTestCount ()

Retour
int

obtenirNom

public String getName ()

Retour
String

getPassedTestCount

public int getPassedTestCount ()

Retour
int

getTotalTestCount

public int getTotalTestCount ()

Retour
int

est complet

public boolean isComplete ()

Retour
boolean

versJSON

public JSONObject toJSON ()

Retour
JSONObject

Lance
JSONException