TestSystemAppInstallSetup
public
class
TestSystemAppInstallSetup
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup | |
Un ITargetPreparer che installa una o più app da una cartella IDeviceBuildInfo.getTestsDir() nella partizione /system del dispositivo.
Richiede il root adb
Riepilogo
Costruttori pubblici | |
|---|---|
TestSystemAppInstallSetup()
|
|
Metodi pubblici | |
|---|---|
void
|
addTestFileName(String fileName)
Aggiunge un file all'elenco degli apk da installare |
void
|
setUp(TestInformation testInfo)
|
Costruttori pubblici
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Metodi pubblici
addTestFileName
public void addTestFileName (String fileName)
Aggiunge un file all'elenco degli apk da installare
setUp
public void setUp (TestInformation testInfo)
| Parametri | |
|---|---|
testInfo |
TestInformation |
| Lanci | |
|---|---|
DeviceNotAvailableException |
|
TargetSetupError |
|