テストランナー

public class AtestRunner
extends BaseTestSuite

java.lang.オブジェクト
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 ()

ModuleListenerレベルに適用できるITestInvocationListenerのリストを返します。

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

テストランナー

public AtestRunner ()

パブリックメソッド

ロードコンフィグファクトリー

public IConfigurationFactory loadConfigFactory ()

ConfigurationFactory インスタンスを返します。テスト目的でこのように整理されています。

戻り値
IConfigurationFactory

ロードテスト

public  loadTests ()

実行されるテスト構成をロードする抽象メソッド。各テストは、 IConfigurationと結果を報告する一意の名前によって定義されます。

戻り値

ローディング戦略

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

デフォルトの読み込み戦略は、リソースとテスト ディレクトリから読み込みます。延長や交換も可能です。

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

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

suitePrefix String : リソース ディレクトリをフィルタリングするためのプレフィックス。

suiteTag String : モジュールに含める必要があるスイート タグ。 null にすることもできます。

戻り値
スイートにロードされた構成のリスト。

保護されたメソッド

createModuleListeners

protected  createModuleListeners ()

ModuleListenerレベルに適用できるITestInvocationListenerのリストを返します。これらのリスナーはモジュールごとに再利用され、再インスタンス化されないため、内部状態を想定すべきではありません。

戻り値