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)

Runs the tests, and reports result to the 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