InvocationProtoResultReporter

public class InvocationProtoResultReporter
extends ModuleProtoResultReporter

java.lang.Object
   ↳ com.android.tradefed.result.proto.ProtoResultReporter
     ↳ com.android.tradefed.result.proto.FileProtoResultReporter
       ↳ com.android.tradefed.result.proto.ModuleProtoResultReporter
         ↳ com.android.tradefed.result.proto.InvocationProtoResultReporter


דיווחים לאחסון מידע על מטמון ברמת ההפעלה ורשימה של המודולים שלו

סיכום

יוצרים ציבוריים

InvocationProtoResultReporter()
InvocationProtoResultReporter(IInvocationContext mainInvocationContext, boolean granularResults)

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

void invocationFailed(FailureDescription failure)

דיווח על קריאה חלקית עקב תנאי שגיאה כלשהו.

void invocationFailed(Throwable cause)

דיווח על קריאה חלקית עקב תנאי שגיאה כלשהו.

void invocationStarted(IInvocationContext context)

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

שיטות מוגנות

void beforeModuleStart()

יוצרים ציבוריים

InvocationProtoResultReporter

public InvocationProtoResultReporter ()

InvocationProtoResultReporter

public InvocationProtoResultReporter (IInvocationContext mainInvocationContext, 
                boolean granularResults)

פרמטרים
mainInvocationContext IInvocationContext

granularResults boolean

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

invocationFailed

public void invocationFailed (FailureDescription failure)

דיווח על קריאה חלקית עקב תנאי שגיאה כלשהו.

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

פרמטרים
failure FailureDescription: ה-FailureDescription שמתאר את הסיבה לכישלון

invocationFailed

public void invocationFailed (Throwable cause)

דיווח על קריאה חלקית עקב תנאי שגיאה כלשהו.

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

פרמטרים
cause Throwable: Throwable הסיבה לכישלון

invocationStarted

public void invocationStarted (IInvocationContext context)

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

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

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

שיטות מוגנות

beforeModuleStart

protected void beforeModuleStart ()