所有测试应用程序安装设置
public class AllTestAppsInstallSetup
extends BaseTargetPreparer
implements IAbiReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.AllTestAppsInstallSetup |
将IDeviceBuildInfo#getTestsDir()
文件夹中的所有应用程序安装到设备上的ITargetPreparer
。对于单独的测试应用程序安装,请查看TestAppInstallSetup
概括
公共构造函数 | |
---|---|
AllTestAppsInstallSetup () |
公共方法 | |
---|---|
IAbi | getAbi () |
void | setAbi ( IAbi abi) |
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e)
|
公共构造函数
所有测试应用程序安装设置
public AllTestAppsInstallSetup ()
公共方法
设置
public void setUp (TestInformation testInfo)
参数 | |
---|---|
testInfo | TestInformation |
投掷 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
拆除
public void tearDown (TestInformation testInfo, Throwable e)
参数 | |
---|---|
testInfo | TestInformation |
e | Throwable |
投掷 | |
---|---|
DeviceNotAvailableException |