public class

TestSystemAppInstallSetup

extends Object
implements ITargetPreparer
java.lang.Object
   ↳ com.android.tradefed.targetprep.TestSystemAppInstallSetup

Class Overview

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)
Perform the target setup for testing.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.targetprep.ITargetPreparer

Public Constructors

public TestSystemAppInstallSetup ()

Public Methods

public void addTestFileName (String fileName)

Adds a file to the list of apks to install

public void setUp (ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Parameters
device the ITestDevice to prepare.
buildInfo data about the build under test.