測試組狀態

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 ()

公共建設者

測試組狀態

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

已經完成

public boolean isComplete ()

退貨
boolean

toJSON

public JSONObject toJSON ()

退貨
JSONObject

投擲
JSONException