Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

DeviceFeatureModuleController

public class DeviceFeatureModuleController
extends BaseModuleController

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


A module controller to not run tests when it doesn't support certain feature.

Summary

Public constructors

DeviceFeatureModuleController()

Public methods

IModuleController.RunStrategy shouldRun(IInvocationContext context)

Method to decide if the module should run or not.

Public constructors

DeviceFeatureModuleController

public DeviceFeatureModuleController ()

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.