StatusGrupoTeste
public
class
TestGroupStatus
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.TestGroupStatus |
Uma classe para armazenar o status de um grupo de testes.
Um grupo de teste corresponde a um grupo de casos de teste relatados com um mesmo nome de execução de teste.
Resumo
Construtores públicos | |
---|---|
TestGroupStatus(String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime)
|
Métodos públicos | |
---|---|
int
|
getCompletedTestCount()
|
long
|
getElapsedTime()
|
int
|
getFailedTestCount()
|
String
|
getName()
|
int
|
getPassedTestCount()
|
int
|
getTotalTestCount()
|
boolean
|
isComplete()
|
JSONObject
|
toJSON()
|
Construtores públicos
StatusGrupoTeste
public TestGroupStatus (String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime)
Parâmetros | |
---|---|
name |
String |
totalTestCount |
int |
completedTestCount |
int |
failedTestCount |
int |
passedTestCount |
int |
isComplete |
boolean |
elapsedTime |
long |
Métodos públicos
getCompletedTestCount
public int getCompletedTestCount ()
Retorna | |
---|---|
int |
getElapsedTime
public long getElapsedTime ()
Retorna | |
---|---|
long |
getFailedTestCount
public int getFailedTestCount ()
Retorna | |
---|---|
int |
getName
public String getName ()
Retorna | |
---|---|
String |
getPassedTestCount
public int getPassedTestCount ()
Retorna | |
---|---|
int |
getTotalTestCount
public int getTotalTestCount ()
Retorna | |
---|---|
int |
isComplete
public boolean isComplete ()
Retorna | |
---|---|
boolean |
toJSON
public JSONObject toJSON ()
Retorna | |
---|---|
JSONObject |
Gera | |
---|---|
JSONException |