InstalarAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer (link em inglês)
     ↳ com.android.tradefed.targetprep.InstallAllTestZipAppsSetup


Um ITargetPreparer que instala todos os apps em um arquivo ZIP de teste. Para instalação de app de teste individual confira TestAppInstallSetup.

Resumo

Construtores públicos

InstallAllTestZipAppsSetup()

Métodos públicos

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)

Construtores públicos

InstalarAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Métodos públicos

configurar limpeza

public void setCleanup (boolean cleanup)

Parâmetros
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

Parâmetros
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

Parâmetros
testZipName String

Configuração

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parâmetros
device ITestDevice

buildInfo IBuildInfo

Gera
DeviceNotAvailableException
TargetSetupError

desmontar

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

Parâmetros
device ITestDevice

buildInfo IBuildInfo

e Throwable

Gera
DeviceNotAvailableException