Google cam kết thúc đẩy công bằng chủng tộc cho Cộng đồng người da đen. Xem cách thực hiện.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.

JUnitRunUtil

public class JUnitRunUtil
extends Object

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


Một lớp trợ giúp để hướng một IRemoteTest#run(TestInformation, ITestInvocationListener) đến một lệnh gọi Test#run(TestResult) .

Bản tóm tắt

Các nhà xây dựng công cộng

JUnitRunUtil ()

Phương pháp 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)

Các nhà xây dựng công cộng

JUnitRunUtil

public JUnitRunUtil ()

Phương pháp công khai

runTest

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

Thông số
listener ITestInvocationListener

junitTest Test

runName String

Lợi nhuận
boolean

Ném
DeviceNotAvailableException

runTest

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest)

Thông số
listener ITestInvocationListener

junitTest Test

Lợi nhuận
boolean

Ném
DeviceNotAvailableException

runTest

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

Thông số
listener ITestInvocationListener

junitTest Test

runName String

testInfo TestInformation

Lợi nhuận
boolean

Ném
DeviceNotAvailableException