IInstrumentationResultParser.StatusCodes
public
static
class
IInstrumentationResultParser.StatusCodes
extends Object
| java.lang.Object | |
| ↳ | com.android.ddmlib.testrunner.IInstrumentationResultParser.StatusCodes |
Mã trạng thái của kết quả kiểm thử.
Tóm tắt
Hằng số | |
|---|---|
int |
ASSUMPTION_FAILURE
|
int |
ERROR
|
int |
FAILURE
|
int |
IGNORED
|
int |
IN_PROGRESS
|
int |
OK
|
int |
START
|
Hàm khởi tạo công khai | |
|---|---|
StatusCodes()
|
|
Phương thức công khai | |
|---|---|
static
boolean
|
isTerminalState(int statusCode)
|
Hằng số
ASSUMPTION_FAILURE
public static final int ASSUMPTION_FAILURE
Giá trị hằng số: -4 (0xfffffffc)
ERROR (LỖI)
public static final int ERROR
Giá trị hằng số: -1 (0xffffffff)
LỖI
public static final int FAILURE
Giá trị hằng số: -2 (0xfffffffe)
BỊ BỎ QUA
public static final int IGNORED
Giá trị hằng số: -3 (0xfffffffd)
IN_PROGRESS
public static final int IN_PROGRESS
Giá trị hằng số: 2 (0x00000002)
OK
public static final int OK
Giá trị hằng số: 0 (0x00000000)
BẮT ĐẦU
public static final int START
Giá trị hằng số: 1 (0x00000001)
Hàm khởi tạo công khai
StatusCodes
public StatusCodes ()
Phương thức công khai
isTerminalState
public static boolean isTerminalState (int statusCode)
| Tham số | |
|---|---|
statusCode |
int |
| Trả về | |
|---|---|
boolean |
|