SuiteApkInstaller

public class SuiteApkInstaller
extends TestAppInstallSetup

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
  com.android.tradefed.targetprep.TestAppInstallSetup
    com.android.tradefed.targetprep.suite.SuiteApkInstaller


Installa gli APK specificati per la configurazione della suite: dalla variabile $ANDROID_TARGET_OUT_TESTCASES o da ROOT_DIR nelle informazioni sulla build.

Riepilogo

Costruttori pubblici

SuiteApkInstaller()

Metodi protetti

File getLocalPathForFilename(TestInformation testInfo, String apkFileName)

Risolve il percorso effettivo dell'APK in base alle informazioni sull'artefatto di test all'interno delle informazioni sulla build.

Costruttori pubblici

SuiteApkInstaller

public SuiteApkInstaller ()

Metodi protetti

getLocalPathForFilename

protected File getLocalPathForFilename (TestInformation testInfo, 
                String apkFileName)

Risolve il percorso effettivo dell'APK in base alle informazioni sull'artefatto di test all'interno delle informazioni sulla build.

Parametri
testInfo TestInformation: TestInformation per la chiamata.

apkFileName String: nome file dell'APK da installare

Resi
File un File che rappresenta il file APK fisico sull'host o null se il file non esiste.

Genera
TargetSetupError