CommandSuccessModuleController
public
class
CommandSuccessModuleController
extends BaseModuleController
java.lang.Object | ||
↳ | com.android.tradefed.testtype.suite.module.BaseModuleController | |
↳ | com.android.tradefed.testtype.suite.module.CommandSuccessModuleController |
Base class for a module controller to skip test module based on shell command failure.
Summary
Public constructors | |
---|---|
CommandSuccessModuleController()
|
Public methods | |
---|---|
IModuleController.RunStrategy
|
shouldRun(IInvocationContext context)
Method to decide if the module should run or not. |
Public constructors
CommandSuccessModuleController
public CommandSuccessModuleController ()
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 |