RunCommandTargetPreparer

public class RunCommandTargetPreparer
extends BaseTargetPreparer

java.lang.オブジェクト
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 ()

パブリックメソッド

addRunコマンド

public final void addRunCommand (String cmd)

プリペアラーによって実行されるコマンドを追加します。

パラメーター
cmd String

getコマンド

public  getCommands ()

戻り値

getExecutedコマンド

public  getExecutedCommands ()

戻り値

設定

public void setUp (TestInformation testInfo)

パラメーター
testInfo TestInformation

投げる
DeviceNotAvailableException
TargetSetupError

取り壊す

public void tearDown (TestInformation testInfo, 
                Throwable e)

パラメーター
testInfo TestInformation

e Throwable

投げる
DeviceNotAvailableException

保護されたメソッド

デバイスの取得

protected ITestDevice getDevice (TestInformation testInfo)

プリペアラーを適用するデバイスを返します。

戻り値
ITestDeviceプレパレーターを塗布するデバイス。

投げる
com.android.tradefed.targetprep.TargetSetupError
TargetSetupError