嵌套類 |
---|
class | SuiteResultReporter.ModulePrepTimes 用於一個模組的準備和拆卸時間的物件支架。 |
領域
SUITE_REPORTER_SOURCE
public static final String SUITE_REPORTER_SOURCE
公共構造函數
套件結果報告器
public SuiteResultReporter ()
公共方法
取得完整模組
public int getCompleteModules ()
取得失敗的測試
public long getFailedTests ()
獲取模組Abi
public getModulesAbi ()
傳回模組 abi 的映射: 。
獲得通過的測試
public long getPassedTests ()
取得摘要
public TestSummary getSummary ()
取得模組總數
public int getTotalModules ()
取得總測試數
public long getTotalTests ()
呼叫結束
public void invocationEnded (long elapsedTime)
調用開始
public void invocationStarted (IInvocationContext context)
參數 |
---|
context | IInvocationContext |
測試模組啟動
public void testModuleStarted (IInvocationContext moduleContext)
參數 |
---|
moduleContext | IInvocationContext |
受保護的方法
取得當前時間
protected long getCurrentTime ()
取得結束時間
protected long getEndTime ()
傳回呼叫的結束時間。
取得開始時間
protected long getStartTime ()
返回呼叫的開始時間。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]