透過集合功能整理內容
你可以依據偏好儲存及分類內容。
PassingTestFileReporter
public class PassingTestFileReporter
extends TestResultListener
implements ITestInvocationListener
ITestInvocationListener
,將通過測試用例的列表保存到測試文件中
概括
公共建設者
PassingTestFileReporter
public PassingTestFileReporter ()
公開方法
調用結束
public void invocationEnded (long elapsedTime)
調用開始
public void invocationStarted (IInvocationContext context)
參數 |
---|
context | IInvocationContext |
測試結果
public void testResult (TestDescription test,
TestResult result)
參數 |
---|
test | TestDescription |
result | TestResult |
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 2020-09-08 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":"其他"
}]