測試跑者
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
清單。這些偵聽器將被每個模組重複使用,它們不會重新實例化,因此它們不應呈現內部狀態。
退貨 | |
---|---|