SwitchUserTargetPreparer

public class SwitchUserTargetPreparer
extends BaseTargetPreparer

java.lang.Object
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 precedente all'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

Tiri
DeviceNotAvailableException
TargetSetupError

demolire

public void tearDown (TestInformation testInformation, 
                Throwable e)

Parametri
testInformation TestInformation

e Throwable

Tiri
DeviceNotAvailableException