MainlineTestModuleController

public class MainlineTestModuleController
extends BaseModuleController

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


Base class for a module controller to run tests based on the preloaded mainline modules on the device under test.

Summary

Fields

protected static final String GO_APEX_PREFIX

Public constructors

MainlineTestModuleController()

Public methods

void enableModuleController(boolean enabled)
IModuleController.RunStrategy shouldRun(IInvocationContext context)

Method to decide if the module should run or not.

Fields

GO_APEX_PREFIX

protected static final String GO_APEX_PREFIX

Public constructors

MainlineTestModuleController

public MainlineTestModuleController ()

Public methods

enableModuleController

public void enableModuleController (boolean enabled)

Parameters
enabled boolean

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.