設備套件

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)

公共方法

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

公共方法

得到阿比

public IAbi getAbi ()

退貨
IAbi

獲取測試信息

public TestInformation getTestInformation ()

退貨
TestInformation

設置Abi

public void setAbi (IAbi abi)

參數
abi IAbi

設置測試信息

public void setTestInformation (TestInformation testInformation)

參數
testInformation TestInformation

受保護的方法

運行子

protected void runChild (Runner runner, 
                RunNotifier notifier)

參數
runner Runner

notifier RunNotifier