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 インスタンスを返します。

LinkedHashMap<String, IConfiguration> loadTests()

実行するテスト構成を読み込む抽象メソッド。

LinkedHashMap<String, IConfiguration> loadingStrategy(Set<IAbi> abis, List<File> testsDirs, String suitePrefix, String suiteTag)

デフォルトの読み込み戦略では、リソースとテスト ディレクトリから読み込みます。

保護されたメソッド

List<ITestInvocationListener> createModuleListeners()

ITestInvocationListener レベルに適用可能な ModuleListener のリストを返します。

パブリック コンストラクタ

AtestRunner

public AtestRunner ()

パブリック メソッド

loadConfigFactory

public IConfigurationFactory loadConfigFactory ()

ConfigurationFactory インスタンスを返します。テスト用にこのように構成されています。

戻り値
IConfigurationFactory

loadTests

public LinkedHashMap<String, IConfiguration> loadTests ()

実行するテスト構成を読み込む抽象メソッド。各テストは、 IConfiguration と、結果を報告する一意の名前で定義されます。

戻り値
LinkedHashMap<String, IConfiguration>

loadingStrategy

public LinkedHashMap<String, IConfiguration> loadingStrategy (Set<IAbi> abis, 
                List<File> testsDirs, 
                String suitePrefix, 
                String suiteTag)

デフォルトの読み込み戦略では、リソースとテスト ディレクトリから読み込みます。拡張または置き換えが可能です。

パラメータ
abis Set: 実行する abi のセット。

testsDirs List: テスト ディレクトリ。

suitePrefix String: リソース ディレクトリをフィルタする接頭辞。

suiteTag String: モジュールに含めるために必要なスイートタグ。null の場合もあります。

戻り値
LinkedHashMap<String, IConfiguration> スイート用に読み込まれた構成のリスト。

保護されたメソッド

createModuleListeners

protected List<ITestInvocationListener> createModuleListeners ()

ModuleListener レベルに適用可能な ITestInvocationListener のリストを返します。これらのリスナーは各モジュールで再利用され、再インスタンス化されないため、 内部状態を想定しないでください。

戻り値
List<ITestInvocationListener>