ResultsPlayer

public final class ResultsPlayer
extends Object implements IConfigurationReceiver, IRemoteTest

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


指定された結果を再生する特別なランナー。

概要

フィールド

public static final String REPLAY_DONE

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

ResultsPlayer()

コンストラクタ。

ResultsPlayer(boolean completed)

パブリック メソッド

boolean completed()

ResultsReplayer が結果の再生を完了したかどうかを返します。

void run(TestInformation testInfo, ITestInvocationListener listener)

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

void setConfiguration(IConfiguration configuration)

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

フィールド

REPLAY_DONE

public static final String REPLAY_DONE

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

ResultsPlayer

public ResultsPlayer ()

コンストラクタ。

ResultsPlayer

public ResultsPlayer (boolean completed)

パラメータ
completed boolean

パブリック メソッド

完了

public boolean completed ()

ResultsReplayer が結果の再生を完了したかどうかを返します。

戻り値
boolean

ホームラン

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

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

パラメータ
testInfo TestInformation: テストの実行に役立つ情報が含まれる TestInformation オブジェクト。

listener ITestInvocationListener: テスト結果の ITestInvocationListener

例外
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

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

パラメータ
configuration IConfiguration