SandboxInvocationRunner

public class SandboxInvocationRunner
extends Object

java.lang.Object
   ↳ com.android.tradefed.sandbox.SandboxInvocationRunner


Chạy các 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 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 kiểm thử.

Tham số
info TestInformation

config IConfiguration

listener ITestInvocationListener

Giá trị trả về
boolean True nếu lệnh gọi thành công. Nếu không thì trả về giá trị false.

Gửi
Throwable

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

Gửi
Throwable

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

Gửi
Throwable

teardownSandbox

public static void teardownSandbox (IConfiguration config)

Tham số
config IConfiguration