SandboxInvocationRunner

public class SandboxInvocationRunner
extends Object

java.lang.Object
com.android.tradefed.sandbox.SandboxInvocationRunner


Führen Sie die mit dem Aufruf verknüpften Tests in der Sandbox aus.

Zusammenfassung

Öffentliche Konstruktoren

SandboxInvocationRunner()

Öffentliche Methoden

static boolean prepareAndRun(TestInformation info, IConfiguration config, ITestInvocationListener listener)

Richten Sie die Tests ein und führen Sie sie aus.

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

Vorbereitungsschritt der Sandbox

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

Ausführungsschritt der Sandbox

static void teardownSandbox(IConfiguration config)

Öffentliche Konstruktoren

SandboxInvocationRunner

public SandboxInvocationRunner ()

Öffentliche Methoden

prepareAndRun

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

Richten Sie die Tests ein und führen Sie sie aus.

Parameter
info TestInformation

config IConfiguration

listener ITestInvocationListener

Gibt Folgendes zurück:
boolean „True“, wenn der Aufruf erfolgreich ist. Andernfalls „False“.

Löst aus
Throwable

prepareSandbox

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

Vorbereitungsschritt der Sandbox

Parameter
info TestInformation

config IConfiguration

listener ITestInvocationListener

Löst aus
Throwable

runSandbox

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

Ausführungsschritt der Sandbox

Parameter
info TestInformation

config IConfiguration

listener ITestInvocationListener

Gibt Folgendes zurück:
boolean

Löst aus
Throwable

teardownSandbox

public static void teardownSandbox (IConfiguration config)

Parameter
config IConfiguration