DeviceParameterizedRunner
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.JUnitParamsRunnerjunitparams.JUnitParamsRunner |
| | | | ↳ | com.android.tradefed.testtype.junit4.DeviceParameterizedRunner |
Exécuteur paramétré de style JUnit4 pour les tests paramétrés pilotés côté hôte.
Ce runner est basé sur JUnitParamsRunner
et non sur JUnit4 nativement Parameterized
mais le runner natif paramétré n'est pas vraiment bon et ne permet pas d'exécuter une seule méthode.
Résumé
Méthodes protégées |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
Constructeurs publics
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
Lance |
---|
| org.junit.runners.model.InitializationError |
InitializationError | |
Méthodes publiques
obtenirAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
Paramètres |
---|
testInformation | TestInformation |
Méthodes protégées
methodInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
Paramètres |
---|
method | FrameworkMethod |
testObj | Object |