TestGroupStatus
public
class
TestGroupStatus
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.cluster.TestGroupStatus |
用于存储测试组状态的类。
测试组对应于在同一测试运行名称下报告的一组测试用例。
摘要
公共构造函数 | |
|---|---|
TestGroupStatus(String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime)
|
|
公共方法 | |
|---|---|
int
|
getCompletedTestCount()
|
long
|
getElapsedTime()
|
int
|
getFailedTestCount()
|
String
|
getName()
|
int
|
getPassedTestCount()
|
int
|
getTotalTestCount()
|
boolean
|
isComplete()
|
JSONObject
|
toJSON()
|
公共构造函数
TestGroupStatus
public TestGroupStatus (String name,
int totalTestCount,
int completedTestCount,
int failedTestCount,
int passedTestCount,
boolean isComplete,
long elapsedTime)| 参数 | |
|---|---|
name |
String |
totalTestCount |
int |
completedTestCount |
int |
failedTestCount |
int |
passedTestCount |
int |
isComplete |
boolean |
elapsedTime |
long |
公共方法
getCompletedTestCount
public int getCompletedTestCount ()
| 返回 | |
|---|---|
int |
|
getElapsedTime
public long getElapsedTime ()
| 返回 | |
|---|---|
long |
|
getFailedTestCount
public int getFailedTestCount ()
| 返回 | |
|---|---|
int |
|
getName
public String getName ()
| 返回 | |
|---|---|
String |
|
getPassedTestCount
public int getPassedTestCount ()
| 返回 | |
|---|---|
int |
|
getTotalTestCount
public int getTotalTestCount ()
| 返回 | |
|---|---|
int |
|
isComplete
public boolean isComplete ()
| 返回 | |
|---|---|
boolean |
|
toJSON
public JSONObject toJSON ()
| 返回 | |
|---|---|
JSONObject |
|
| 抛出 | |
|---|---|
JSONException |
|