À partir du 27 mars 2025, nous vous recommandons d'utiliser android-latest-release
au lieu de aosp-main
pour créer et contribuer à AOSP. Pour en savoir plus, consultez la section Modifications apportées à AOSP.
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
ITestsPool
public
interface
ITestsPool
com.android.tradefed.invoker.shard.ITestsPool
|
Sous-classes indirectes connues
LocalPool |
Implémentation d'un pool de tests locaux
|
RemoteDynamicPool |
Implémentation d'un pool de tests en file d'attente pour le travail à distance
|
|
Interface décrivant un ensemble de tests auxquels nous pouvons accéder et exécuter
Résumé
Méthodes publiques
public abstract IRemoteTest poll (TestInformation info,
boolean reportNotExecuted)
Interrogez le prochain test à exécuter.
Paramètres |
info |
TestInformation |
reportNotExecuted |
boolean |
pollRejectedTokenModule
public abstract ITokenRequest pollRejectedTokenModule ()
Renvoie la liste des tests refusés pour s'exécuter sur tous les appareils.
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/27 (UTC)."],[],[],null,["# ITestsPool\n==========\n\n\n`\npublic\n\n\ninterface\nITestsPool\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------------|\n| com.android.tradefed.invoker.shard.ITestsPool |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [LocalPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/LocalPool.html), [RemoteDynamicPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/RemoteDynamicPool.html) |------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------| | [LocalPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/LocalPool.html) | Implementation of a pool of local tests | | [RemoteDynamicPool](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/RemoteDynamicPool.html) | Implementation of a pool of remote work queued tests | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface describing a pool of tests that we can access and run\n\nSummary\n-------\n\n| ### Public methods ||\n|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract `[IRemoteTest](../../../../../../../reference/tradefed/com/android/tradefed/testtype/IRemoteTest.html) | ` `[poll](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/ITestsPool.html#poll(com.android.tradefed.invoker.TestInformation,%20boolean))`(`[TestInformation](../../../../../../../reference/tradefed/com/android/tradefed/invoker/TestInformation.html)` info, boolean reportNotExecuted) ` Poll the next test to be executed. |\n| ` abstract `[ITokenRequest](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/token/ITokenRequest.html) | ` `[pollRejectedTokenModule](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/ITestsPool.html#pollRejectedTokenModule())`() ` Returns the list of test that was rejected to run on all devices. |\n\nPublic methods\n--------------\n\n### poll\n\n```\npublic abstract IRemoteTest poll (TestInformation info, \n boolean reportNotExecuted)\n```\n\nPoll the next test to be executed.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------------------|--------------------------|\n| `info` | `TestInformation` \u003cbr /\u003e |\n| `reportNotExecuted` | `boolean` \u003cbr /\u003e |\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------|--------|\n| [IRemoteTest](../../../../../../../reference/tradefed/com/android/tradefed/testtype/IRemoteTest.html) | \u003cbr /\u003e |\n\n### pollRejectedTokenModule\n\n```\npublic abstract ITokenRequest pollRejectedTokenModule ()\n```\n\nReturns the list of test that was rejected to run on all devices.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------------------------------------------------------------------------------------------------------------------|--------|\n| [ITokenRequest](../../../../../../../reference/tradefed/com/android/tradefed/invoker/shard/token/ITokenRequest.html) | \u003cbr /\u003e |"]]