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,
|
IRemoteTest
|
poll(TestInformation info, boolean reportNotExecuted)
轮询要执行的下一个测试。 |
ITokenRequest
|
pollRejectedTokenModule()
返回被拒绝在所有设备上运行的测试的列表。 |
void
|
returnToRemotePool(ITestSuite test, int attemptNumber)
|
公共方法
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 |