測試跑者
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 ( abis, testsDirs, String suitePrefix, String suiteTag) loadingStrategy ( abis, testsDirs, String suitePrefix, String suiteTag) loadingStrategy ( abis, testsDirs, String suitePrefix, String suiteTag) 默認加載策略將從資源和測試目錄加載。 |
受保護的方法 | |
---|---|
createModuleListeners () 返回適用於 |
公共構造函數
測試跑者
public AtestRunner ()
公共方法
加載配置工廠
public IConfigurationFactory loadConfigFactory ()
返回一個 ConfigurationFactory 實例。出於測試目的,以這種方式組織。
退貨 | |
---|---|
IConfigurationFactory |
加載策略
publicloadingStrategy ( abis, testsDirs, String suitePrefix, String suiteTag)
默認加載策略將從資源和測試目錄加載。可以延長或更換。
參數 | |
---|---|
abis | |
testsDirs | |
suitePrefix | String : 過濾資源目錄的前綴。 |
suiteTag | String :必須包含模塊的套件標籤。可以為空。 |
退貨 | |
---|---|
套件的加載配置列表。 |
受保護的方法
創建模塊監聽器
protectedcreateModuleListeners ()
返回適用於ModuleListener
級別的ITestInvocationListener
列表。這些偵聽器將被重新用於每個模塊,它們不會被重新實例化,因此它們不應呈現內部狀態。
退貨 | |
---|---|