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 |
Assistente per le informazioni testEnded.
Riepilogo
Campi | |
---|---|
public Long | mEndTime |
public | mRunMetrics
|
Costruttori pubblici | |
---|---|
TestEndedEventInfo (String className, String testName, runMetrics) TestEndedEventInfo (String className, String testName, runMetrics) | |
TestEndedEventInfo (String className, String testName, Long endTime, runMetrics) TestEndedEventInfo (String className, String testName, Long endTime, runMetrics) Crea un oggetto evento per rappresentare il callback testEnded. | |
TestEndedEventInfo (JSONObject jsonObject) Crea e popola un oggetto evento per testEnded da un JSON. |
Metodi protetti | |
---|---|
JSONObject | getNewJson () |
Campi
mEndTime
public Long mEndTime
mRunMetrics
publicmRunMetrics
Costruttori pubblici
TestEndedEventInfo
public TestEndedEventInfo (String className, String testName,runMetrics)
Parametri | |
---|---|
className | String |
testName | String |
runMetrics |
TestEndedEventInfo
public TestEndedEventInfo (String className, String testName, Long endTime,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 è terminato il test (da System.currentTimeMillis() ) |
runMetrics |
TestEndedEventInfo
public TestEndedEventInfo (JSONObject jsonObject)
Crea e popola un oggetto evento per testEnded da un JSON.
Parametri | |
---|---|
jsonObject | JSONObject |
Lancia | |
---|---|
JSONException |
Metodi protetti
getNewJson
protected JSONObject getNewJson ()
ritorna | |
---|---|
JSONObject |