TestFailureModuleController

public class TestFailureModuleController
extends BaseModuleController

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


Controller for module that simply want to tune how the tests failures log collected are behaving. This controller allows to collect or not logcat, screenshot and bugreport on failures.

Summary

Public constructors

TestFailureModuleController()

Public methods

IModuleController.RunStrategy shouldRun(IInvocationContext context)

Method to decide if the module should run or not.

Public constructors

TestFailureModuleController

public TestFailureModuleController ()

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.