SwitchUserTargetPreparer

public class SwitchUserTargetPreparer
extends BaseSwitchUserTargetPreparer

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


Implementazione predefinita di BaseSwitchUserTargetPreparer. Per ulteriori informazioni, consulta il javadoc della classe .

Riepilogo

Costanti

String OPTION_USER_TYPE

String OPTION_USER_TYPE_MODE

Costruttori pubblici

SwitchUserTargetPreparer()

Metodi pubblici

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

Costanti

OPTION_USER_TYPE

public static final String OPTION_USER_TYPE

Valore costante: "user-type"

OPTION_USER_TYPE_MODE

public static final String OPTION_USER_TYPE_MODE

Valore costante: "user-type-mode"

Costruttori pubblici

SwitchUserTargetPreparer

public SwitchUserTargetPreparer ()

Metodi pubblici

setUp

public void setUp (TestInformation testInformation)

Parametri
testInformation TestInformation

Genera
DeviceNotAvailableException
TargetSetupError

setUserType

public void setUserType (UserInfo.UserType userType)

Parametri
userType UserInfo.UserType

tearDown

public void tearDown (TestInformation testInformation, 
                Throwable e)

Parametri
testInformation TestInformation

e Throwable

Genera
DeviceNotAvailableException