DeviceOwnerTargetPreparer
public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
IConfigurationReceiver
برنامج ITargetPreparer
الذي يقوم بإعداد مكون مالك الجهاز.
تتم إزالة مالكي الجهاز والملف الشخصي الحاليين والمستخدمين الثانويين قبل تعيين مالك الجهاز الجديد.
في teardown ، تمت إزالة مالك الجهاز.
ملخص
المنشئون العامة
DeviceOwnerTargetPreparer
public DeviceOwnerTargetPreparer ()
الأساليب العامة
setConfiguration
public void setConfiguration (IConfiguration configuration)
يقوم IConfiguration
الرمز المستخدم في التكوين.
المعلمات |
---|
configuration | IConfiguration |
public void setUp (TestInformation testInfo)
المعلمات |
---|
testInfo | TestInformation |
public void tearDown (TestInformation testInfo,
Throwable e)
المعلمات |
---|
testInfo | TestInformation |
e | Throwable |