TestSystemAppInstallSetup

public class TestSystemAppInstallSetup
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.TestSystemAppInstallSetup


ITargetPreparer, który instaluje co najmniej jedną aplikację z folderu IDeviceBuildInfo.getTestsDir() na partycji /system na urządzeniu.

Wymaga uprawnień roota w ADB

Podsumowanie

Konstruktory publiczne

TestSystemAppInstallSetup()

Metody publiczne

void addTestFileName(String fileName)

Dodaje plik do listy pakietów APK do zainstalowania

void setUp(TestInformation testInfo)

Konstruktory publiczne

TestSystemAppInstallSetup

public TestSystemAppInstallSetup ()

Metody publiczne

addTestFileName

public void addTestFileName (String fileName)

Dodaje plik do listy pakietów APK do zainstalowania

setUp

public void setUp (TestInformation testInfo)

Parametry
testInfo TestInformation

Rzuty
DeviceNotAvailableException
TargetSetupError