モジュールスプリッター

public class ModuleSplitter
extends Object

java.lang.Object
com.android.tradefed.testtype.suite.ModuleSplitter


IConfigurationで表されるモジュールのリストをModuleDefinitionで表される実行ユニットのリストに分割するヘルパー。

各構成は、オプションとテストの種類に応じて、1 つ以上のModuleDefinitionを生成する場合があります。

まとめ

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

ModuleSplitter ()

公開メソッド

static splitConfiguration ( TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) splitConfiguration ( TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding) splitConfiguration ( TestInformation testInfo, runConfig, suitePreparersPerDevice, int shardCount, boolean dynamicModule, boolean intraModuleSharding)

ロードされた構成のマップに基づいて、実行可能ユニットModuleDefinitionのリストを作成します。

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

モジュールスプリッター

public ModuleSplitter ()

公開メソッド

分割構成

public static  splitConfiguration (TestInformation testInfo, 
                 runConfig, 
                 suitePreparersPerDevice, 
                int shardCount, 
                boolean dynamicModule, 
                boolean intraModuleSharding)

ロードされた構成のマップに基づいて、実行可能ユニットModuleDefinitionのリストを作成します。

パラメーター
testInfo TestInformation : シャーディングを続行するための現在のTestInformation

runConfig : ERROR(/LinkedHashMap) ITestSuite#loadTests()から読み込まれました。

suitePreparersPerDevice : テスト デバイスごとのスイート レベルのプリペアラーのマップ。

shardCount int : シャーディングに役立つシャード数のヒント。

dynamicModule boolean : モジュールをプールで共有できるかどうか、または独立している必要があるかどうか (厳密なシャーディング)。

intraModuleSharding boolean : モジュール内で分割するかどうか。

戻り値
ModuleDefinitionのリスト