الجهازالمعطى عداء
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 الأصلي Parameterized
ولكن عداء المعلمات الأصلي ليس جيدًا حقًا ولا يسمح بتشغيل طريقة واحدة.
ملخص
الطرق المحمية |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
المنشأت العامة
الجهازالمعطى عداء
public DeviceParameterizedRunner (Class<?> klass)
رميات |
---|
| org.junit.runners.model.InitializationError |
InitializationError | |
الأساليب العامة
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
حدود |
---|
testInformation | TestInformation |
الطرق المحمية
طريقة Invoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
حدود |
---|
method | FrameworkMethod |
testObj | Object |