结果播放器
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 () Ctor。 | |
ResultsPlayer (boolean completed) |
公共方法 | |
---|---|
boolean | completed () 返回 ResultsReplayer 是否完成重放结果。 |
void | run ( TestInformation testInfo, ITestInvocationListener listener) 运行测试,并将结果报告给侦听器。 |
void | setConfiguration ( IConfiguration configuration) 注入正在使用的 |
领域
回放_完成
public static final String REPLAY_DONE
公共构造函数
结果播放器
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 |