测试系统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 |