RunOnSystemUserTargetPreparer
public class RunOnSystemUserTargetPreparer
extends BaseTargetPreparer
Un ITargetPreparer
che contrassegna che i test devono essere eseguiti sull'utente (anziché sull'utente corrente).
Per impostazione predefinita, questo cambierà utente in modo che l'utente del sistema sia in primo piano.
Quando si esegue su un dispositivo con un utente del sistema headless, l'utente non verrà cambiato per impostazione predefinita, ma i test verranno comunque eseguiti su quell'utente.
Riepilogo
Costruttori pubblici
RunOnSystemUserTargetPreparer
public RunOnSystemUserTargetPreparer ()
Metodi pubblici
public void setUp (TestInformation testInfo)
Parametri |
---|
testInfo | TestInformation |
public void tearDown (TestInformation testInfo,
Throwable e)
Parametri |
---|
testInfo | TestInformation |
e | Throwable |