اعتبارًا من 27 آذار (مارس) 2025، ننصحك باستخدام android-latest-release
بدلاً من aosp-main
لإنشاء AOSP والمساهمة فيه. لمزيد من المعلومات، يُرجى الاطّلاع على التغييرات في AOSP.
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
ITestsPool
public
interface
ITestsPool
com.android.tradefed.invoker.shard.ITestsPool
|
الفئات الفرعية غير المباشرة المعروفة
LocalPool |
تنفيذ مجموعة من الاختبارات المحلية
|
RemoteDynamicPool |
تنفيذ مجموعة من الاختبارات التي تم وضعها في قائمة الانتظار للعمل عن بُعد
|
|
واجهة تصف مجموعة من الاختبارات التي يمكننا الوصول إليها وتنفيذها
ملخّص
الطرق العامة
public abstract IRemoteTest poll (TestInformation info,
boolean reportNotExecuted)
استطلِع الاختبار التالي الذي سيتم تنفيذه.
المعلمات |
info |
TestInformation |
reportNotExecuted |
boolean |
pollRejectedTokenModule
public abstract ITokenRequest pollRejectedTokenModule ()
تُرجِع قائمة الاختبارات التي تم رفضها لتشغيلها على جميع الأجهزة.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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 |"]]