安裝 AllTestZipApps 設定
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)
|
公用建構函式
安裝 AllTestZipApps 設定
public InstallAllTestZipAppsSetup ()
公用方法
設定清除
public void setCleanup (boolean cleanup)
參數 | |
---|---|
cleanup |
boolean |
setStopInstallOnFailure
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 |
TearDown
public void tearDown (ITestDevice device, IBuildInfo buildInfo, Throwable e)
參數 | |
---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
e |
Throwable |
擲回 | |
---|---|
DeviceNotAvailableException |