ITestInvocation
public interface ITestInvocation
com.android.tradefed.invoker.ITestInvocation |
מטפל בהזמנה אחת לבדיקת TradeFederation.
סיכום
שיעורים מקוננים | |
---|---|
class | ITestInvocation.ExitInformation מייצג קצת מידע יציאה לצורך קריאה. |
שיטות ציבוריות | |
---|---|
default ITestInvocation.ExitInformation | getExitInfo () פרטי היציאה של הפנייה הנתונה. |
abstract void | invoke (IInvocationContext metadata, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener... extraListeners) בצע את קריאת הבדיקה. |
default void | notifyInvocationStopped (String message, ErrorIdentifier errorId) הודע |
שיטות ציבוריות
getExitInfo
public ITestInvocation.ExitInformation getExitInfo ()
פרטי היציאה של הפנייה הנתונה.
החזרות | |
---|---|
ITestInvocation.ExitInformation |
לעורר
public abstract void invoke (IInvocationContext metadata, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener... extraListeners)
בצע את קריאת הבדיקה.
פרמטרים | |
---|---|
metadata | IInvocationContext : את IInvocationContext לבצע בדיקות. |
config | IConfiguration : את IConfiguration של המבחן הזה. |
rescheduler | IRescheduler : את IRescheduler , לפריסת חלקים של השבעה לביצוע על משאב אחר (ים) |
extraListeners | ITestInvocationListener : ITestInvocationListener זה להודיע, בנוסף לאלה ב config |
זורק | |
---|---|
DeviceNotAvailableException | אם התקשורת עם המכשיר אבדה |
Throwable |
notifyInvocation הופסק
public void notifyInvocationStopped (String message, ErrorIdentifier errorId)
הודע TestInvocation
כי TradeFed התבקש לעצור.
פרמטרים | |
---|---|
message | String : המסר הקשורים לעצור השבעה |
errorId | ErrorIdentifier |
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":"סיבה אחרת"
}]