安装所有TestZipApps安装程序

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.InstallAllTestZipAppsSetup


一个ITargetPreparer ,用于安装测试 zip 中的所有应用程序。对于单独的测试应用程序安装,请查看TestAppInstallSetup

概括

公共构造函数

InstallAllTestZipAppsSetup ()

公共方法

void setCleanup (boolean cleanup)
void setStopInstallOnFailure (boolean stopInstallOnFailure)
void setTestZipName (String testZipName)
void setUp ( ITestDevice device, IBuildInfo buildInfo)

void tearDown ( ITestDevice device, IBuildInfo buildInfo, Throwable e)

公共构造函数

安装所有TestZipApps安装程序

public InstallAllTestZipAppsSetup ()

公共方法

设置清理

public void setCleanup (boolean cleanup)

参数
cleanup boolean

设置停止安装失败

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

参数
stopInstallOnFailure boolean

设置测试邮政编码名称

public void setTestZipName (String testZipName)

参数
testZipName String

设置

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

参数
device ITestDevice

buildInfo IBuildInfo

投掷
DeviceNotAvailableException
TargetSetupError

拆除

public void tearDown (ITestDevice device, 
                IBuildInfo buildInfo, 
                Throwable e)

参数
device ITestDevice

buildInfo IBuildInfo

e Throwable

投掷
DeviceNotAvailableException