AssistenteUtente
public
final
class
UserHelper
extends Object
java.lang.Object
|
ꛭ |
com.android.tradefed.targetprep.UserHelper
|
Riepilogo
Campi |
public
static
final
String |
RUN_TESTS_AS_USER_KEY
Proprietà di sistema utilizzata per indicare quale utente Android esegue il test.
|
Campi
RUN_TESTS_AS_USER_KEY
public static final String RUN_TESTS_AS_USER_KEY
Proprietà di sistema utilizzata per indicare quale utente Android esegue il test.
Metodi pubblici
CreaUtente
public static int createUser (ITestDevice device,
boolean reuseTestUser)
Parametri |
device |
ITestDevice |
reuseTestUser |
boolean |
public static int getRunTestsAsUser (TestInformation testInfo)
Ottiene l'ID utente per eseguire i test come, dalla proprietà RUN_TESTS_AS_USER_KEY
.
Se la proprietà non è impostata o non è valida, restituisce l'utente corrente.
Parametri |
testInfo |
TestInformation |