Google is committed to advancing racial equity for Black communities. See how.
Questa pagina è stata tradotta dall'API Cloud Translation.
Switch to English

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(com.android.tradefed.config.IConfiguration).

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

Injects the IConfiguration in use.

void setUp(TestInformation testInfo)

Public constructors

StubTargetPreparer

public StubTargetPreparer ()

Public methods

getConfiguration

public IConfiguration getConfiguration ()

Returns the configuration received through setConfiguration(com.android.tradefed.config.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 (TestInformation testInfo)

Parameters
testInfo TestInformation

Throws
TargetSetupError