远程动态池
public class RemoteDynamicPool
extends Object
implements ITestsPool
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.RemoteDynamicPool |
实施远程工作排队测试池
概括
公共方法 | |
---|---|
int | getAttemptNumber ( ITestSuite test) |
static RemoteDynamicPool | newInstance ( IDynamicShardingClient client, String poolId, moduleMapping) newInstance ( IDynamicShardingClient client, String poolId, moduleMapping) |
IRemoteTest | poll ( TestInformation info, boolean reportNotExecuted) 轮询下一个要执行的测试。 |
ITokenRequest | pollRejectedTokenModule () 返回被拒绝在所有设备上运行的测试的列表。 |
void | returnToRemotePool ( ITestSuite test, int attemptNumber) |
公共方法
新实例
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 |
返回远程池
public void returnToRemotePool (ITestSuite test, int attemptNumber)
参数 | |
---|---|
test | ITestSuite |
attemptNumber | int |