TestGroupStatus

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 registrati 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

TestGroupStatus

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 ()

Ritorni
int

getElapsedTime

public long getElapsedTime ()

Ritorni
long

getFailedTestCount

public int getFailedTestCount ()

Ritorni
int

getName

public String getName ()

Ritorni
String

getPassedTestCount

public int getPassedTestCount ()

Ritorni
int

getTotalTestCount

public int getTotalTestCount ()

Ritorni
int

isComplete

public boolean isComplete ()

Ritorni
boolean

toJSON

public JSONObject toJSON ()

Ritorni
JSONObject

Lanci
JSONException