透過集合功能整理內容
你可以依據偏好儲存及分類內容。
DeviceParameterizedRunner
public
class
DeviceParameterizedRunner
extends JUnitParamsRunner
implements
IAbiReceiver,
ISetOptionReceiver,
ITestInformationReceiver
java.lang.Object
|
↳ |
org.junit.runner.Runner
|
|
↳ |
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
|
|
|
↳ |
org.junit.runners.BlockJUnit4ClassRunner
|
|
|
|
↳ |
junitparams.JUnitParamsRunner
|
|
|
|
|
↳ |
com.android.tradefed.testtype.junit4.DeviceParameterizedRunner
|
適用於主機端驅動參數化測試的 JUnit4 樣式參數化執行程式。
這個執行器是以 JUnitParamsRunner
為基礎,而非 JUnit4 原生 Parameterized
,但原生參數化執行器並不理想,且不允許執行單一方法。
摘要
受保護的方法 |
Statement
|
methodInvoker(FrameworkMethod method, Object testObj)
|
公用建構函式
DeviceParameterizedRunner
public DeviceParameterizedRunner (Class<?> klass)
擲回 |
|
org.junit.runners.model.InitializationError |
InitializationError |
|
公用方法
getAbi
public IAbi getAbi ()
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
參數 |
testInformation |
TestInformation |
受保護的方法
methodInvoker
protected Statement methodInvoker (FrameworkMethod method,
Object testObj)
參數 |
method |
FrameworkMethod |
testObj |
Object |
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2024-11-22 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-11-22 (世界標準時間)。"],[],[]]