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


Parametryzowany program testowy w stylu JUnit4 do uruchamiania testów parametrycznych po stronie hosta.

Ten program do testowania jest oparty na JUnitParamsRunner, a nie na natywnym Parameterized JUnit4, ale natywny program do testowania z parametrami nie jest zbyt dobry i nie pozwala uruchomić pojedynczej metody.

Zobacz też:

Podsumowanie

Konstruktory publiczne

DeviceParameterizedRunner(Class<?> klass)

Metody publiczne

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

Chronione metody

Statement methodInvoker(FrameworkMethod method, Object testObj)

Konstruktory publiczne

DeviceParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

Rzuty
org.junit.runners.model.InitializationError
InitializationError

Metody publiczne

getAbi

public IAbi getAbi ()

Zwroty
IAbi

getTestInformation

public TestInformation getTestInformation ()

Zwroty
TestInformation

setAbi

public void setAbi (IAbi abi)

Parametry
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parametry
testInformation TestInformation

Chronione metody

methodInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Parametry
method FrameworkMethod

testObj Object

Zwroty
Statement