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 |
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|
tearDown
public void tearDown (ITestDevice device, IBuildInfo buildInfo, Throwable e)
| 參數 | |
|---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
e |
Throwable |
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|