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.

DeviceParameterizedRunner

public class DeviceParameterizedRunner
extends JUnitParamsRunner implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver

java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner <org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
junitparams.JUnitParamsRunner
com.android.tradefed.testtype.junit4.DeviceParameterizedRunner


Á hậu tham số kiểu JUnit4 cho các thử nghiệm tham số điều khiển phía máy chủ.

Bộ chạy này dựa trên JUnitParamsRunner chứ không phải JUnit4 native Parameterized nhưng bộ chạy tham số gốc không thực sự tốt và không cho phép chạy một phương thức duy nhất.

Xem thêm:

Bản tóm tắt

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

DeviceParameterizedRunner (Class<?> klass)

Phương pháp công khai

IAbi getAbi ()
TestInformation getTestInformation ()
void setAbi ( IAbi abi)
void setTestInformation ( TestInformation testInformation)

Các phương pháp được bảo vệ

Statement methodInvoker (FrameworkMethod method, Object testObj)

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

DeviceParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

Ném
InitializationError

Phương pháp công khai

getAbi

public IAbi getAbi ()

Lợi nhuận
IAbi

getTestInformation

public TestInformation getTestInformation ()

Lợi nhuận
TestInformation

setAbi

public void setAbi (IAbi abi)

Thông số
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

Thông số
testInformation TestInformation

Các phương pháp được bảo vệ

methodInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Thông số
method FrameworkMethod

testObj Object

Lợi nhuận
Statement