DispositivoParameterizedRunner
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 |
Runner parametrizzato in stile JUnit4 per test parametrizzati guidati dal lato host.
Questo runner è basato su JUnitParamsRunner
e non su JUnit4 Parameterized
nativi, ma il runner con parametri nativi non è molto buono e non consente di eseguire un singolo metodo.
Riepilogo
Metodi protetti |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
Costruttori pubblici
DispositivoParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
Lancia |
---|
| 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
metodoInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
Parametri |
---|
method | FrameworkMethod |
testObj | Object |