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 จริง หากการเรียกใช้สำเร็จ มิเช่นนั้นจะเป็น "เท็จ"

ส่ง
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