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
に基づいていますが、ネイティブのパラメーター化ランナーはあまり優れたものではなく、単一のメソッドを実行することはできません。
まとめ
保護されたメソッド |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
パブリックコンストラクター
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
投げる |
---|
| org.junit.runners.model.InitializationError |
InitializationError | |
パブリックメソッド
アビを取得
public IAbi getAbi ()
セットアビ
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
パラメーター |
---|
testInformation | TestInformation |
保護されたメソッド
メソッド呼び出し者
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
パラメーター |
---|
method | FrameworkMethod |
testObj | Object |