沙盒调用运行器
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 |