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 ()

שיטות ציבוריות

invocationEnded

public void invocationEnded (long elapsedTime)

האירוע הזה מדווח על סיום ההפעלה, בין שהיא הסתיימה בהצלחה ובין שהיא הסתיימה בגלל תנאי שגיאה כלשהו.

הקריאה תתבצע באופן אוטומטי על ידי מסגרת TradeFederation.

פרמטרים
elapsedTime long: הזמן שחלף מהקריאה, במילישניות

invocationStarted

public void invocationStarted (IInvocationContext context)

דיווח על התחלת ההפעלה של הבדיקה.

הקריאה תתבצע באופן אוטומטי על ידי מסגרת TradeFederation. דיווחים צריכים לשנות את השיטה הזו כדי לתמוך בדיווח ממספר מכשירים.

פרמטרים
context IInvocationContext: מידע על ההפעלה

testResult

public void testResult (TestDescription test, 
                TestResult result)

פרמטרים
test TestDescription

result TestResult