ShardBuildCloner

public class ShardBuildCloner
extends Object

java.lang.Object
com.android.tradefed.invoker.shard.ShardBuildCloner


處理從命令行克隆構建信息的幫助程序類。 Shard 將通過使用ExistingBuildProvider直接獲取構建信息,而不是下載任何東西。

概括

公共構造函數

ShardBuildCloner ()

公共方法

static void cloneBuildInfos ( IConfiguration fromConfig, IConfiguration toConfig, TestInformation testInfo)

將 Sharded 配置構建提供程序設置為ExistingBuildProvider幫助程序。

公共構造函數

ShardBuildCloner

public ShardBuildCloner ()

公共方法

克隆構建信息

public static void cloneBuildInfos (IConfiguration fromConfig, 
                IConfiguration toConfig, 
                TestInformation testInfo)

將 Sharded 配置構建提供程序設置為ExistingBuildProvider幫助程序。

參數
fromConfig IConfiguration : 原始配置

toConfig IConfiguration :從命令行重新創建的克隆配置。

testInfo TestInformation : 父分片的TestInformation