JUnitRunUtil

public class JUnitRunUtil
extends Object

شیء جاوا
com.android.tradefed.testtype.JUnitRunUtil


یک کلاس کمکی برای هدایت فراخوانی IRemoteTest.run(TestInformation,ITestInvocationListener) به فراخوانی Test.run(TestResult) .

خلاصه

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

JUnitRunUtil ()

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

static boolean runTest ( ITestInvocationListener listener, Test junitTest, String runName)
static boolean runTest ( ITestInvocationListener listener, Test junitTest)
static boolean runTest ( ITestInvocationListener listener, Test junitTest, String runName, TestInformation testInfo)

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

JUnitRunUtil

public JUnitRunUtil ()

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

اجرای تست

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest, 
                String runName)

پارامترها
listener ITestInvocationListener

junitTest Test

runName String

بازگشت‌ها
boolean

پرتاب‌ها
DeviceNotAvailableException

اجرای تست

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest)

پارامترها
listener ITestInvocationListener

junitTest Test

بازگشت‌ها
boolean

پرتاب‌ها
DeviceNotAvailableException

اجرای تست

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest, 
                String runName, 
                TestInformation testInfo)

پارامترها
listener ITestInvocationListener

junitTest Test

runName String

testInfo TestInformation

بازگشت‌ها
boolean

پرتاب‌ها
DeviceNotAvailableException