SwitchUserTargetPreparer

public class SwitchUserTargetPreparer
extends BaseTargetPreparer

java.lang.Oggetto
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.SwitchUserTargetPreparer


Un ITargetPreparer che passa al tipo di utente specificato in setUp. Per impostazione predefinita rimane nell'utente corrente e non viene eseguita alcuna commutazione.

Tenta di ripristinare lo stato utente del dispositivo tornando all'utente corrente prima dell'esecuzione.

Riepilogo

Costruttori pubblici

SwitchUserTargetPreparer ()

Metodi pubblici

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

Costruttori pubblici

SwitchUserTargetPreparer

public SwitchUserTargetPreparer ()

Metodi pubblici

impostare

public void setUp (TestInformation testInformation)

Parametri
testInformation TestInformation

Getta
DeviceNotAvailableException
TargetSetupError

demolire

public void tearDown (TestInformation testInformation, 
                Throwable e)

Parametri
testInformation TestInformation

e Throwable

Getta
DeviceNotAvailableException