RemoteDynamicPool

public class RemoteDynamicPool
extends Object implements ITestsPool

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


تنفيذ مجموعة من الاختبارات التي تم وضعها في قائمة الانتظار للعمل عن بُعد

ملخّص

الفئات المُدمجة

class RemoteDynamicPool.RequestCallable

 

الطرق العامة

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

استطلِع الاختبار التالي الذي سيتم تنفيذه.

ITokenRequest pollRejectedTokenModule()

تُرجِع قائمة الاختبارات التي تم رفضها لتشغيلها على جميع الأجهزة.

void returnToRemotePool(ITestSuite test, int attemptNumber)

الطرق العامة

getAttemptNumber

public int getAttemptNumber (ITestSuite test)

المعلمات
test ITestSuite

المرتجعات
int

newInstance

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

المعلمات
client IDynamicShardingClient

poolId String

moduleMapping

المرتجعات
RemoteDynamicPool

استطلاع

public IRemoteTest poll (TestInformation info, 
                boolean reportNotExecuted)

استطلِع الاختبار التالي الذي سيتم تنفيذه.

المعلمات
info TestInformation

reportNotExecuted boolean

المرتجعات
IRemoteTest

pollRejectedTokenModule

public ITokenRequest pollRejectedTokenModule ()

تُرجِع قائمة الاختبارات التي تم رفضها لتشغيلها على جميع الأجهزة.

المرتجعات
ITokenRequest

returnToRemotePool

public void returnToRemotePool (ITestSuite test, 
                int attemptNumber)

المعلمات
test ITestSuite

attemptNumber int