テストシステムアプリインストールセットアップ

public class TestSystemAppInstallSetup
extends BaseTargetPreparer

java.lang.オブジェクト
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.TestSystemAppInstallSetup


IDeviceBuildInfo.getTestsDir()フォルダーからデバイス上の /system パーティションに 1 つ以上のアプリをインストールするITargetPreparer

adbルートが必要です

まとめ

パブリックコンストラクター

TestSystemAppInstallSetup ()

パブリックメソッド

void addTestFileName (String fileName)

インストールする APK のリストにファイルを追加します

void setUp ( TestInformation testInfo)

パブリックコンストラクター

テストシステムアプリインストールセットアップ

public TestSystemAppInstallSetup ()

パブリックメソッド

addテストファイル名

public void addTestFileName (String fileName)

インストールする APK のリストにファイルを追加します

設定

public void setUp (TestInformation testInfo)

パラメーター
testInfo TestInformation

投げる
DeviceNotAvailableException
TargetSetupError