SwitchUserTargetPreparer
public class SwitchUserTargetPreparer
extends BaseTargetPreparer
Un ITargetPreparer
che passa al tipo di utente specificato in setUp. Per impostazione predefinita, rimane nell'utente corrente e non viene eseguito alcun passaggio.
Tenta di ripristinare lo stato utente del dispositivo tornando all'utente corrente pre-esecuzione.
Riepilogo
Costruttori pubblici
SwitchUserTargetPreparer
public SwitchUserTargetPreparer ()
Metodi pubblici
public void setUp (TestInformation testInformation)
Parametri |
---|
testInformation | TestInformation |
public void tearDown (TestInformation testInformation,
Throwable e)
Parametri |
---|
testInformation | TestInformation |
e | Throwable |