CarModuleController

public class CarModuleController
extends BaseModuleController

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


This controller prevents execution of tests cases on non-automotive devices.

Summary

Public constructors

CarModuleController()

Public methods

IModuleController.RunStrategy shouldRun(IInvocationContext context)

Method to decide if the module should run or not.

Public constructors

CarModuleController

public CarModuleController ()

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.