TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Oggetto | ||
↳ | 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 root adb
Riepilogo
Costruttori pubblici | |
---|---|
TestSystemAppInstallSetup () |
Metodi pubblici | |
---|---|
void | addTestFileName (String fileName) Aggiunge un file all'elenco di 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 di apk da installare
impostare
public void setUp (TestInformation testInfo)
Parametri | |
---|---|
testInfo | TestInformation |
Getta | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |