測試系統AppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
一個ITargetPreparer
,它將IDeviceBuildInfo.getTestsDir()
文件夾中的一個或多個應用程序安裝到設備上的 /system 分區。
需要亞行根
概括
公共構造函數 | |
---|---|
TestSystemAppInstallSetup () |
公共方法 | |
---|---|
void | addTestFileName (String fileName) 將文件添加到要安裝的 apk 列表中 |
void | setUp ( TestInformation testInfo)
|
公共構造函數
測試系統AppInstallSetup
public TestSystemAppInstallSetup ()
公共方法
添加測試文件名
public void addTestFileName (String fileName)
將文件添加到要安裝的 apk 列表中
設置
public void setUp (TestInformation testInfo)
參數 | |
---|---|
testInfo | TestInformation |
投擲 | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |