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 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(ITestDevice device, IBuildInfo buildInfo)

Public constructors

TestSystemAppInstallSetup

TestSystemAppInstallSetup ()

Public methods

addTestFileName

void addTestFileName (String fileName)

Adds a file to the list of apks to install

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError
DeviceNotAvailableException