結果播放器

public final class ResultsPlayer
extends Object implements IRemoteTest , IConfigurationReceiver

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

領域

重播_完成

public static final String REPLAY_DONE

公共構造函數

結果播放器

public ResultsPlayer ()

科特。

結果播放器

public ResultsPlayer (boolean completed)

參數
completed boolean

公共方法

完全的

public boolean completed ()

傳回 ResultsReplayer 是否完成重播結果。

退貨
boolean

跑步

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

運行測試,並將結果報告給偵聽器。

參數
testInfo TestInformationTestInformation物件包含執行測試的有用資訊。

listener ITestInvocationListener :測試結果的ITestInvocationListener

投擲
DeviceNotAvailableException

設定配置

public void setConfiguration (IConfiguration configuration)

注入正在使用的IConfiguration

參數
configuration IConfiguration