AllTestAppsInstallSetup
public
class
AllTestAppsInstallSetup
extends BaseTargetPreparer
implements
IAbiReceiver
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.AllTestAppsInstallSetup | |
將 IDeviceBuildInfo.getTestsDir() 資料夾中的所有應用程式安裝到裝置上的 ITargetPreparer。如要瞭解個別測試應用程式安裝作業,請參閱 TestAppInstallSetup
摘要
公用建構函式 | |
|---|---|
AllTestAppsInstallSetup()
|
|
公用方法 | |
|---|---|
IAbi
|
getAbi()
|
void
|
setAbi(IAbi abi)
|
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
公用建構函式
AllTestAppsInstallSetup
public AllTestAppsInstallSetup ()
公用方法
setUp
public void setUp (TestInformation testInfo)
| 參數 | |
|---|---|
testInfo |
TestInformation |
| 擲回 | |
|---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
|
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
| 參數 | |
|---|---|
testInfo |
TestInformation |
e |
Throwable |
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|