InstallAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.InstallAllTestZipAppsSetup


Un fichier ITargetPreparer qui installe toutes les applications dans un fichier ZIP test Installation d'une application test individuelle consultez TestAppInstallSetup.

Résumé

Constructeurs publics

InstallAllTestZipAppsSetup()

Méthodes publiques

void setCleanup(boolean cleanup)
void setStopInstallOnFailure(boolean stopInstallOnFailure)
void setTestZipName(String testZipName)
void setUp(ITestDevice device, IBuildInfo buildInfo)

void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e)

Constructeurs publics

InstallAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Méthodes publiques

setCleanup

public void setCleanup (boolean cleanup)

Paramètres
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

Paramètres
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

Paramètres
testZipName String

Configurer

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Paramètres
device ITestDevice

buildInfo IBuildInfo

Génère
DeviceNotAvailableException
TargetSetupError

suppression

public void tearDown (ITestDevice device, 
                IBuildInfo buildInfo, 
                Throwable e)

Paramètres
device ITestDevice

buildInfo IBuildInfo

e Throwable

Génère
DeviceNotAvailableException