設備套件
public class DeviceSuite
extends Suite
implements IAbiReceiver , ISetOptionReceiver , ITestInformationReceiver
java.lang.Object |
↳ | org.junit.runner 運行器 |
| ↳ | org.junit.runners.ParentRunner<org.junit.runner.Runner> |
| | ↳ | org.junit.runners.Suite |
| | | ↳ | com.android.tradefed.testtype.DeviceSuite |
擴展 JUnit4 容器Suite
,以便為需要它的測試提供ITestDevice
。
概括
公共構造函數 |
---|
DeviceSuite (Class<?> klass, RunnerBuilder builder) |
受保護的方法 |
---|
void | runChild (Runner runner, RunNotifier notifier) |
公共構造函數
設備套件
public DeviceSuite (Class<?> klass,
RunnerBuilder builder)
參數 |
---|
klass | Class |
builder | RunnerBuilder |
公共方法
得到阿比
public IAbi getAbi ()
設置Abi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
參數 |
---|
testInformation | TestInformation |
受保護的方法
運行子
protected void runChild (Runner runner,
RunNotifier notifier)
參數 |
---|
runner | Runner |
notifier | RunNotifier |