Configuración de InstallAllTestZipApps
public
class
InstallAllTestZipAppsSetup
extends BaseTargetPreparer
Objeto java.lang. | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.InstallAllTestZipAppsSetup |
Un objeto ITargetPreparer
que instala todas las apps en un archivo ZIP de prueba Para la instalación de apps de prueba individual
consulta TestAppInstallSetup
.
Resumen
Constructores 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)
|
Constructores públicos
Configuración de InstallAllTestZipApps
public InstallAllTestZipAppsSetup ()
Métodos públicos
ConfigurarLimpieza
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 |
Configuración
public void setUp (ITestDevice device, IBuildInfo buildInfo)
Parámetros | |
---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
Arroja | |
---|---|
DeviceNotAvailableException |
|
TargetSetupError |
Eliminar
public void tearDown (ITestDevice device, IBuildInfo buildInfo, Throwable e)
Parámetros | |
---|---|
device |
ITestDevice |
buildInfo |
IBuildInfo |
e |
Throwable |
Arroja | |
---|---|
DeviceNotAvailableException |