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

أنظر أيضا:

ملخص

المقاولين العامة

DeviceParameterizedRunner (Class<?> klass)

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

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

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

Statement methodInvoker (FrameworkMethod method, Object testObj)

المقاولين العامة

DeviceParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

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

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

com.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

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

this.methodInvocer

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

حدود
method FrameworkMethod

testObj Object

عائدات
Statement