沙盒調用運行器
public class SandboxInvocationRunner
extends Object
java.lang.Object | |
↳ | com.android.tradefed.sandbox.SandboxInvocationRunner |
在沙盒中運行與調用關聯的測試。
概括
公共構造函數 | |
---|---|
SandboxInvocationRunner () |
公共方法 | |
---|---|
static boolean | prepareAndRun ( TestInformation info, IConfiguration config, ITestInvocationListener listener) 進行設置並運行測試。 |
static void | prepareSandbox ( TestInformation info, IConfiguration config, ITestInvocationListener listener) 沙箱的準備步驟 |
static boolean | runSandbox ( TestInformation info, IConfiguration config, ITestInvocationListener listener) 沙箱的執行步驟 |
static void | teardownSandbox ( IConfiguration config) |
公共構造函數
沙盒調用運行器
public SandboxInvocationRunner ()
公共方法
準備運行
public static boolean prepareAndRun (TestInformation info, IConfiguration config, ITestInvocationListener listener)
進行設置並運行測試。
參數 | |
---|---|
info | TestInformation |
config | IConfiguration |
listener | ITestInvocationListener |
退貨 | |
---|---|
boolean | 如果調用成功則為真。否則為假。 |
準備沙箱
public static void prepareSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
沙箱的準備步驟
參數 | |
---|---|
info | TestInformation |
config | IConfiguration |
listener | ITestInvocationListener |
運行沙箱
public static boolean runSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
沙箱的執行步驟
參數 | |
---|---|
info | TestInformation |
config | IConfiguration |
listener | ITestInvocationListener |
退貨 | |
---|---|
boolean |