结果播放器

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