裝置套件

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 更是如此

摘要

公用建構函式

DeviceSuite(Class<?> klass, RunnerBuilder builder)

公用方法

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

保護方法

void runChild(Runner runner, RunNotifier notifier)

公用建構函式

裝置套件

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