סיכום מבחן
public class TestSummary
extends Object
java.lang.Object |
↳ | com.android.tradefed.result.TestSummary |
כיתה לייצג סיכום מבחן. מספק שדה בודד לסיכום, בנוסף למאגר מפתח-ערך לסיכום מפורט יותר. מספק גם מקום לזיהוי מקור הסיכום.
סיכום
כיתות מקוננות |
---|
enum | TestSummary.Type |
class | TestSummary.TypedString |
בנאים ציבוריים
סיכום מבחן
public TestSummary (String summaryUri)
בנאי נוחות שלוקח את ייצוג המחרוזת של URI
פרמטרים |
---|
summaryUri | String : String המייצגת URI |
שיטות ציבוריות
addKvEntry
public void addKvEntry (String key,
String value)
פרמטרים |
---|
key | String |
value | String |
addKvEntry
public void addKvEntry (String key,
TestSummary.TypedString value)
פרמטרים |
---|
key | String |
value | TestSummary.TypedString |
getKvEntries
public getKvEntries ()
getSource
public String getSource ()
setSource
public void setSource (String source)
הגדר את מקור הסיכום, למקרה שצרכן מעוניין ליישם חוזה עם יצרן ספציפי
פרמטרים |
---|
source | String : String המכילה את שם מחלקת ה-Java המלא של המקור |
setSummary
public void setSummary (String summary)
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 2022-08-15 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":"סיבה אחרת"
}]