Installa AllTestZipAppsSetup

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 l'installazione di app di test 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

Installa AllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Metodi pubblici

setCleanup

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

impostare

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parametri
device ITestDevice

buildInfo IBuildInfo

Lancia
DeviceNotAvailableException
TargetSetupError

demolire

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

Parametri
device ITestDevice

buildInfo IBuildInfo

e Throwable

Lancia
DeviceNotAvailableException