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

公開メソッド

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