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, Map<String, ITestSuite> moduleMapping)
|
IRemoteTest
|
poll(TestInformation info, boolean reportNotExecuted)
輪詢要執行的下一個測試。 |
ITokenRequest
|
pollRejectedTokenModule()
傳回遭拒絕在所有裝置上執行的測試清單。 |
void
|
returnToRemotePool(ITestSuite test, int attemptNumber)
|
公用方法
newInstance
public static RemoteDynamicPool newInstance (IDynamicShardingClient client, String poolId, Map<String, ITestSuite> moduleMapping)
| 參數 | |
|---|---|
client |
IDynamicShardingClient |
poolId |
String |
moduleMapping |
Map |
| 傳回 | |
|---|---|
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 |