PassingTestFileReporter
public class PassingTestFileReporter
extends TestResultListener
implements ITestInvocationListener
java.lang.Object | ||
↳ | com.android.tradefed.result.TestResultListener | |
↳ | com.android.tradefed.result.PassingTestFileReporter |
ITestInvocationListener
ששומר את רשימת מקרי הבדיקה העוברים לקובץ בדיקה
סיכום
בנאים ציבוריים | |
---|---|
PassingTestFileReporter () |
שיטות ציבוריות | |
---|---|
void | invocationEnded (long elapsedTime) מדווח שהפנייה הסתיימה, בין אם בהצלחה ובין אם עקב מצב שגיאה כלשהו. |
void | invocationStarted ( IInvocationContext context) מדווח על תחילת הפעלת הבדיקה. |
void | testResult ( TestDescription test, TestResult result) |
בנאים ציבוריים
PassingTestFileReporter
public PassingTestFileReporter ()
שיטות ציבוריות
הקריאה הסתיימה
public void invocationEnded (long elapsedTime)
מדווח שהפנייה הסתיימה, בין אם בהצלחה ובין אם עקב מצב שגיאה כלשהו.
ייקרא אוטומטית על ידי מסגרת TradeFederation.
פרמטרים | |
---|---|
elapsedTime | long : הזמן שחלף של הקריאה ב-ms |
התראה התחילה
public void invocationStarted (IInvocationContext context)
מדווח על תחילת הפעלת הבדיקה.
ייקרא אוטומטית על ידי מסגרת TradeFederation. כתבים צריכים לעקוף שיטה זו כדי לתמוך בדיווח על מספר מכשירים.
פרמטרים | |
---|---|
context | IInvocationContext : מידע על הפניה |
תוצאה של בדיקה
public void testResult (TestDescription test, TestResult result)
פרמטרים | |
---|---|
test | TestDescription |
result | TestResult |