StubTargetPreparer

public class StubTargetPreparer
extends BaseTargetPreparer implements IConfigurationReceiver

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ 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)

Public constructors

StubTargetPreparer

public StubTargetPreparer ()

Public methods

getConfiguration

public IConfiguration getConfiguration ()

Returns the configuration received through setConfiguration(IConfiguration).

Returns
IConfiguration

getTestBooleanOption

public boolean getTestBooleanOption ()

Returns
boolean

getTestBooleanOptionFalse

public boolean getTestBooleanOptionFalse ()

Returns
boolean

setConfiguration

public void setConfiguration (IConfiguration configuration)

Injects the IConfiguration in use.

Parameters
configuration IConfiguration

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError