StubTargetPreparer

public class StubTargetPreparer
extends Object implements ITargetPreparer, IConfigurationReceiver

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


Placeholder empty implementation of a ITargetPreparer.

Summary

Public constructors

StubTargetPreparer()

Public methods

IConfiguration getConfiguration()

Returns the configuration received through setConfiguration(IConfiguration).

boolean getTestBooleanOption()
boolean getTestBooleanOptionFalse()
void setConfiguration(IConfiguration configuration)

Injects the IConfiguration in use.

void setUp(ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Public constructors

StubTargetPreparer

StubTargetPreparer ()

Public methods

getConfiguration

IConfiguration getConfiguration ()

Returns the configuration received through setConfiguration(IConfiguration).

Returns
IConfiguration

getTestBooleanOption

boolean getTestBooleanOption ()

Returns
boolean

getTestBooleanOptionFalse

boolean getTestBooleanOptionFalse ()

Returns
boolean

setConfiguration

void setConfiguration (IConfiguration configuration)

Injects the IConfiguration in use.

Parameters
configuration IConfiguration

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