重试
public final class RetryRescheduler
extends Object
implements IRemoteTest, IConfigurationReceiver
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.retry.RetryRescheduler |
一个特殊的运行程序,允许重新计划之前失败或未执行的运行测试。
概要
嵌套类 | |
---|---|
enum | RetryRescheduler.RetryType 可以重试的测试类型。 |
领域 | |
---|---|
public static final String | PREVIOUS_LOADER_NAME
|
公共建设者 | |
---|---|
RetryRescheduler () |
公开方法 | |
---|---|
IConfiguration | getRetryConfiguration () 返回应重试的 |
void | run (TestInformation testInfo, ITestInvocationListener listener) |
void | setConfiguration ( IConfiguration configuration) 注入正在使用的 |
void | setRescheduler (IRescheduler rescheduler) |
领域
PREVIOUS_LOADER_NAME
public static final String PREVIOUS_LOADER_NAME
公共建设者
重试
public RetryRescheduler ()
公开方法
getRetryConfiguration
public IConfiguration getRetryConfiguration ()
返回应重试的IConfiguration
。
退货 | |
---|---|
IConfiguration |
跑
public void run (TestInformation testInfo, ITestInvocationListener listener)
参量 | |
---|---|
testInfo | TestInformation |
listener | ITestInvocationListener |
投掷 | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
注入正在使用的IConfiguration
。
参量 | |
---|---|
configuration | IConfiguration |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.