SubprocessEventHelper.TestEndedEventInfo
public
static
class
SubprocessEventHelper.TestEndedEventInfo
extends SubprocessEventHelper.BaseTestEventInfo
Helper for testEnded information.
Summary
Public constructors |
TestEndedEventInfo(JSONObject jsonObject)
Create and populate and event object for testEnded from a JSON.
|
TestEndedEventInfo(String className, String testName, Long endTime, runMetrics)
Create an event object to represent the testEnded callback.
|
TestEndedEventInfo(String className, String testName, runMetrics)
|
Fields
mEndTime
public Long mEndTime
mRunMetrics
public mRunMetrics
Public constructors
TestEndedEventInfo
public TestEndedEventInfo (JSONObject jsonObject)
Create and populate and event object for testEnded from a JSON.
Parameters |
jsonObject |
JSONObject |
TestEndedEventInfo
public TestEndedEventInfo (String className,
String testName,
Long endTime,
runMetrics)
Create an event object to represent the testEnded callback.
Parameters |
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 |
: the metrics reported by the test. |
TestEndedEventInfo
public TestEndedEventInfo (String className,
String testName,
runMetrics)
Parameters |
className |
String |
testName |
String |
runMetrics |
|
Protected methods
getNewJson
protected JSONObject getNewJson ()