自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
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)
|
受保護的方法 |
void
|
runChild(Runner runner, RunNotifier notifier)
|
公用建構函式
DeviceSuite
public DeviceSuite (Class<?> klass,
RunnerBuilder builder)
參數 |
klass |
Class |
builder |
RunnerBuilder |
公用方法
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
參數 |
testInformation |
TestInformation |
受保護的方法
runChild
protected void runChild (Runner runner,
RunNotifier notifier)
參數 |
runner |
Runner |
notifier |
RunNotifier |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-03-26 (世界標準時間)。
[null,null,["上次更新時間:2025-03-26 (世界標準時間)。"],[],[]]