SubprocessEventHelper.TestRunStartedEventInfo

public static class SubprocessEventHelper.TestRunStartedEventInfo
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.SubprocessEventHelper.TestRunStartedEventInfo


testRunStarted 信息的帮助程序

摘要

字段

public Integer mAttempt

public String mRunName

public Long mStartTime

public Integer mTestCount

公共构造函数

TestRunStartedEventInfo(JSONObject jsonObject)
TestRunStartedEventInfo(String runName, int testCount)

为了与旧版兼容,请保留此构造函数。

TestRunStartedEventInfo(String runName, int testCount, int attempt, long startTime)

公共方法

String toString()

字段

mAttempt

public Integer mAttempt

mRunName

public String mRunName

mStartTime

public Long mStartTime

mTestCount

public Integer mTestCount

公共构造函数

TestRunStartedEventInfo

public TestRunStartedEventInfo (JSONObject jsonObject)

参数
jsonObject JSONObject

抛出
JSONException

TestRunStartedEventInfo

public TestRunStartedEventInfo (String runName, 
                int testCount)

保留此构造函数以实现向后兼容。

参数
runName String

testCount int

TestRunStartedEventInfo

public TestRunStartedEventInfo (String runName, 
                int testCount, 
                int attempt, 
                long startTime)

参数
runName String

testCount int

attempt int

startTime long

公共方法

toString

public String toString ()

返回
String