InstalarAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

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


Um ITargetPreparer que instala todos os aplicativos em um zip de teste. Para instalação de aplicativo de teste individual, consulte 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

setLimpeza

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

configurar

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parâmetros
device ITestDevice

buildInfo IBuildInfo

Lança
DeviceNotAvailableException
TargetSetupError

destruir

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

Parâmetros
device ITestDevice

buildInfo IBuildInfo

e Throwable

Lança
DeviceNotAvailableException