StatusGrupTest

public class TestGroupStatus
extends Object

java.lang.Object
   ↳ com.android.tradefed.cluster.TestGroupStatus


Class untuk menyimpan status grup pengujian.

Grup pengujian sesuai dengan grup kasus pengujian yang dilaporkan dengan nama pengujian yang sama.

Ringkasan

Konstruktor publik

TestGroupStatus(String name, int totalTestCount, int completedTestCount, int failedTestCount, int passedTestCount, boolean isComplete, long elapsedTime)

Metode publik

int getCompletedTestCount()
long getElapsedTime()
int getFailedTestCount()
String getName()
int getPassedTestCount()
int getTotalTestCount()
boolean isComplete()
JSONObject toJSON()

Konstruktor publik

StatusGrupTest

public TestGroupStatus (String name, 
                int totalTestCount, 
                int completedTestCount, 
                int failedTestCount, 
                int passedTestCount, 
                boolean isComplete, 
                long elapsedTime)

Parameter
name String

totalTestCount int

completedTestCount int

failedTestCount int

passedTestCount int

isComplete boolean

elapsedTime long

Metode publik

getCompletedTestCount

public int getCompletedTestCount ()

Hasil
int

getElapsedTime

public long getElapsedTime ()

Hasil
long

getFailedTestCount

public int getFailedTestCount ()

Hasil
int

getName

public String getName ()

Hasil
String

getPassedTestCount

public int getPassedTestCount ()

Hasil
int

getTotalTestCount

public int getTotalTestCount ()

Hasil
int

Selesai

public boolean isComplete ()

Hasil
boolean

{i>toJSON<i}

public JSONObject toJSON ()

Hasil
JSONObject

Menampilkan
JSONException