使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。

IShardHelper

public interface IShardHelper

com.android.tradefed.invoker.shard.IShardHelper


Interface of an object that describes the sharding strategy to adopt for a configuration.

Summary

Public methods

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

Shard and reschedule the shard if possible.

Public methods

shardConfig

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

Shard and reschedule the shard if possible.

Parameters
config IConfiguration: a IConfiguration to be run.

testInfo TestInformation: the TestInformation of the current invocation.

rescheduler IRescheduler: the IRescheduler where to reschedule the shards.

logger ITestLogger

Returns
boolean True if the configuration was sharded. false otherwise.