RemoteDynamicPool

public class RemoteDynamicPool
extends Object implements ITestsPool

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


Triển khai một nhóm các kiểm thử từ xa được xếp hàng

Tóm tắt

Các lớp lồng ghép

class RemoteDynamicPool.RequestCallable

 

Phương thức công khai

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

Lấy kết quả của bài kiểm thử tiếp theo sẽ được thực thi.

ITokenRequest pollRejectedTokenModule()

Trả về danh sách kiểm thử bị từ chối chạy trên tất cả các thiết bị.

void returnToRemotePool(ITestSuite test, int attemptNumber)

Phương thức công khai

getAttemptNumber

public int getAttemptNumber (ITestSuite test)

Tham số
test ITestSuite

Giá trị trả về
int

newInstance

public static RemoteDynamicPool newInstance (IDynamicShardingClient client, 
                String poolId, 
                Map<String, ITestSuite> moduleMapping)

Tham số
client IDynamicShardingClient

poolId String

moduleMapping Map

Giá trị trả về
RemoteDynamicPool

cuộc thăm dò ý kiến

public IRemoteTest poll (TestInformation info, 
                boolean reportNotExecuted)

Lấy kết quả của bài kiểm thử tiếp theo sẽ được thực thi.

Tham số
info TestInformation

reportNotExecuted boolean

Giá trị trả về
IRemoteTest

pollRejectedTokenModule

public ITokenRequest pollRejectedTokenModule ()

Trả về danh sách kiểm thử bị từ chối chạy trên tất cả các thiết bị.

Giá trị trả về
ITokenRequest

returnToRemotePool

public void returnToRemotePool (ITestSuite test, 
                int attemptNumber)

Tham số
test ITestSuite

attemptNumber int