SandboxInvocationRunner

public class SandboxInvocationRunner
extends Object

شیء جاوا
com.android.tradefed.sandbox.SandboxInvocationRunner


تست‌های مرتبط با فراخوانی را در sandbox اجرا کنید.

خلاصه

سازندگان عمومی

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

روش‌های عمومی

آماده‌سازی و اجرا

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

تنظیمات را انجام دهید و تست‌ها را اجرا کنید.

پارامترها
info TestInformation

config IConfiguration

listener ITestInvocationListener

بازگشت‌ها
boolean اگر فراخوانی موفقیت‌آمیز باشد، درست و در غیر این صورت نادرست است.

پرتاب‌ها
Throwable

آماده‌سازیسندباکس

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

مرحله آماده سازی جعبه شنی

پارامترها
info TestInformation

config IConfiguration

listener ITestInvocationListener

پرتاب‌ها
Throwable

اجرا سندباکس

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