RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.RunCommandTargetPreparer


まとめ

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

RunCommandTargetPreparer ()

公開メソッド

final void addRunCommand (String cmd)

作成者によって実行されるコマンドを追加します。

getCommands ()
getExecutedCommands ()
void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

保護されたメソッド

ITestDevice getDevice ( TestInformation testInfo)

準備ツールを適用するデバイスを返します。

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

RunCommandTargetPreparer

public RunCommandTargetPreparer ()

公開メソッド

addRunCommand

public final void addRunCommand (String cmd)

作成者によって実行されるコマンドを追加します。

パラメーター
cmd String

getコマンド

public  getCommands ()

戻り値

getExecutedCommands

public  getExecutedCommands ()

戻り値

設定

public void setUp (TestInformation testInfo)

パラメーター
testInfo TestInformation

スロー
DeviceNotAvailableException
TargetSetupError

取り壊す

public void tearDown (TestInformation testInfo, 
                Throwable e)

パラメーター
testInfo TestInformation

e Throwable

スロー
DeviceNotAvailableException

保護されたメソッド

getDevice

protected ITestDevice getDevice (TestInformation testInfo)

準備ツールを適用するデバイスを返します。

戻り値
ITestDevice作成者を適用するデバイス。

スロー
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError