DeviceParameterizedRunner

public class DeviceParameterizedRunner
extends JUnitParamsRunner implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver

java.lang.オブジェクト
org.junit.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)

保護されたメソッド

Statement methodInvoker (FrameworkMethod method, Object testObj)

パブリックコンストラクター

DeviceParameterizedRunner

public DeviceParameterizedRunner (Class<?> klass)

投げる
org.junit.runners.model.InitializationError
InitializationError

パブリックメソッド

アビを取得

public IAbi getAbi ()

戻り値
IAbi

テスト情報の取得

public TestInformation getTestInformation ()

戻り値
TestInformation

セットアビ

public void setAbi (IAbi abi)

パラメーター
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

パラメーター
testInformation TestInformation

保護されたメソッド

メソッド呼び出し者

protected Statement methodInvoker (FrameworkMethod method, 
                Object testObj)

パラメーター
method FrameworkMethod

testObj Object

戻り値
Statement