重試調度器
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 |