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 для параметризованных тестов, управляемых на стороне хоста.

This runner is based on JUnitParamsRunner and not JUnit4 native Parameterized but the native parameterized runner is not really good and doesn't allow to run a single method.

См. также:

Краткое содержание

Государственные строители

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)

Государственные строители

DeviceParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

Броски
org.junit.runners.model.InitializationError
InitializationError

Общедоступные методы

getAbi

public IAbi getAbi ()

Возвраты
IAbi

получить информацию о тестировании

public TestInformation getTestInformation ()

Возвраты
TestInformation

setAbi

public void setAbi (IAbi abi)

Параметры
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

Параметры
testInformation TestInformation

Защищенные методы

getDevice

protected ITestDevice getDevice ()

Возвраты
ITestDevice

getKeyValueOptions

protected List<String> getKeyValueOptions ()

Возвраты
List<String>

методВызывающий

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

Параметры
method FrameworkMethod

testObj Object

Возвраты
Statement

с AfterClasses

protected Statement withAfterClasses (Statement statement)

Параметры
statement Statement

Возвраты
Statement

withBeforeClasses

protected Statement withBeforeClasses (Statement statement)

Параметры
statement Statement

Возвраты
Statement