TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
ITargetPreparer
cài đặt một hoặc nhiều ứng dụng từ thư mục IDeviceBuildInfo.getTestsDir()
vào phân vùng /system trên thiết bị.
Yêu cầu root adb
Bản tóm tắt
Nhà thầu xây dựng công cộng | |
---|---|
TestSystemAppInstallSetup () |
Phương pháp công khai | |
---|---|
void | addTestFileName (String fileName) Thêm một tập tin vào danh sách apks để cài đặt |
void | setUp ( TestInformation testInfo)
|
Nhà thầu xây dựng công cộng
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Phương pháp công khai
addTestFileName
public void addTestFileName (String fileName)
Thêm một tập tin vào danh sách apks để cài đặt
cài đặt
public void setUp (TestInformation testInfo)
Thông số | |
---|---|
testInfo | TestInformation |
Ném | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |