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