MainlineTestModuleController
public
class
MainlineTestModuleController
extends BaseModuleController
java.lang.Object | ||
😎 | com.android.tradefed.testtype.suite.module.BaseModuleController | |
↳ | com.android.tradefed.testtype.suite.module.MainlineTestModuleController |
Basisklasse für einen Modulcontroller, um Tests basierend auf den vorab geladenen Mainline-Modulen auf dem zu testenden Gerät auszuführen.
Zusammenfassung
Felder | |
---|---|
protected
static
final
String |
GO_APEX_PREFIX
|
Öffentliche Konstruktoren | |
---|---|
MainlineTestModuleController()
|
Öffentliche Methoden | |
---|---|
void
|
enableModuleController(boolean enabled)
|
IModuleController.RunStrategy
|
shouldRun(IInvocationContext context)
Methode, um zu entscheiden, ob das Modul ausgeführt werden soll oder nicht. |
Felder
GO_APEX_PREFIX
protected static final String GO_APEX_PREFIX
Öffentliche Konstruktoren
MainlineTestModuleController
public MainlineTestModuleController ()
Öffentliche Methoden
enableModuleController
public void enableModuleController (boolean enabled)
Parameter | |
---|---|
enabled |
boolean |
shouldRun
public IModuleController.RunStrategy shouldRun (IInvocationContext context)
Methode zur Entscheidung, ob das Modul ausgeführt werden soll oder nicht.
Parameter | |
---|---|
context |
IInvocationContext : die IInvocationContext des Moduls |
Returns | |
---|---|
IModuleController.RunStrategy |
„True“, wenn das Modul ausgeführt werden soll, andernfalls „false“. |