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 sul dispositivo.
Richiede adb root
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
impostare
public void setUp (TestInformation testInfo)
Parametri | |
---|---|
testInfo | TestInformation |
Tiri | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |