DeviceParameterizedRunner
public class DeviceParameterizedRunner
extends JUnitParamsRunner
implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver
java.lang.Oggetto |
↳ | 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 |
Runner parametrizzato in stile JUnit4 per test parametrizzati guidati dal lato host.
Questo corridore è basato su JUnitParamsRunner
e non su JUnit4 native Parameterized
, ma il corridore parametrizzato nativo non è molto buono e non consente di eseguire un singolo metodo.
Riepilogo
Metodi protetti |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
Costruttori pubblici
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
Getta |
---|
| org.junit.runners.model.InitializationError |
InitializationError | |
Metodi pubblici
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
Parametri |
---|
testInformation | TestInformation |
Metodi protetti
methodInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
Parametri |
---|
method | FrameworkMethod |
testObj | Object |