Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
JUnitRunUtil
public class JUnitRunUtil
extends Object
java.lang.Object |
↳ | com.android.tradefed.testtype.JUnitRunUtil |
Một lớp trợ giúp để chuyển hướng lệnh gọi IRemoteTest#run(TestInformation, ITestInvocationListener)
đến lệnh gọi Test#run(TestResult)
.
Bản tóm tắt
Nhà thầu xây dựng công cộng
JUnitRunUtil
public JUnitRunUtil ()
Phương pháp công khai
chạy thử
public static boolean runTest (ITestInvocationListener listener,
Test junitTest,
String runName)
Thông số |
---|
listener | ITestInvocationListener |
junitTest | Test |
runName | String |
chạy thử
public static boolean runTest (ITestInvocationListener listener,
Test junitTest)
Thông số |
---|
listener | ITestInvocationListener |
junitTest | Test |
public static boolean runTest (ITestInvocationListener listener,
Test junitTest,
String runName,
TestInformation testInfo)
Thông số |
---|
listener | ITestInvocationListener |
junitTest | Test |
runName | String |
testInfo | TestInformation |
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2023-12-01 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]