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, Map<String, ITestSuite> 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, 
                Map<String, ITestSuite> moduleMapping)

पैरामीटर
client IDynamicShardingClient

poolId String

moduleMapping Map

रिटर्न
RemoteDynamicPool

poll

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