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 ()

公共方法

設置清理

public void setCleanup (boolean cleanup)

參數
cleanup boolean

設置失敗時停止安裝

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

參數
stopInstallOnFailure boolean

setTestZipName

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