Pooldynamique distant
public
class
RemoteDynamicPool
extends Object
implements
ITestsPool
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.RemoteDynamicPool |
Implémentation d'un pool de tests en file d'attente pour le télétravail
Résumé
Classes imbriquées | |
---|---|
class |
RemoteDynamicPool.RequestCallable
|
Méthodes publiques | |
---|---|
int
|
getAttemptNumber(ITestSuite test)
|
static
RemoteDynamicPool
|
newInstance(IDynamicShardingClient client, String poolId,
|
IRemoteTest
|
poll(TestInformation info, boolean reportNotExecuted)
Interrogez le prochain test à exécuter. |
ITokenRequest
|
pollRejectedTokenModule()
Affiche la liste des tests dont l'exécution a été refusée sur tous les appareils. |
void
|
returnToRemotePool(ITestSuite test, int attemptNumber)
|
Méthodes publiques
nombre de tentatives
public int getAttemptNumber (ITestSuite test)
Paramètres | |
---|---|
test |
ITestSuite |
Renvoie | |
---|---|
int |
nouvelInstance
public static RemoteDynamicPool newInstance (IDynamicShardingClient client, String poolId,moduleMapping)
Paramètres | |
---|---|
client |
IDynamicShardingClient |
poolId |
String |
moduleMapping |
|
Renvoie | |
---|---|
RemoteDynamicPool |
sondage
public IRemoteTest poll (TestInformation info, boolean reportNotExecuted)
Interrogez le prochain test à exécuter.
Paramètres | |
---|---|
info |
TestInformation |
reportNotExecuted |
boolean |
Renvoie | |
---|---|
IRemoteTest |
pollRefuséTokenModule
public ITokenRequest pollRejectedTokenModule ()
Affiche la liste des tests dont l'exécution a été refusée sur tous les appareils.
Renvoie | |
---|---|
ITokenRequest |
returnToRemotePool
public void returnToRemotePool (ITestSuite test, int attemptNumber)
Paramètres | |
---|---|
test |
ITestSuite |
attemptNumber |
int |