SandboxedInvocationExecution
public class SandboxedInvocationExecution
extends InvocationExecution
java.lang.Object | ||
↳ | com.android.tradefed.invoker.InvocationExecution | |
↳ | com.android.tradefed.invoker.sandbox.SandboxedInvocationExecution |
ביצוע מיוחד של ה-Sandbox של ה-invocation: זהו ה-InvocationExection כאשר אנו נמצאים בתוך ה-sandbox שמריצים את הפקודה. ה-build כבר אמור להיות זמין בהקשר.
סיכום
בנאים ציבוריים | |
---|---|
SandboxedInvocationExecution () |
שיטות ציבוריות | |
---|---|
void | cleanUpBuilds ( IInvocationContext context, IConfiguration config) בצע את שלב הניקוי build_provider. |
boolean | fetchBuild ( TestInformation testInfo, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener listener) בצע את שלב build_provider של ההזמנה. |
שיטות מוגנות | |
---|---|
getLabPreparersToRun ( IConfiguration config, String deviceName) אחזר רשימה של מכיני מעבדה להפעלה במכשיר זה. | |
getTargetPreparersToRun ( IConfiguration config, String deviceName) אחזר רשימה של מכיני יעדים להפעלה במכשיר זה. | |
void | logHostAdb ( IConfiguration config, ITestLogger logger) אסוף את היומנים מ-$TMPDIR/adb.$UID.log. |
בנאים ציבוריים
SandboxedInvocationExecution
public SandboxedInvocationExecution ()
שיטות ציבוריות
cleanUpBuilds
public void cleanUpBuilds (IInvocationContext context, IConfiguration config)
בצע את שלב הניקוי build_provider. משויך להבאת ה-build.
פרמטרים | |
---|---|
context | IInvocationContext : IInvocationContext של הקריאה. |
config | IConfiguration : IConfiguration של הפעלת בדיקה זו. |
fetchBuild
public boolean fetchBuild (TestInformation testInfo, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener listener)
בצע את שלב build_provider של ההזמנה.
פרמטרים | |
---|---|
testInfo | TestInformation : ה- TestInformation של ההזמנה. |
config | IConfiguration : IConfiguration של הפעלת בדיקה זו. |
rescheduler | IRescheduler : IRescheduler , לתזמון מחדש של חלקים מההזמנה לביצוע במשאב(ים) אחר |
listener | ITestInvocationListener : ה- ITestInvocation לדווח על כשלים בהורדה של build. |
החזרות | |
---|---|
boolean | נכון אם הורדנו בהצלחה את ה-build, לא נכון אחרת. |
זורק | |
---|---|
BuildRetrievalError | |
DeviceNotAvailableException |
שיטות מוגנות
getLabPreparersToRun
protectedgetLabPreparersToRun (IConfiguration config, String deviceName)
אחזר רשימה של מכיני מעבדה להפעלה במכשיר זה.
נדחק בשיעורי ארגז חול כדי להגביל את הפעלת מכיני המעבדה בתוך ילד ארגז החול
פרמטרים | |
---|---|
config | IConfiguration |
deviceName | String |
החזרות | |
---|---|
getTargetPreparersToRun
protectedgetTargetPreparersToRun (IConfiguration config, String deviceName)
אחזר רשימה של מכיני יעדים להפעלה במכשיר זה.
נדחק בשיעורי ארגז חול כדי להגביל את הפעלת מכיני המעבדה בתוך ילד ארגז החול
פרמטרים | |
---|---|
config | IConfiguration |
deviceName | String |
החזרות | |
---|---|
logHostAdb
protected void logHostAdb (IConfiguration config, ITestLogger logger)
אסוף את היומנים מ-$TMPDIR/adb.$UID.log.
פרמטרים | |
---|---|
config | IConfiguration |
logger | ITestLogger |