RemoteDynamicPool

public class RemoteDynamicPool
extends Object implements ITestsPool

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


Implementacja puli testów zdalnych w kolejce

Podsumowanie

Zagnieżdżone klasy

class RemoteDynamicPool.RequestCallable

 

Metody publiczne

int getAttemptNumber(ITestSuite test)
static RemoteDynamicPool newInstance(IDynamicShardingClient client, String poolId, Map<String, ITestSuite> moduleMapping)
IRemoteTest poll(TestInformation info, boolean reportNotExecuted)

Sprawdź następny test do wykonania.

ITokenRequest pollRejectedTokenModule()

Zwraca listę testów, które zostały odrzucone do uruchomienia na wszystkich urządzeniach.

void returnToRemotePool(ITestSuite test, int attemptNumber)

Metody publiczne

getAttemptNumber

public int getAttemptNumber (ITestSuite test)

Parametry
test ITestSuite

Zwraca
int

newInstance

public static RemoteDynamicPool newInstance (IDynamicShardingClient client, 
                String poolId, 
                Map<String, ITestSuite> moduleMapping)

Parametry
client IDynamicShardingClient

poolId String

moduleMapping Map

Zwraca
RemoteDynamicPool

poll

public IRemoteTest poll (TestInformation info, 
                boolean reportNotExecuted)

Sprawdź następny test do wykonania.

Parametry
info TestInformation

reportNotExecuted boolean

Zwraca
IRemoteTest

pollRejectedTokenModule

public ITokenRequest pollRejectedTokenModule ()

Zwraca listę testów, które zostały odrzucone do uruchomienia na wszystkich urządzeniach.

Zwraca
ITokenRequest

returnToRemotePool

public void returnToRemotePool (ITestSuite test, 
                int attemptNumber)

Parametry
test ITestSuite

attemptNumber int