آماده‌ساز هدف کاربر سوئیچ

public class SwitchUserTargetPreparer
extends BaseSwitchUserTargetPreparer

شیء جاوا
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.BaseSwitchUserTargetPreparer
com.android.tradefed.targetprep.SwitchUserTargetPreparer


پیاده‌سازی پیش‌فرض BaseSwitchUserTargetPreparer - برای اطلاعات بیشتر به javadoc مربوط به آن کلاس مراجعه کنید.

خلاصه

ثابت‌ها

String OPTION_USER_TYPE

String OPTION_USER_TYPE_MODE

سازندگان عمومی

SwitchUserTargetPreparer ()

روش‌های عمومی

void setUp ( TestInformation testInformation)
void setUserType ( UserInfo.UserType userType)
void tearDown ( TestInformation testInformation, Throwable e)

ثابت‌ها

نوع کاربر

public static final String OPTION_USER_TYPE

مقدار ثابت: "نوع کاربر"

حالت_گزینش_کاربر

public static final String OPTION_USER_TYPE_MODE

مقدار ثابت: "حالت-نوع-کاربر"

سازندگان عمومی

آماده‌ساز هدف کاربر سوئیچ

public SwitchUserTargetPreparer ()

روش‌های عمومی

راه‌اندازی

public void setUp (TestInformation testInformation)

پارامترها
testInformation TestInformation

پرتاب‌ها
DeviceNotAvailableException
TargetSetupError

تنظیم نوع کاربر

public void setUserType (UserInfo.UserType userType)

پارامترها
userType UserInfo.UserType

اشک‌ریزان

public void tearDown (TestInformation testInformation, 
                Throwable e)

پارامترها
testInformation TestInformation

e Throwable

پرتاب‌ها
DeviceNotAvailableException