SubprocessEventHelper.TestEndedEventInfo
public static class SubprocessEventHelper.TestEndedEventInfo
extends SubprocessEventHelper.BaseTestEventInfo
java.lang.オブジェクト | ||
↳ | com.android.tradefed.util.SubprocessEventHelper.BaseTestEventInfo | |
↳ | com.android.tradefed.util.SubprocessEventHelper.TestEndedEventInfo |
testEnded 情報のヘルパー。
まとめ
田畑 | |
---|---|
public Long | mEndTime |
public | mRunMetrics
|
パブリックコンストラクター | |
---|---|
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) testEnded コールバックを表すイベント オブジェクトを作成します。 | |
TestEndedEventInfo (JSONObject jsonObject) JSON から testEnded のイベント オブジェクトを作成して設定します。 |
保護されたメソッド | |
---|---|
JSONObject | getNewJson () |
田畑
mEndTime
public Long mEndTime
mRunMetrics
publicmRunMetrics
パブリックコンストラクター
テスト終了イベント情報
public TestEndedEventInfo (String className, String testName,runMetrics)
パラメーター | |
---|---|
className | String |
testName | String |
runMetrics |
テスト終了イベント情報
public TestEndedEventInfo (String className, String testName, Long endTime,runMetrics)
testEnded コールバックを表すイベント オブジェクトを作成します。
パラメーター | |
---|---|
className | String : テストのクラス名 |
testName | String : テストの名前 |
endTime | Long : テストが終了したタイムスタンプ ( System.currentTimeMillis() から) |
runMetrics |
テスト終了イベント情報
public TestEndedEventInfo (JSONObject jsonObject)
JSON から testEnded のイベント オブジェクトを作成して設定します。
パラメーター | |
---|---|
jsonObject | JSONObject |
投げる | |
---|---|
JSONException |
保護されたメソッド
getNewJson
protected JSONObject getNewJson ()
戻り値 | |
---|---|
JSONObject |