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.JUnitParamsRunner
com.android.tradefed.testtype.junit4.DeviceParameterizedRunner


Exécuteur paramétré de style JUnit4 pour les tests paramétrés côté hôte.

Ce runner est basé sur JUnitParamsRunner et non sur JUnit4 natif Parameterized mais le runner paramétré natif n'est pas vraiment bon et ne permet pas d'exécuter une seule méthode.

Voir également:

Résumé

Constructeurs publics

DeviceParameterizedRunner (Class<?> klass)

Méthodes publiques

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

Méthodes protégées

Statement methodInvoker (FrameworkMethod method, Object testObj)

Constructeurs publics

DeviceParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

Jetés
org.junit.runners.model.InitializationError
InitializationError

Méthodes publiques

obtenirAbi

public IAbi getAbi ()

Retour
IAbi

obtenirTestInformation

public TestInformation getTestInformation ()

Retour
TestInformation

setAbi

public void setAbi (IAbi abi)

Paramètres
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

Paramètres
testInformation TestInformation

Méthodes protégées

méthodeInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Paramètres
method FrameworkMethod

testObj Object

Retour
Statement