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 אבל הרץ הילידים עם פרמטרים לא ממש טוב ולא מאפשר להריץ שיטה אחת.

ראה גם:

סיכום

בנאים ציבוריים

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

שיטות ציבוריות

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

שיטות מוגנות

methodInvoker

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

פרמטרים
method FrameworkMethod

testObj Object

החזרות
Statement