MaxSdkModuleController

public class MaxSdkModuleController
extends BaseModuleController

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.module.BaseModuleController
     ↳ com.android.tradefed.testtype.suite.module.MaxSdkModuleController


Base class for a module controller to not run tests on versions above a specified SDK version number.

Summary

Public constructors

MaxSdkModuleController()

Public methods

IModuleController.RunStrategy shouldRun(IInvocationContext context)

Method to decide if the module should run or not.

Public constructors

MaxSdkModuleController

public MaxSdkModuleController ()

Public methods

shouldRun

public IModuleController.RunStrategy shouldRun (IInvocationContext context)

Method to decide if the module should run or not.

Parameters
context IInvocationContext: the IInvocationContext of the module

Returns
IModuleController.RunStrategy True if the module should run, false otherwise.

Throws
DeviceNotAvailableException