ডিভাইস প্যারামিটারাইজড রানার

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 স্টাইলের প্যারামিটারাইজড রানার।

এই রানারটি JUnit4-এর নেটিভ Parameterized পরিবর্তে JUnitParamsRunner এর উপর ভিত্তি করে তৈরি, কিন্তু নেটিভ প্যারামিটারাইজড রানারটি খুব একটা ভালো নয় এবং এটি দিয়ে একটিমাত্র মেথড চালানো যায় না।

আরও দেখুন:

সারসংক্ষেপ

সরকারি নির্মাণকারী

DeviceParameterizedRunner (Class<?> klass)

জনসাধারণের পদ্ধতি

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

সুরক্ষিত পদ্ধতি

ITestDevice getDevice ()
List<String> getKeyValueOptions ()
Statement methodInvoker (FrameworkMethod method, Object testObj)
Statement withAfterClasses (Statement statement)
Statement withBeforeClasses (Statement statement)

সরকারি নির্মাণকারী

ডিভাইস প্যারামিটারাইজড রানার

public DeviceParameterizedRunner (Class<?> klass)

নিক্ষেপ
org.junit.runners.model.InitializationError
InitializationError

জনসাধারণের পদ্ধতি

getAbi

public IAbi getAbi ()

ফেরত
IAbi

পরীক্ষার তথ্য পান

public TestInformation getTestInformation ()

ফেরত
TestInformation

সেটআবি

public void setAbi (IAbi abi)

প্যারামিটার
abi IAbi

পরীক্ষার তথ্য সেট করুন

public void setTestInformation (TestInformation testInformation)

প্যারামিটার
testInformation TestInformation

সুরক্ষিত পদ্ধতি

ডিভাইস পান

protected ITestDevice getDevice ()

ফেরত
ITestDevice

getKeyValueOptions

protected List<String> getKeyValueOptions ()

ফেরত
List<String>

পদ্ধতি আহ্বানকারী

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

প্যারামিটার
method FrameworkMethod

testObj Object

ফেরত
Statement

আফটারক্লাসেস-এর সাথে

protected Statement withAfterClasses (Statement statement)

প্যারামিটার
statement Statement

ফেরত
Statement

ক্লাসের আগে

protected Statement withBeforeClasses (Statement statement)

প্যারামিটার
statement Statement

ফেরত
Statement