SwitchUserTargetPreparer

public class SwitchUserTargetPreparer
extends BaseTargetPreparer

java.lang.オブジェクト
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.SwitchUserTargetPreparer


setUp で指定されたユーザーの種類に切り替えるITargetPreparer 。デフォルトでは、現在のユーザーに残り、切り替えは実行されません。

実行前の現在のユーザーに切り替えて、デバイスのユーザー状態を復元しようとします。

まとめ

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

SwitchUserTargetPreparer ()

パブリックメソッド

void setUp ( TestInformation testInformation)
void tearDown ( TestInformation testInformation, Throwable e)

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

SwitchUserTargetPreparer

public SwitchUserTargetPreparer ()

パブリックメソッド

設定

public void setUp (TestInformation testInformation)

パラメーター
testInformation TestInformation

投げる
DeviceNotAvailableException
TargetSetupError

取り壊す

public void tearDown (TestInformation testInformation, 
                Throwable e)

パラメーター
testInformation TestInformation

e Throwable

投げる
DeviceNotAvailableException