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