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 |
|