RemoteDynamicPool

public class RemoteDynamicPool
extends Object implements ITestsPool

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


Wdrożenie puli testów w kolejce pracy zdalnej

Podsumowanie

Zagnieżdżone klasy

class RemoteDynamicPool.RequestCallable

 

Metody publiczne

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

Poczekaj na wykonanie następnego testu.

ITokenRequest pollRejectedTokenModule()

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

void returnToRemotePool(ITestSuite test, int attemptNumber)

Metody publiczne

getAttemptNumber

public int getAttemptNumber (ITestSuite test)

Parametry
test ITestSuite

Zwroty
int

newInstance

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

Parametry
client IDynamicShardingClient

poolId String

moduleMapping

Zwroty
RemoteDynamicPool

ankieta

public IRemoteTest poll (TestInformation info, 
                boolean reportNotExecuted)

Poczekaj na wykonanie następnego testu.

Parametry
info TestInformation

reportNotExecuted boolean

Zwroty
IRemoteTest

pollRejectedTokenModule

public ITokenRequest pollRejectedTokenModule ()

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

Zwroty
ITokenRequest

returnToRemotePool

public void returnToRemotePool (ITestSuite test, 
                int attemptNumber)

Parametry
test ITestSuite

attemptNumber int