TestSystemAppInstallSetup

public class TestSystemAppInstallSetup
extends BaseTargetPreparer

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


A ITargetPreparer that installs one or more apps from a IDeviceBuildInfo.getTestsDir() folder onto the /system partition on device.

Requires adb root

Summary

Public constructors

TestSystemAppInstallSetup()

Public methods

void addTestFileName(String fileName)

Adds a file to the list of apks to install

void setUp(TestInformation testInfo)

Public constructors

TestSystemAppInstallSetup

public TestSystemAppInstallSetup ()

Public methods

addTestFileName

public void addTestFileName (String fileName)

Adds a file to the list of apks to install

setUp

public void setUp (TestInformation testInfo)

Parameters
testInfo TestInformation

Throws
DeviceNotAvailableException
TargetSetupError