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


Helper per le informazioni di testEnded.

Riepilogo

Campi

public Long mEndTime

public Map<String, String> mRunMetrics

Costruttori pubblici

TestEndedEventInfo(String className, String testName, Long endTime, Map<String, String> runMetrics)

Crea un oggetto evento per rappresentare il callback testEnded.

TestEndedEventInfo(String className, String testName, Map<String, String> runMetrics)
TestEndedEventInfo(JSONObject jsonObject)

Crea e popola un oggetto evento per testEnded da un JSON.

Metodi protetti

JSONObject getNewJson()

Campi

mEndTime

public Long mEndTime

mRunMetrics

public Map<String, String> mRunMetrics

Costruttori pubblici

TestEndedEventInfo

public TestEndedEventInfo (String className, 
                String testName, 
                Long endTime, 
                Map<String, String> runMetrics)

Crea un oggetto evento per rappresentare il callback testEnded.

Parametri
className String: il nome della classe dei test

testName String: il nome dei test

endTime Long: il timestamp in cui il test è terminato (da System.currentTimeMillis())

runMetrics Map: le metriche segnalate dal test.

TestEndedEventInfo

public TestEndedEventInfo (String className, 
                String testName, 
                Map<String, String> runMetrics)

Parametri
className String

testName String

runMetrics Map

TestEndedEventInfo

public TestEndedEventInfo (JSONObject jsonObject)

Crea e popola un oggetto evento per testEnded da un JSON.

Parametri
jsonObject JSONObject

Genera
JSONException

Metodi protetti

getNewJson

protected JSONObject getNewJson ()

Resi
JSONObject