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 apps de uma pasta IDeviceBuildInfo.getTestsDir() na partição /system do dispositivo.
Requer raiz do adb
Resumo
Construtores públicos | |
|---|---|
TestSystemAppInstallSetup()
|
|
Métodos públicos | |
|---|---|
void
|
addTestFileName(String fileName)
Adiciona um arquivo à lista de APKs a serem instalados |
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 a serem instalados
setUp
public void setUp (TestInformation testInfo)
| Parâmetros | |
|---|---|
testInfo |
TestInformation |
| Gera | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|