RemoteDynamicPool

public class RemoteDynamicPool
extends Object implements ITestsPool

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


Triển khai nhóm các chương trình kiểm thử công việc từ xa vào hàng đợi

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, moduleMapping)
IRemoteTest poll(TestInformation info, boolean reportNotExecuted)

Cuộc thăm dò ý kiến kiểm thử tiếp theo sẽ được thực thi.

ITokenRequest pollRejectedTokenModule()

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

void returnToRemotePool(ITestSuite test, int attemptNumber)

Phương thức công khai

số lần làm lại

public int getAttemptNumber (ITestSuite test)

Tham số
test ITestSuite

Giá trị trả về
int

newInstance

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

Tham số
client IDynamicShardingClient

poolId String

moduleMapping

Giá trị trả về
RemoteDynamicPool

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

public IRemoteTest poll (TestInformation info, 
                boolean reportNotExecuted)

Cuộc thăm dò ý kiến kiểm thử tiếp theo sẽ được thực thi.

Tham số
info TestInformation

reportNotExecuted boolean

Giá trị trả về
IRemoteTest

VerifyTokenModule

public ITokenRequest pollRejectedTokenModule ()

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

Giá trị trả về
ITokenRequest

ReturnToRemotePool

public void returnToRemotePool (ITestSuite test, 
                int attemptNumber)

Tham số
test ITestSuite

attemptNumber int