Stato gruppo di prova

public class TestGroupStatus
extends Object

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


Una classe per memorizzare lo stato di un gruppo di test.

Un gruppo di test corrisponde a un gruppo di casi di test riportati con lo stesso nome di esecuzione del test.

Riepilogo

Costruttori pubblici

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

Metodi pubblici

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

Costruttori pubblici

Stato gruppo di prova

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

Parametri
name String

totalTestCount int

completedTestCount int

failedTestCount int

passedTestCount int

isComplete boolean

elapsedTime long

Metodi pubblici

getCompletedTestCount

public int getCompletedTestCount ()

ritorna
int

getElapsedTime

public long getElapsedTime ()

ritorna
long

getFailedTestCount

public int getFailedTestCount ()

ritorna
int

getNome

public String getName ()

ritorna
String

getPassedTestCount

public int getPassedTestCount ()

ritorna
int

getTotalTestCount

public int getTotalTestCount ()

ritorna
int

è completo

public boolean isComplete ()

ritorna
boolean

aJSON

public JSONObject toJSON ()

ritorna
JSONObject

Lancia
JSONException