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
れたランナーではありませんが、ネイティブのパラメーター化されたランナーはあまり良くなく、単一のメソッドを実行することはできません。
まとめ
保護されたメソッド |
---|
Statement | methodInvoker (FrameworkMethod method, Object testObj) |
パブリック コンストラクター
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
スロー |
---|
| org.junit.runners.model.InitializationError |
InitializationError | |
公開メソッド
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
パラメーター |
---|
testInformation | TestInformation |
保護されたメソッド
methodInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
パラメーター |
---|
method | FrameworkMethod |
testObj | Object |