Zadbaj o dobrą organizację dzięki kolekcji Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.

Urządzenie SparametryzowaneRunner

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


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

Ten program uruchamiający jest oparty na natywnym parametrze JUnitParamsRunner , a nie natywnym Parameterized JUnit4, ale natywny sparametryzowany program uruchamiający nie jest naprawdę 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ądzenie SparametryzowaneRunner

public DeviceParameterizedRunner (Class<?> klass)

Rzuty
InitializationError

Metody publiczne

getAbi

public IAbi getAbi ()

Zwroty
IAbi

zdobądź informacje testowe

public TestInformation getTestInformation ()

Zwroty
TestInformation

setAbi

public void setAbi (IAbi abi)

Parametry
abi IAbi

setTestInformacje

public void setTestInformation (TestInformation testInformation)

Parametry
testInformation TestInformation

Metody chronione

metodaInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Parametry
method FrameworkMethod

testObj Object

Zwroty
Statement