DeviceParameterizedRunner
public class DeviceParameterizedRunner
extends JUnitParamsRunner
implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver
org.junit.runners.BlockJUnit4ClassRunner |
↳ | junitparams.JUnitParamsRunner |
| ↳ | com.android.tradefed.testtype.junit4.DeviceParameterizedRunner |
Corredor parametrizado estilo JUnit4 para testes parametrizados acionados pelo host.
Este executor é baseado no JUnitParamsRunner
e não no JUnit4 nativo Parameterized
, mas o executor parametrizado nativo não é realmente bom e não permite executar um único método.
Resumo
Métodos protegidos |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
Construtores públicos
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
lances |
---|
| org.junit.runners.model.InitializationError |
InitializationError | |
Métodos públicos
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
Parâmetros |
---|
testInformation | TestInformation |
Métodos protegidos
methodInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
Parâmetros |
---|
method | FrameworkMethod |
testObj | Object |