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