TestSystemAppInstallSetup
public
class
TestSystemAppInstallSetup
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup | |
ITargetPreparer الذي يُثبِّت تطبيقًا واحدًا أو أكثر من مجلد IDeviceBuildInfo.getTestsDir() على قسم /system على الجهاز
يتطلب الوصول إلى الجذر من خلال adb
ملخّص
وظائف الإنشاء العامة | |
|---|---|
TestSystemAppInstallSetup()
|
|
الطرق العامة | |
|---|---|
void
|
addTestFileName(String fileName)
تضيف ملفًا إلى قائمة ملفات APK المطلوب تثبيتها. |
void
|
setUp(TestInformation testInfo)
|
وظائف الإنشاء العامة
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
الطرق العامة
addTestFileName
public void addTestFileName (String fileName)
تضيف ملفًا إلى قائمة ملفات APK المطلوب تثبيتها.
setUp
public void setUp (TestInformation testInfo)
| المعلمات | |
|---|---|
testInfo |
TestInformation |
| عمليات الرمي | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|