結果播放器

public final class ResultsPlayer
extends Object implements IRemoteTest , IConfigurationReceiver

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


重播給它的結果的特殊跑步者。

概括

公共構造函數

ResultsPlayer ()

Ctor。

ResultsPlayer (boolean completed)

公共方法

boolean completed ()

返回 ResultsReplayer 是否完成重放結果。

void run ( TestInformation testInfo, ITestInvocationListener listener)

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

void setConfiguration ( IConfiguration configuration)

注入正在使用的IConfiguration

公共構造函數

結果播放器

public ResultsPlayer ()

Ctor。

結果播放器

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

設置配置

public void setConfiguration (IConfiguration configuration)

注入正在使用的IConfiguration

參數
configuration IConfiguration