SubprocessEventHelper.FailedTestEventInfo
public
static
class
SubprocessEventHelper.FailedTestEventInfo
extends SubprocessEventHelper.BaseTestEventInfo
| java.lang.Object | ||
| ↳ | com.android.tradefed.util.SubprocessEventHelper.BaseTestEventInfo | |
| ↳ | com.android.tradefed.util.SubprocessEventHelper.FailedTestEventInfo | |
用于 testFailed 信息的辅助程序。
摘要
字段 | |
|---|---|
public
FailureDescription |
mFailure
|
public
String |
mTrace
|
公共构造函数 | |
|---|---|
FailedTestEventInfo(JSONObject jsonObject)
|
|
FailedTestEventInfo(String className, String testName, FailureDescription failure)
|
|
FailedTestEventInfo(String className, String testName, String trace)
|
|
公共方法 | |
|---|---|
String
|
toString()
|
字段
mTrace
public String mTrace
公共构造函数
FailedTestEventInfo
public FailedTestEventInfo (JSONObject jsonObject)
| 参数 | |
|---|---|
jsonObject |
JSONObject |
| 抛出 | |
|---|---|
JSONException |
|
FailedTestEventInfo
public FailedTestEventInfo (String className,
String testName,
FailureDescription failure)| 参数 | |
|---|---|
className |
String |
testName |
String |
failure |
FailureDescription |
FailedTestEventInfo
public FailedTestEventInfo (String className,
String testName,
String trace)| 参数 | |
|---|---|
className |
String |
testName |
String |
trace |
String |
公共方法
toString
public String toString ()
| 返回 | |
|---|---|
String |
|