AllTestAppsInstallSetup
public
class
AllTestAppsInstallSetup
extends BaseTargetPreparer
implements
ITargetCleaner,
IAbiReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.AllTestAppsInstallSetup |
A ITargetPreparer
that installs all apps from a IDeviceBuildInfo#getTestsDir()
folder onto device. For individual test app install please look at TestAppInstallSetup
Summary
Public constructors | |
---|---|
AllTestAppsInstallSetup()
|
Public methods | |
---|---|
IAbi
|
getAbi()
|
void
|
setAbi(IAbi abi)
|
void
|
setUp(ITestDevice device, IBuildInfo buildInfo)
Perform the target setup for testing. |
void
|
tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e)
Perform the target cleanup/teardown after testing. |
Public constructors
AllTestAppsInstallSetup
public AllTestAppsInstallSetup ()
Public methods
setUp
public void setUp (ITestDevice device, IBuildInfo buildInfo)
Perform the target setup for testing.
Parameters | |
---|---|
device |
ITestDevice : the ITestDevice to prepare. |
buildInfo |
IBuildInfo : data about the build under test. |
Throws | |
---|---|
DeviceNotAvailableException |
|
TargetSetupError |
tearDown
public void tearDown (ITestDevice device, IBuildInfo buildInfo, Throwable e)
Perform the target cleanup/teardown after testing.
Parameters | |
---|---|
device |
ITestDevice : the ITestDevice to prepare. |
buildInfo |
IBuildInfo : data about the build under test. |
e |
Throwable : if the invocation ended with an exception, this will be the exception that was
caught at the Invocation level. Otherwise, will be null . |
Throws | |
---|---|
DeviceNotAvailableException |