InstallAllTestZipAppsSetup
public
class
InstallAllTestZipAppsSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.InstallAllTestZipAppsSetup |
A ITargetPreparer
that installs all apps in a test zip. For individual test app install
please look at TestAppInstallSetup
.
Summary
Public constructors | |
---|---|
InstallAllTestZipAppsSetup()
|
Public methods | |
---|---|
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)
|
Public constructors
InstallAllTestZipAppsSetup
public InstallAllTestZipAppsSetup ()
Public methods
setCleanup
public void setCleanup (boolean cleanup)
Parameters | |
---|---|
cleanup |
boolean |
setStopInstallOnFailure
public void setStopInstallOnFailure (boolean stopInstallOnFailure)
Parameters | |
---|---|
stopInstallOnFailure |
boolean |
setTestZipName
public void setTestZipName (String testZipName)
Parameters | |
---|---|
testZipName |
String |
setUp
public void setUp (ITestDevice device, IBuildInfo buildInfo)
Parameters | |
---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
Throws | |
---|---|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (ITestDevice device, IBuildInfo buildInfo, Throwable e)
Parameters | |
---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
e |
Throwable |
Throws | |
---|---|
DeviceNotAvailableException |