重試重新調度器

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 ()

傳回應重試的IConfiguration

void run (TestInformation testInfo, ITestInvocationListener listener)
void setConfiguration ( IConfiguration configuration)

注入正在使用的IConfiguration

void setRescheduler ( IRescheduler rescheduler)

領域

PREVIOUS_LOADER_NAME

public static final String PREVIOUS_LOADER_NAME

公共構造函數

重試重新調度器

public RetryRescheduler ()

公共方法

取得重試配置

public IConfiguration getRetryConfiguration ()

傳回應重試的IConfiguration

退貨
IConfiguration

跑步

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

參數
testInfo TestInformation

listener ITestInvocationListener

投擲
DeviceNotAvailableException

設定配置

public void setConfiguration (IConfiguration configuration)

注入正在使用的IConfiguration

參數
configuration IConfiguration

設定重新調度器

public void setRescheduler (IRescheduler rescheduler)

參數
rescheduler IRescheduler