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