InstallAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

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


Un ITargetPreparer qui installe toutes les applications dans un zip de test. Pour l'installation d'une application de test individuelle, veuillez consulter 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

installation

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Paramètres
device ITestDevice

buildInfo IBuildInfo

Jetés
DeviceNotAvailableException
TargetSetupError

démolir

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

Paramètres
device ITestDevice

buildInfo IBuildInfo

e Throwable

Jetés
DeviceNotAvailableException