NoApkTestSkipper

public final class NoApkTestSkipper
extends BaseTargetPreparer implements IConfigurationReceiver

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.app.NoApkTestSkipper


Special preparer that allows to skip an invocation completely (preparation and tests) if there are no apks to tests.

Summary

Public constructors

NoApkTestSkipper()

Public methods

void setConfiguration(IConfiguration configuration)

Injects the IConfiguration in use.

void setUp(ITestDevice device, IBuildInfo buildInfo)

Public constructors

NoApkTestSkipper

public NoApkTestSkipper ()

Public methods

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
BuildError
DeviceNotAvailableException
TargetSetupError