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 |
רץ עם פרמטרים בסגנון JUnit4 לבדיקות פרמטרים מונעות בצד המארח.
הרץ הזה מבוסס על JUnitParamsRunner
ולא JUnit4 native Parameterized
אבל הרץ הילידים עם פרמטרים לא ממש טוב ולא מאפשר להריץ שיטה אחת.
סיכום
שיטות מוגנות |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
בנאים ציבוריים
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
שיטות ציבוריות
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
פרמטרים |
---|
testInformation | TestInformation |
שיטות מוגנות
methodInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
פרמטרים |
---|
method | FrameworkMethod |
testObj | Object |