Mantieni tutto organizzato con le raccolte Salva e classifica i contenuti in base alle tue preferenze.

InstallAllTestZipAppsSetup

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 uno zip di prova. Per l'installazione di singole app di prova, guarda 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

InstallAllTestZipAppsSetup

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

Tiri
DeviceNotAvailableException
TargetSetupError

demolire

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

Parametri
device ITestDevice

buildInfo IBuildInfo

e Throwable

Tiri
DeviceNotAvailableException