TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Obiekt | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
ITargetPreparer
, który instaluje jedną lub więcej aplikacji z folderu IDeviceBuildInfo.getTestsDir()
na partycji /system na urządzeniu.
Wymaga rootowania adb
Streszczenie
Konstruktory publiczne | |
---|---|
TestSystemAppInstallSetup () |
Metody publiczne | |
---|---|
void | addTestFileName (String fileName) Dodaje plik do listy aplikacji do zainstalowania |
void | setUp ( TestInformation testInfo)
|
Konstruktory publiczne
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Metody publiczne
dodajNazwęPlikuTestowego
public void addTestFileName (String fileName)
Dodaje plik do listy aplikacji do zainstalowania
organizować coś
public void setUp (TestInformation testInfo)
Parametry | |
---|---|
testInfo | TestInformation |
Rzuty | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |