InstallAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

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


用于安装测试 zip 文件中的所有应用的 ITargetPreparer。如需了解各个测试应用的安装,请参阅 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)

公共构造函数

InstallAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

公共方法

setCleanup

public void setCleanup (boolean cleanup)

参数
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

参数
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

参数
testZipName String

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

参数
device ITestDevice

buildInfo IBuildInfo

tearDown

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

参数
device ITestDevice

buildInfo IBuildInfo

e Throwable