重试调度器
public final class RetryRescheduler
extends Object
implements IRemoteTest , IConfigurationReceiver
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.retry.RetryResscheduler |
一个特殊的运行器,允许重新安排以前运行的失败或未执行的测试。
概括
领域 | |
---|---|
public static final String | PREVIOUS_LOADER_NAME
|
公共构造函数 | |
---|---|
RetryRescheduler () |
公共方法 | |
---|---|
IConfiguration | getRetryConfiguration () 返回应重试的 |
void | run ( TestInformation testInfo, ITestInvocationListener listener) 运行测试,并将结果报告给侦听器。 |
void | setConfiguration ( IConfiguration configuration) 注入正在使用的 |
领域
PREVIOUS_LOADER_NAME
public static final String PREVIOUS_LOADER_NAME
公共构造函数
重试调度器
public RetryRescheduler ()
公共方法
跑步
public void run (TestInformation testInfo, ITestInvocationListener listener)
运行测试,并将结果报告给侦听器。
参数 | |
---|---|
testInfo | TestInformation :包含运行测试的有用信息的TestInformation 对象。 |
listener | ITestInvocationListener : 测试结果的ITestInvocationListener |
投掷 | |
---|---|
DeviceNotAvailableException |
设置配置
public void setConfiguration (IConfiguration configuration)
注入正在使用的IConfiguration
。
参数 | |
---|---|
configuration | IConfiguration |