TestSystemAppInstallSetup

public class TestSystemAppInstallSetup
extends BaseTargetPreparer

java.lang.object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.TestSystemAppInstallSetup


یک ITargetPreparer که یک یا چند برنامه را از پوشه IDeviceBuildInfo.getTestsDir() روی پارتیشن سیستم / روی دستگاه نصب می کند.

به ریشه adb نیاز دارد

خلاصه

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

TestSystemAppInstallSetup ()

روش های عمومی

void addTestFileName (String fileName)

فایلی را به لیست apk ها برای نصب اضافه می کند

void setUp ( TestInformation testInfo)

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

TestSystemAppInstallSetup

public TestSystemAppInstallSetup ()

روش های عمومی

افزودنTestFileName

public void addTestFileName (String fileName)

فایلی را به لیست apk ها برای نصب اضافه می کند

برپایی

public void setUp (TestInformation testInfo)

مولفه های
testInfo TestInformation

پرتاب می کند
DeviceNotAvailableException
TargetSetupError