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)
注入正在使用的 |
字段
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 |