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。

抛出
Throwable

prepareSandbox

public static void prepareSandbox (TestInformation info, 
                IConfiguration config, 
                ITestInvocationListener listener)

沙盒的准备步骤

参数
info TestInformation

config IConfiguration

listener ITestInvocationListener

抛出
Throwable

runSandbox

public static boolean runSandbox (TestInformation info, 
                IConfiguration config, 
                ITestInvocationListener listener)

沙盒的执行步骤

参数
info TestInformation

config IConfiguration

listener ITestInvocationListener

返回
boolean

抛出
Throwable

teardownSandbox

public static void teardownSandbox (IConfiguration config)

参数
config IConfiguration