TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
Um ITargetPreparer
que instala um ou mais aplicativos de uma pasta IDeviceBuildInfo.getTestsDir()
na partição /system no dispositivo.
Requer raiz adb
Resumo
Construtores públicos | |
---|---|
TestSystemAppInstallSetup () |
Métodos públicos | |
---|---|
void | addTestFileName (String fileName) Adiciona um arquivo à lista de apks para instalar |
void | setUp ( TestInformation testInfo)
|
Construtores públicos
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Métodos públicos
addTestFileName
public void addTestFileName (String fileName)
Adiciona um arquivo à lista de apks para instalar
configurar
public void setUp (TestInformation testInfo)
Parâmetros | |
---|---|
testInfo | TestInformation |
lances | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |