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 שירוצו כמה פעמים. הערך של attemptNumber מתחיל ב-0 וצריך לעלות בכל פעם שמתבצעה הפעלה חדשה. לדוגמה, אם מתבצעות 3 ניסיונות מפורטים של בדיקה, צריכות להיות לה 4 הפעלות בסך הכול באותו runName, והערך של attemptNumber יהיה בין 0 ל-3. |