UrządzenieParameterizedRunner
public class DeviceParameterizedRunner
extends JUnitParamsRunner
implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver
java.lang.Obiekt |
↳ | 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 runner jest oparty na JUnitParamsRunner
, a nie natywnym Parameterized
JUnit4, ale natywny sparametryzowany runner nie jest naprawdę dobry i nie pozwala na uruchomienie jednej metody.
Streszczenie
Metody chronione |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
Konstruktory publiczne
UrządzenieParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
Rzuty |
---|
| org.junit.runners.model.InitializationError |
InitializationError | |
Metody publiczne
dostaćAbi
public IAbi getAbi ()
ustaw Abi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
Parametry |
---|
testInformation | TestInformation |
Metody chronione
metodaInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
Parametry |
---|
method | FrameworkMethod |
testObj | Object |