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 صحيح إذا كان الاستدعاء ناجحًا. خطأ بخلاف ذلك.

prepareSandbox

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

خطوة التحضير لميزة "وضع الحماية"

المعلمات
info TestInformation

config IConfiguration

listener ITestInvocationListener

runSandbox

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

خطوة التنفيذ في وضع الحماية

المعلمات
info TestInformation

config IConfiguration

listener ITestInvocationListener

المرتجعات
boolean

teardownSandbox

public static void teardownSandbox (IConfiguration config)

المعلمات
config IConfiguration