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