SandboxInvocationRunner
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)
|
公用建構函式
SandboxInvocationRunner
public SandboxInvocationRunner ()
公用方法
prepareAndRun
public static boolean prepareAndRun (TestInformation info, IConfiguration config, ITestInvocationListener listener)
進行設定並執行測試。
參數 | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
傳回 | |
---|---|
boolean |
如果叫用成功,則為 True。否則為 False。 |
prepareSandbox
public static void prepareSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
沙箱的準備步驟
參數 | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
runSandbox
public static boolean runSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
沙箱的執行步驟
參數 | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
傳回 | |
---|---|
boolean |