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.
Streszczenie
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 ()
ustawAbi
public void setAbi (IAbi abi)
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 |