ResultsPlayer

public final class ResultsPlayer
extends Object implements IConfigurationReceiver, IRemoteTest

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


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

概要

定数

String REPLAY_DONE

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

ResultsPlayer()

Ctor.

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

定数値: "REPLAY_DONE"

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

ResultsPlayer

public ResultsPlayer ()

Ctor。

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