TestSystemAppInstallSetup
public
class
TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
ऐसा ITargetPreparer
जो डिवाइस के /system पार्टीशन पर, IDeviceBuildInfo.getTestsDir()
फ़ोल्डर से एक या उससे ज़्यादा ऐप्लिकेशन इंस्टॉल करता है.
इसके लिए, adb root की ज़रूरत होती है
खास जानकारी
पब्लिक कंस्ट्रक्टर | |
---|---|
TestSystemAppInstallSetup()
|
सार्वजनिक तरीके | |
---|---|
void
|
addTestFileName(String fileName)
इंस्टॉल करने के लिए, APKs की सूची में फ़ाइल जोड़ता है |
void
|
setUp(TestInformation testInfo)
|
पब्लिक कंस्ट्रक्टर
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
सार्वजनिक तरीके
addTestFileName
public void addTestFileName (String fileName)
इंस्टॉल करने के लिए, APKs की सूची में फ़ाइल जोड़ता है
setUp
public void setUp (TestInformation testInfo)
पैरामीटर | |
---|---|
testInfo |
TestInformation |
थ्रो | |
---|---|
DeviceNotAvailableException |
|
TargetSetupError |