Stan grupy testowej

public class TestGroupStatus
extends Object

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


Klasa do przechowywania statusu grupy testowej.

Grupa testów odpowiada grupie przypadków testowych zgłoszonych pod tą samą nazwą przebiegu testu.

Streszczenie

Konstruktory publiczne

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

Metody publiczne

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

Konstruktory publiczne

Stan grupy testowej

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

Parametry
name String

totalTestCount int

completedTestCount int

failedTestCount int

passedTestCount int

isComplete boolean

elapsedTime long

Metody publiczne

getCompletedTestCount

public int getCompletedTestCount ()

Zwroty
int

pobierzCzas, który upłynął

public long getElapsedTime ()

Zwroty
long

getFailedTestCount

public int getFailedTestCount ()

Zwroty
int

pobierzNazwę

public String getName ()

Zwroty
String

getPassedTestCount

public int getPassedTestCount ()

Zwroty
int

pobierz całkowitą liczbę testów

public int getTotalTestCount ()

Zwroty
int

jest gotowy

public boolean isComplete ()

Zwroty
boolean

doJSON

public JSONObject toJSON ()

Zwroty
JSONObject

Rzuty
JSONException