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.
Bản tóm tắt
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)
Phương pháp công khai
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
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 |