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 for testEnded information.

สรุป

ฟิลด์

public Long mEndTime

public Map<String, String> mRunMetrics

เครื่องมือสร้างสาธารณะ

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

Create an event object to represent the testEnded callback.

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

Create and populate and event object for testEnded from a JSON.

เมธอดที่ได้รับการปกป้อง

JSONObject getNewJson()

ฟิลด์

mEndTime

public Long mEndTime

mRunMetrics

public Map<String, String> mRunMetrics

เครื่องมือสร้างสาธารณะ

TestEndedEventInfo

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

Create an event object to represent the testEnded callback.

พารามิเตอร์
className String: the classname of the tests

testName String: the name of the tests

endTime Long: the timestamp at which the test ended (from System.currentTimeMillis())

runMetrics Map: the metrics reported by the test.

TestEndedEventInfo

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

พารามิเตอร์
className String

testName String

runMetrics Map

TestEndedEventInfo

public TestEndedEventInfo (JSONObject jsonObject)

Create and populate and event object for testEnded from a JSON.

พารามิเตอร์
jsonObject JSONObject

ส่ง
JSONException

เมธอดที่ได้รับการปกป้อง

getNewJson

protected JSONObject getNewJson ()

การคืนสินค้า
JSONObject