IShardHelper

public interface IShardHelper

com.android.tradefed.invoker.shard.IShardHelper


物件的介面,說明要為設定採用的分割策略。

摘要

公用方法

abstract boolean shardConfig(IConfiguration config, TestInformation testInfo, IRescheduler rescheduler, ITestLogger logger)

盡可能分割並重新安排分割作業。

公用方法

shardConfig

public abstract boolean shardConfig (IConfiguration config, 
                TestInformation testInfo, 
                IRescheduler rescheduler, 
                ITestLogger logger)

盡可能分割並重新安排分割作業。

參數
config IConfiguration:要執行的 IConfiguration

testInfo TestInformation:目前叫用的 TestInformation

rescheduler IReschedulerIRescheduler 重新安排分片的位置。

logger ITestLogger

傳回
boolean 如果設定已分割,則傳回「是」;否則傳回「否」。