PruebaSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
| java.lang.Objeto | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup | |
Un ITargetPreparer que instala una o más aplicaciones desde una carpeta IDeviceBuildInfo.getTestsDir() en la partición /system del dispositivo.
Requiere raíz de adb
Resumen
Constructores públicos | |
|---|---|
TestSystemAppInstallSetup () | |
Métodos públicos | |
|---|---|
void | addTestFileName (String fileName)Agrega un archivo a la lista de apks para instalar |
void | setUp ( TestInformation testInfo)
|
Constructores públicos
PruebaSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Métodos públicos
agregar nombre de archivo de prueba
public void addTestFileName (String fileName)
Agrega un archivo a la lista de apks para instalar
configuración
public void setUp (TestInformation testInfo)
| Parámetros | |
|---|---|
testInfo | TestInformation |
| Lanza | |
|---|---|
DeviceNotAvailableException | |
TargetSetupError | |