TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
Un ITargetPreparer
qui installe une ou plusieurs applications à partir d'un dossier IDeviceBuildInfo.getTestsDir()
sur la partition /system sur l'appareil.
Nécessite la racine adb
Résumé
Constructeurs publics | |
---|---|
TestSystemAppInstallSetup () |
Méthodes publiques | |
---|---|
void | addTestFileName (String fileName) Ajoute un fichier à la liste des apks à installer |
void | setUp ( TestInformation testInfo)
|
Constructeurs publics
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Méthodes publiques
addTestFileName
public void addTestFileName (String fileName)
Ajoute un fichier à la liste des apks à installer
installation
public void setUp (TestInformation testInfo)
Paramètres | |
---|---|
testInfo | TestInformation |
Lance | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |