透過集合功能整理內容
你可以依據偏好儲存及分類內容。
報告通過測試
public class ReportPassedTests
extends CollectingTestListener
implements IConfigurationReceiver
在文件中報告可能的過濾器以排除通過的測試。
概括
公共構造函數
報告通過測試
public ReportPassedTests ()
公共方法
調用結束
public void invocationEnded (long elapsedTime)
調用失敗
public void invocationFailed (FailureDescription failure)
參數 |
---|
failure | FailureDescription |
設置記錄器
public void setLogger (ITestLogger logger)
測試模塊結束
public void testModuleEnded ()
測試模塊啟動
public void testModuleStarted (IInvocationContext moduleContext)
參數 |
---|
moduleContext | IInvocationContext |
測試運行結束
public void testRunEnded (long elapsedTime,
runMetrics)
參數 |
---|
elapsedTime | long |
runMetrics | |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 UTC.
[{
"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":"其他"
}]