SubprocessEventHelper.TestEndedEventInfo

public static class SubprocessEventHelper.TestEndedEventInfo
extends SubprocessEventHelper.BaseTestEventInfo

java.lang.Object
   ↳ com.android.tradefed.util.SubprocessEventHelper.BaseTestEventInfo
     ↳ com.android.tradefed.util.SubprocessEventHelper.TestEndedEventInfo


Auxiliar para informações de testEnded.

Resumo

Campos

public Long mEndTime

public mRunMetrics

Construtores públicos

TestEndedEventInfo(String className, String testName, runMetrics)
TestEndedEventInfo(String className, String testName, Long endTime, runMetrics)

Crie um objeto de evento para representar o callback de testEnded.

TestEndedEventInfo(JSONObject jsonObject)

Crie e preencha um objeto de evento para testEnded usando um JSON.

Métodos protegidos

JSONObject getNewJson()

Campos

mEndTime

public Long mEndTime

mRunMetrics

public  mRunMetrics

Construtores públicos

TestEndedEventInfo

public TestEndedEventInfo (String className, 
                String testName, 
                 runMetrics)

Parâmetros
className String

testName String

runMetrics

TestEndedEventInfo

public TestEndedEventInfo (String className, 
                String testName, 
                Long endTime, 
                 runMetrics)

Crie um objeto de evento para representar o callback de testEnded.

Parâmetros
className String: a classe dos testes

testName String: o nome dos testes

endTime Long: o carimbo de data/hora em que o teste foi encerrado (de System.currentTimeMillis())

runMetrics : as métricas informadas pelo teste.

TestEndedEventInfo

public TestEndedEventInfo (JSONObject jsonObject)

Crie e preencha um objeto de evento para testEnded usando um JSON.

Parâmetros
jsonObject JSONObject

Gera
JSONException

Métodos protegidos

getNewJson

protected JSONObject getNewJson ()

Retorna
JSONObject