DeviceSuite

public class DeviceSuite
extends Suite implements IAbiReceiver, ISetOptionReceiver, ITestInformationReceiver

java.lang.Object
   ↳ org.junit.runner.Runner
     ↳ org.junit.runners.ParentRunner<org.junit.runner.Runner>
       ↳ org.junit.runners.Suite
         ↳ com.android.tradefed.testtype.DeviceSuite


扩展了 JUnit4 容器 Suite,以便向需要 ITestDevice 的测试提供 ITestDevice

摘要

公共构造函数

DeviceSuite(Class<?> klass, RunnerBuilder builder)

公共方法

IAbi getAbi()
TestInformation getTestInformation()
void setAbi(IAbi abi)
void setTestInformation(TestInformation testInformation)

受保护的方法

void runChild(Runner runner, RunNotifier notifier)

公共构造函数

DeviceSuite

public DeviceSuite (Class<?> klass, 
                RunnerBuilder builder)

参数
klass Class

builder RunnerBuilder

抛出
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

受保护的方法

runChild

protected void runChild (Runner runner, 
                RunNotifier notifier)

参数
runner Runner

notifier RunNotifier