RetryRescheduler

public final class RetryRescheduler
extends Object implements IConfigurationReceiver, IRemoteTest

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.retry.RetryRescheduler


失敗したテストや実行されなかったテストの前回の実行を再スケジュールできる特別なランナー。

概要

定数

String PREVIOUS_LOADER_NAME

パブリック コンストラクタ

RetryRescheduler()

パブリック メソッド

IConfiguration getRetryConfiguration()

再試行する IConfiguration を返します。

void run(TestInformation testInfo, ITestInvocationListener listener)

テストを実行し、結果をリスナーに報告します。

void setConfiguration(IConfiguration configuration)

使用中の IConfiguration を挿入します。

定数

PREVIOUS_LOADER_NAME

public static final String PREVIOUS_LOADER_NAME

定数値: "previous_loader"

パブリック コンストラクタ

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