RemoteDynamicPool

public class RemoteDynamicPool
extends Object implements ITestsPool

java.lang.Object
   ↳ com.android.tradefed.invoker.shard.RemoteDynamicPool


Implementation of a pool of remote work queued tests

Summary

Public methods

static RemoteDynamicPool newInstance(IDynamicShardingClient client, String poolId, moduleMapping)
IRemoteTest poll(TestInformation info, boolean reportNotExecuted)

Poll the next test to be executed.

ITokenRequest pollRejectedTokenModule()

Returns the list of test that was rejected to run on all devices.

Public methods

newInstance

public static RemoteDynamicPool newInstance (IDynamicShardingClient client, 
                String poolId, 
                 moduleMapping)

Parameters
client IDynamicShardingClient

poolId String

moduleMapping

Returns
RemoteDynamicPool

poll

public IRemoteTest poll (TestInformation info, 
                boolean reportNotExecuted)

Poll the next test to be executed.

Parameters
info TestInformation

reportNotExecuted boolean

Returns
IRemoteTest

pollRejectedTokenModule

public ITokenRequest pollRejectedTokenModule ()

Returns the list of test that was rejected to run on all devices.

Returns
ITokenRequest