الجهازالمعطى عداء

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 ولكن عداء المعلمات الأصلي ليس جيدًا حقًا ولا يسمح بتشغيل طريقة واحدة.

أنظر أيضا:

ملخص

المنشأت العامة

DeviceParameterizedRunner (Class<?> klass)

الأساليب العامة

IAbi getAbi ()
TestInformation getTestInformation ()
void setAbi ( IAbi abi)
void setTestInformation ( TestInformation testInformation)

الطرق المحمية

Statement methodInvoker (FrameworkMethod method, Object testObj)

المنشأت العامة

الجهازالمعطى عداء

public DeviceParameterizedRunner (Class<?> klass)

رميات
org.junit.runners.model.InitializationError
InitializationError

الأساليب العامة

getAbi

public IAbi getAbi ()

عائدات
IAbi

getTestInformation

public TestInformation getTestInformation ()

عائدات
TestInformation

setAbi

public void setAbi (IAbi abi)

حدود
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

حدود
testInformation TestInformation

الطرق المحمية

طريقة Invoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

حدود
method FrameworkMethod

testObj Object

عائدات
Statement