public interface

ITargetPreparer

com.android.tradefed.targetprep.ITargetPreparer
Known Indirect Subclasses

Class Overview

Prepares the test environment for the test run.

For example, installs software, tweaks env settings for testing, launches targets etc.

Note that multiple ITargetPreparer can specified in a configuration. It is recommended that each ITargetPreparer clearly document its expected environment pre-setup and post-setUp. e.g. a ITargetPreparer that configures a device for testing must be run after the ITargetPreparer that installs software.

Summary

Public Methods
abstract void setUp(ITestDevice device, IBuildInfo buildInfo)
Perform the target setup for testing.

Public Methods

public abstract 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.
Throws
TargetSetupError if fatal error occurred setting up environment
DeviceNotAvailableException if device became unresponsive
BuildError