SandboxInvocationRunner
public
class
SandboxInvocationRunner
extends Object
java.lang.Object | |
↳ | com.android.tradefed.sandbox.SandboxInvocationRunner |
Chạy các chương trình kiểm thử liên kết với lệnh gọi trong hộp cát.
Tóm tắt
Hàm khởi tạo công khai | |
---|---|
SandboxInvocationRunner()
|
Phương thức công khai | |
---|---|
static
boolean
|
prepareAndRun(TestInformation info, IConfiguration config, ITestInvocationListener listener)
Thiết lập và chạy các chương trình kiểm thử. |
static
void
|
prepareSandbox(TestInformation info, IConfiguration config, ITestInvocationListener listener)
Bước chuẩn bị của hộp cát |
static
boolean
|
runSandbox(TestInformation info, IConfiguration config, ITestInvocationListener listener)
Bước thực thi của hộp cát |
static
void
|
teardownSandbox(IConfiguration config)
|
Hàm khởi tạo công khai
SandboxInvocationRunner
public SandboxInvocationRunner ()
Phương thức công khai
prepareAndRun
public static boolean prepareAndRun (TestInformation info, IConfiguration config, ITestInvocationListener listener)
Thiết lập và chạy các chương trình kiểm thử.
Tham số | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
Giá trị trả về | |
---|---|
boolean |
Đúng nếu lệnh gọi thành công. Nếu không thì giá trị sẽ là false. |
prepareSandbox
public static void prepareSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
Bước chuẩn bị của hộp cát
Tham số | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
runSandbox
public static boolean runSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
Bước thực thi của hộp cát
Tham số | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
Giá trị trả về | |
---|---|
boolean |
teardownSandbox
public static void teardownSandbox (IConfiguration config)
Tham số | |
---|---|
config |
IConfiguration |