public class

TestAppInstallSetup

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

Class Overview

A ITargetPreparer that installs one or more apps from a getTestsDir() folder onto device.

Summary

Public Constructors
TestAppInstallSetup()
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 TestAppInstallSetup ()

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.