測試系統應用程式安裝設定

public class TestSystemAppInstallSetup
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.TestSystemAppInstallSetup


一種ITargetPreparer ,用於將IDeviceBuildInfo.getTestsDir()資料夾中的一個或多個應用程式安裝到裝置上的 /system 分割區上。

需要 adb root

概括

公共構造函數

TestSystemAppInstallSetup ()

公共方法

void addTestFileName (String fileName)

將檔案加入要安裝的 apk 清單中

void setUp ( TestInformation testInfo)

公共構造函數

測試系統應用程式安裝設定

public TestSystemAppInstallSetup ()

公共方法

新增測試檔名

public void addTestFileName (String fileName)

將檔案加入要安裝的 apk 清單中

設定

public void setUp (TestInformation testInfo)

參數
testInfo TestInformation

投擲
DeviceNotAvailableException
TargetSetupError