DeviceOwnerTargetPreparer
public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
एक ITargetPreparer
जो डिवाइस स्वामी घटक सेट करता है।
नए डिवाइस स्वामी के सेट होने से पहले मौजूदा डिवाइस और प्रोफ़ाइल स्वामियों और द्वितीयक उपयोगकर्ताओं को हटा दिया जाता है।
टियरडाउन में, डिवाइस के मालिक को हटा दिया जाता है।
सारांश
सार्वजनिक निर्माणकर्ता
DeviceOwnerTargetPreparer
public DeviceOwnerTargetPreparer ()
सार्वजनिक तरीके
सेटकॉन्फ़िगरेशन
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 |