TestSystemAppInstallSetup
public
class
TestSystemAppInstallSetup
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup | |
ITargetPreparer 會將一或多個應用程式從 IDeviceBuildInfo.getTestsDir() 資料夾安裝到裝置的 /system 分區。
需要 ADB 根目錄
摘要
公用建構函式 | |
|---|---|
TestSystemAppInstallSetup()
|
|
公用方法 | |
|---|---|
void
|
addTestFileName(String fileName)
將檔案新增至要安裝的 APK 清單 |
void
|
setUp(TestInformation testInfo)
|
公用建構函式
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
公用方法
addTestFileName
public void addTestFileName (String fileName)
將檔案新增至要安裝的 APK 清單
setUp
public void setUp (TestInformation testInfo)
| 參數 | |
|---|---|
testInfo |
TestInformation |
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|