UserHelper

public final class UserHelper
extends Object

java.lang.Object
com.android.tradefed.targetprep.UserHelper


สรุป

เขตข้อมูล

public static final String RUN_TESTS_AS_USER_KEY

คุณสมบัติของระบบที่ใช้เพื่อระบุว่าผู้ใช้ Android คนใดที่กำลังทำการทดสอบ

วิธีการสาธารณะ

static int createUser ( ITestDevice device, boolean reuseTestUser)

เขตข้อมูล

RUN_TESTS_AS_USER_KEY

public static final String RUN_TESTS_AS_USER_KEY

คุณสมบัติของระบบที่ใช้เพื่อระบุว่าผู้ใช้ Android คนใดที่กำลังทำการทดสอบ

วิธีการสาธารณะ

createUser

public static int createUser (ITestDevice device, 
                boolean reuseTestUser)

พารามิเตอร์
device ITestDevice

reuseTestUser boolean

การส่งคืน
int

ขว้าง
DeviceNotAvailableException
TargetSetupError