JUnitRunUtil

public class JUnitRunUtil
extends Object

java.lang.Object
com.android.tradefed.testtype.JUnitRunUtil


Lớp trình trợ giúp để điều hướng lệnh gọi IRemoteTest#run(TestInformation, ITestInvocationListener) tới lệnh gọi Test#run(TestResult) .

Bản tóm tắt

nhà thầu công cộng

JUnitRunUtil ()

Phương thức công khai

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)

nhà thầu công cộng

JUnitRunUtil

public JUnitRunUtil ()

Phương thức công khai

chạy thử nghiệm

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

Thông số
listener ITestInvocationListener

junitTest Test

runName String

trả lại
boolean

ném
DeviceNotAvailableException

chạy thử nghiệm

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest)

Thông số
listener ITestInvocationListener

junitTest Test

trả lại
boolean

ném
DeviceNotAvailableException

chạy thử nghiệm

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

Thông số
listener ITestInvocationListener

junitTest Test

runName String

testInfo TestInformation

trả lại
boolean

ném
DeviceNotAvailableException