Начиная с 27 марта 2025 г. мы рекомендуем использовать android-latest-release
вместо aosp-main
для создания и участия в AOSP. Дополнительные сведения см. в разделе Изменения в AOSP .
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
ITestsPool
public interface ITestsPool
com.android.tradefed.invoker.shard.ITestsPool |
Известные косвенные подклассы |
Интерфейс, описывающий пул тестов, к которым мы можем получить доступ и запустить их.
Краткое содержание
Публичные методы
public abstract IRemoteTest poll (TestInformation info,
boolean reportNotExecuted)
Опрос следующего теста, который будет выполнен.
Параметры |
---|
info | TestInformation |
reportNotExecuted | boolean |
pollRejectedTokenModule
public abstract ITokenRequest pollRejectedTokenModule ()
Возвращает список тестов, запуск которых был отклонен на всех устройствах.
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-29 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 |"]]