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( abis, testsDirs, String suitePrefix, String suiteTag)

預設的載入策略會從資源和測試目錄載入。

受保護的方法

createModuleListeners()

傳回適用於 ModuleListener 層級的 ITestInvocationListener 清單。

公用建構函式

AtestRunner

public AtestRunner ()

公用方法

loadConfigFactory

public IConfigurationFactory loadConfigFactory ()

傳回 ConfigurationFactory 例項。為測試目的而安排。

傳回
IConfigurationFactory

loadTests

public  loadTests ()

抽象方法,用於載入要執行的測試設定。每項測試都會由 IConfiguration 和專屬名稱定義,並以此名稱回報結果。

傳回

loadingStrategy

public  loadingStrategy ( abis, 
                 testsDirs, 
                String suitePrefix, 
                String suiteTag)

預設載入策略會從資源和測試目錄載入。可延長或更換。

參數
abis :要執行的 abil 集合。

testsDirs :測試目錄。

suitePrefix String:用於篩選資源目錄的前置字串。

suiteTag String:模組應包含的套件標記。可為空值。

傳回
套裝軟體的已載入設定清單。

受保護的方法

createModuleListeners

protected  createModuleListeners ()

傳回適用於 ModuleListener 層級的 ITestInvocationListener 清單。這些事件監聽器會用於每個模組,但不會重新例項化,因此不應假設內部狀態。

傳回