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.

Guarda anche:

Riepilogo

Costruttori pubblici

DeviceParameterizedRunner (Class<?> klass)

Metodi pubblici

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

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 ()

ritorna
IAbi

getTestInformation

public TestInformation getTestInformation ()

ritorna
TestInformation

setAbi

public void setAbi (IAbi abi)

Parametri
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parametri
testInformation TestInformation

Metodi protetti

metodoInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Parametri
method FrameworkMethod

testObj Object

ritorna
Statement