RunOnSystemUserTargetPreparer
public class RunOnSystemUserTargetPreparer
extends BaseTargetPreparer
Un ITargetPreparer
che i marchi che i test dovrebbero essere eseguiti sul utente (piuttosto che l'utente attuale).
Per impostazione predefinita, questo cambierà utente in modo che l'utente del sistema sia in primo piano.
Durante l'esecuzione su un dispositivo con un utente di sistema headless, l'utente non verrà cambiato per impostazione predefinita, ma i test verranno comunque eseguiti su quell'utente.
Riepilogo
Metodi pubblici |
---|
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
Costruttori pubblici
RunOnSystemUserTargetPreparer
public RunOnSystemUserTargetPreparer ()
Metodi pubblici
public void setUp (TestInformation testInfo)
Parametri |
---|
testInfo | TestInformation |
tiri |
---|
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
Parametri |
---|
testInfo | TestInformation |
e | Throwable |
tiri |
---|
DeviceNotAvailableException | |