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 | ||
ITestSuite 的实现
摘要
公共构造函数 | |
|---|---|
AtestRunner()
|
|
公共方法 | |
|---|---|
IConfigurationFactory
|
loadConfigFactory()
返回 ConfigurationFactory 实例。 |
|
loadTests()
用于加载要运行的测试配置的抽象方法。 |
|
loadingStrategy(
默认加载策略将从 resources 和 tests 目录加载。 |
受保护的方法 | |
|---|---|
|
createModuleListeners()
返回适用于 |
公共构造函数
AtestRunner
public AtestRunner ()
公共方法
loadConfigFactory
public IConfigurationFactory loadConfigFactory ()
返回 ConfigurationFactory 实例。以这种方式进行整理是为了测试目的。
| 返回 | |
|---|---|
IConfigurationFactory |
|
loadingStrategy
publicloadingStrategy ( abis, testsDirs, String suitePrefix, String suiteTag)
默认加载策略将从 resources 和 tests 目录加载。可以延期或替换。
| 参数 | |
|---|---|
abis |
:要针对其运行的 ABI 集。 |
testsDirs |
:测试目录。 |
suitePrefix |
String:用于过滤资源目录的前缀。 |
suiteTag |
String:模块必须包含的套件标记。可以为 null。 |
| 返回 | |
|---|---|
|
套件已加载的配置的列表。 |
受保护的方法
createModuleListeners
protectedcreateModuleListeners ()
返回适用于 ModuleListener 级别的 ITestInvocationListener 列表。这些监听器将被每个模块重复使用,而不会重新实例化,因此不应假定内部状态。
| 返回 | |
|---|---|
|
|