InstallaAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

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


Un ITargetPreparer che installa tutte le app in un file ZIP di prova. Per installazioni di app di prova individuali consulta TestAppInstallSetup.

Riepilogo

Costruttori pubblici

InstallAllTestZipAppsSetup()

Metodi pubblici

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)

Costruttori pubblici

InstallaAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Metodi pubblici

setPulizia

public void setCleanup (boolean cleanup)

Parametri
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

Parametri
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

Parametri
testZipName String

impostazione

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parametri
device ITestDevice

buildInfo IBuildInfo

Lanci
DeviceNotAvailableException
TargetSetupError

demolire

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

Parametri
device ITestDevice

buildInfo IBuildInfo

e Throwable

Lanci
DeviceNotAvailableException