RetryResultForwarder
public class RetryResultForwarder
extends ResultForwarder
java.lang.Object | ||
↳ | com.android.tradefed.result.ResultForwarder | |
↳ | com.android.tradefed.result.RetryResultForwarder |
הרחבה של ResultForwarder
שתמיד דוחפת למספר ניסיון נתון.
סיכום
בנאים ציבוריים | |
---|---|
RetryResultForwarder (int attemptNumber, ITestInvocationListener... listeners) |
שיטות ציבוריות | |
---|---|
void | testRunStarted (String runName, int testCount) מדווח על תחילת ריצת מבחן. |
void | testRunStarted (String runName, int testCount, int attemptNumber) מדווח על תחילת ריצת מבחן. |
בנאים ציבוריים
RetryResultForwarder
public RetryResultForwarder (int attemptNumber, ITestInvocationListener... listeners)
פרמטרים | |
---|---|
attemptNumber | int |
listeners | ITestInvocationListener |
שיטות ציבוריות
testRunStarted
public void testRunStarted (String runName, int testCount)
מדווח על תחילת ריצת מבחן.
פרמטרים | |
---|---|
runName | String : שם ריצת הבדיקה |
testCount | int : המספר הכולל של בדיקות בריצת מבחן |
testRunStarted
public void testRunStarted (String runName, int testCount, int attemptNumber)
מדווח על תחילת ריצת מבחן.
פרמטרים | |
---|---|
runName | String : שם ריצת הבדיקה |
testCount | int : המספר הכולל של בדיקות בריצת מבחן |
attemptNumber | int : מספר הזמנה, מזהה את הניסיונות השונים של אותו runName הפועלים מספר פעמים. ה-probyNumber הוא 0 באינדקס ואמור לעלות בכל פעם שמתרחשת ריצה חדשה. לדוגמה, בדיקה מפורטת חוזרת 3 פעמים, היא צריכה לכלול 4 ריצות בסך הכל תחת אותו runName וה-probationNumber הוא מ-0 עד 3. |