SwitchUserTargetPreparer

public class SwitchUserTargetPreparer
extends BaseSwitchUserTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
  com.android.tradefed.targetprep.BaseSwitchUserTargetPreparer
    com.android.tradefed.targetprep.SwitchUserTargetPreparer


BaseSwitchUserTargetPreparer のデフォルト実装 - 詳細については、そのクラスの javadoc をご覧ください。

概要

定数

String OPTION_USER_TYPE

String OPTION_USER_TYPE_MODE

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

SwitchUserTargetPreparer()

パブリック メソッド

void setUp(TestInformation testInformation)
void setUserType(UserInfo.UserType userType)
void tearDown(TestInformation testInformation, Throwable e)

定数

OPTION_USER_TYPE

public static final String OPTION_USER_TYPE

定数値: "user-type"

OPTION_USER_TYPE_MODE

public static final String OPTION_USER_TYPE_MODE

定数値: "user-type-mode"

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

SwitchUserTargetPreparer

public SwitchUserTargetPreparer ()

パブリック メソッド

setUp

public void setUp (TestInformation testInformation)

パラメータ
testInformation TestInformation

例外
DeviceNotAvailableException
TargetSetupError

setUserType

public void setUserType (UserInfo.UserType userType)

パラメータ
userType UserInfo.UserType

tearDown

public void tearDown (TestInformation testInformation, 
                Throwable e)

パラメータ
testInformation TestInformation

e Throwable

例外
DeviceNotAvailableException