DispositivoParameterizedRunner

public class DeviceParameterizedRunner
extends JUnitParamsRunner implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver

java.lang.Objeto
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


Ejecutor parametrizado de estilo JUnit4 para pruebas parametrizadas impulsadas por el host.

Este corredor se basa en JUnitParamsRunner y no en JUnit4 nativo Parameterized , pero el corredor nativo parametrizado no es realmente bueno y no permite ejecutar un solo método.

Ver también:

Resumen

Constructores públicos

DeviceParameterizedRunner (Class<?> klass)

Métodos públicos

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

Métodos protegidos

Statement methodInvoker (FrameworkMethod method, Object testObj)

Constructores públicos

DispositivoParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

Lanza
org.junit.runners.model.InitializationError
InitializationError

Métodos públicos

conseguirAbi

public IAbi getAbi ()

Devoluciones
IAbi

obtener información de prueba

public TestInformation getTestInformation ()

Devoluciones
TestInformation

setAbi

public void setAbi (IAbi abi)

Parámetros
abi IAbi

establecer información de prueba

public void setTestInformation (TestInformation testInformation)

Parámetros
testInformation TestInformation

Métodos protegidos

métodoInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Parámetros
method FrameworkMethod

testObj Object

Devoluciones
Statement