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ử được đưa vào hàng đợi công việc từ xa
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,
|
IRemoteTest
|
poll(TestInformation info, boolean reportNotExecuted)
Điều tra 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ả 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,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)
Điều tra 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ả thiết bị.
Giá trị trả về | |
---|---|
ITokenRequest |
returnToRemotePool
public void returnToRemotePool (ITestSuite test, int attemptNumber)
Tham số | |
---|---|
test |
ITestSuite |
attemptNumber |
int |