AtestRunner

public class AtestRunner
extends BaseTestSuite

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.ITestSuite
     ↳ com.android.tradefed.testtype.suite.BaseTestSuite
       ↳ com.android.tradefed.testtype.suite.AtestRunner


Implementation of ITestSuite

Summary

Public constructors

AtestRunner()

Public methods

IConfigurationFactory loadConfigFactory()

Return a ConfigurationFactory instance.

LinkedHashMap<String, IConfiguration> loadTests()

Abstract method to load the tests configuration that will be run.

Protected methods

List<ITestInvocationListener> createModuleListeners()

Returns the list of ITestInvocationListener applicable to the ModuleListener level.

Public constructors

AtestRunner

public AtestRunner ()

Public methods

loadConfigFactory

public IConfigurationFactory loadConfigFactory ()

Return a ConfigurationFactory instance. Organized this way for testing purposes.

Returns
IConfigurationFactory

loadTests

public LinkedHashMap<String, IConfiguration> loadTests ()

Abstract method to load the tests configuration that will be run. Each tests is defined by a IConfiguration and a unique name under which it will report results.

Returns
LinkedHashMap<String, IConfiguration>

Protected methods

createModuleListeners

protected List<ITestInvocationListener> createModuleListeners ()

Returns the list of ITestInvocationListener applicable to the ModuleListener level. These listeners will be re-used for each module, they will not be re-instantiated so they should not assume an internal state.

Returns
List<ITestInvocationListener>