ResultsPlayer

public final class ResultsPlayer
extends Object implements IConfigurationReceiver, IRemoteTest

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


重播傳入結果的特殊執行程式。

摘要

欄位

public static final String REPLAY_DONE

公用建構函式

ResultsPlayer()

建構函式。

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

公用建構函式

ResultsPlayer

public ResultsPlayer ()

建構函式。

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