UrządzenieParametryzowanyRunner

public class DeviceParameterizedRunner
extends JUnitParamsRunner implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver

Obiekt 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


Sparametryzowany moduł uruchamiający w stylu JUnit4 do testów sparametryzowanych sterowanych po stronie hosta.

Ten biegacz jest oparty na JUnitParamsRunner , a nie natywnie Parameterized JUnit4, ale natywny sparametryzowany biegacz nie jest zbyt dobry i nie pozwala na uruchomienie pojedynczej metody.

Zobacz też:

Streszczenie

Konstruktorzy publiczni

DeviceParameterizedRunner (Class<?> klass)

Metody publiczne

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

Metody chronione

Statement methodInvoker (FrameworkMethod method, Object testObj)

Konstruktorzy publiczni

UrządzenieParametryzowanyRunner

public DeviceParameterizedRunner (Class<?> klass)

Rzuca
org.junit.runners.model.InitializationError
InitializationError

Metody publiczne

weźAbi

public IAbi getAbi ()

Zwroty
IAbi

pobierz informacje testowe

public TestInformation getTestInformation ()

Zwroty
TestInformation

ustawAbi

public void setAbi (IAbi abi)

Parametry
abi IAbi

zestaw informacji testowych

public void setTestInformation (TestInformation testInformation)

Parametry
testInformation TestInformation

Metody chronione

wywołujący metodę

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Parametry
method FrameworkMethod

testObj Object

Zwroty
Statement