RetryRescheduler
public
final
class
RetryRescheduler
extends Object
implements
IConfigurationReceiver,
IRemoteTest
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.suite.retry.RetryRescheduler |
特殊的執行程式,可重新排定先前執行的測試失敗或未執行的時間。
摘要
欄位 | |
|---|---|
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
公用建構函式
RetryRescheduler
public RetryRescheduler ()
公用方法
getRetryConfiguration
public IConfiguration getRetryConfiguration ()
傳回應重試的 IConfiguration。
| 傳回 | |
|---|---|
IConfiguration |
|
得分
public void run (TestInformation testInfo, ITestInvocationListener listener)
執行測試,並將結果回報給監聽器。
| 參數 | |
|---|---|
testInfo |
TestInformation:包含執行測試所需實用資訊的 TestInformation 物件。 |
listener |
ITestInvocationListener:測試結果的 ITestInvocationListener |
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
插入正在使用的 IConfiguration。
| 參數 | |
|---|---|
configuration |
IConfiguration |