ResultsPlayer

public final class ResultsPlayer
extends Object implements IConfigurationReceiver, IRemoteTest

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.retry.ResultsPlayer


برنامج تشغيل خاص يعيد عرض النتائج التي تم تقديمها إليه.

ملخّص

الثوابت

String REPLAY_DONE

الإنشاءات العامة

ResultsPlayer()

Ctor.

ResultsPlayer(boolean completed)

الطُرق العامة

boolean completed()

تعرض هذه السمة ما إذا كان قد تم الانتهاء من إعادة تشغيل النتائج باستخدام ResultsReplayer.

void run(TestInformation testInfo, ITestInvocationListener listener)

يُجري الاختبارات ويُبلغ المستمع بالنتيجة.

void setConfiguration(IConfiguration configuration)

يُدرِج IConfiguration المستخدَم.

الثوابت

REPLAY_DONE

public static final String REPLAY_DONE

القيمة الثابتة: "REPLAY_DONE"

الإنشاءات العامة

ResultsPlayer

public ResultsPlayer ()

Ctor.

ResultsPlayer

public ResultsPlayer (boolean completed)

المعلمات
completed boolean

الطُرق العامة

مكتملة

public boolean completed ()

تعرض هذه السمة ما إذا كان قد تم الانتهاء من إعادة تشغيل النتائج باستخدام ResultsReplayer.

المرتجعات
boolean

ضربة طويلة

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

يُجري الاختبارات ويُبلغ المستمع بالنتيجة.

المعلمات
testInfo TestInformation: عنصر TestInformation يحتوي على معلومات مفيدة لتنفيذ الاختبارات.

listener ITestInvocationListener: ITestInvocationListener نتائج الاختبار

الرميات
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

يُدرِج IConfiguration المستخدَم.

المعلمات
configuration IConfiguration