Statut du groupe de tests

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 tests correspond à un groupe de scénarios de tests 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

Statut du groupe de tests

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

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

Jetés
JSONException