SandboxInvocationRunner
public
class
SandboxInvocationRunner
extends Object
java.lang.Object | |
↳ | com.android.tradefed.sandbox.SandboxInvocationRunner |
Run the tests associated with the invocation in the sandbox.
Summary
Public constructors | |
---|---|
SandboxInvocationRunner()
|
Public methods | |
---|---|
static
boolean
|
prepareAndRun(TestInformation info, IConfiguration config, ITestInvocationListener listener)
Do setup and run the tests. |
static
void
|
prepareSandbox(TestInformation info, IConfiguration config, ITestInvocationListener listener)
Preparation step of the sandbox |
static
boolean
|
runSandbox(TestInformation info, IConfiguration config, ITestInvocationListener listener)
Execution step of the sandbox |
static
void
|
teardownSandbox(IConfiguration config)
|
Public constructors
SandboxInvocationRunner
public SandboxInvocationRunner ()
Public methods
prepareAndRun
public static boolean prepareAndRun (TestInformation info, IConfiguration config, ITestInvocationListener listener)
Do setup and run the tests.
Parameters | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
Returns | |
---|---|
boolean |
True if the invocation is successful. False otherwise. |
prepareSandbox
public static void prepareSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
Preparation step of the sandbox
Parameters | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
runSandbox
public static boolean runSandbox (TestInformation info, IConfiguration config, ITestInvocationListener listener)
Execution step of the sandbox
Parameters | |
---|---|
info |
TestInformation |
config |
IConfiguration |
listener |
ITestInvocationListener |
Returns | |
---|---|
boolean |
teardownSandbox
public static void teardownSandbox (IConfiguration config)
Parameters | |
---|---|
config |
IConfiguration |