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) |
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 ()
pobierzCzas, który upłynął
public long getElapsedTime ()
getFailedTestCount
public int getFailedTestCount ()
pobierzNazwę
public String getName ()
getPassedTestCount
public int getPassedTestCount ()
pobierz całkowitą liczbę testów
public int getTotalTestCount ()
jest gotowy
public boolean isComplete ()
doJSON
public JSONObject toJSON ()