InstallBuildEnvApkSetup

public class InstallBuildEnvApkSetup
extends Object implements ITargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.InstallBuildEnvApkSetup


A ITargetPreparer that installs one or more test apks from an Android platform build env.

Uses the ANDROID_PRODUCT_OUT env variable to determine location for build apks.

Summary

Public constructors

InstallBuildEnvApkSetup()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Public constructors

InstallBuildEnvApkSetup

InstallBuildEnvApkSetup ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Perform the target setup for testing.

Parameters
device ITestDevice: the ITestDevice to prepare.
buildInfo IBuildInfo: data about the build under test.
Throws
TargetSetupError
BuildError
DeviceNotAvailableException