Sdk30ModuleController
public
class
Sdk30ModuleController
extends BaseModuleController
java.lang.Object | ||
↳ | com.android.tradefed.testtype.suite.module.BaseModuleController | |
↳ | com.android.tradefed.testtype.suite.module.Sdk30ModuleController |
Only run tests if the device under test is SDK version 30 or above.
Use by adding this line to your AndroidTest.xml:
Summary
Public constructors | |
---|---|
Sdk30ModuleController()
|
Public methods | |
---|---|
IModuleController.RunStrategy
|
shouldRun(IInvocationContext context)
Method to decide if the module should run or not. |
Public constructors
Sdk30ModuleController
public Sdk30ModuleController ()
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. |