遠端動態集區
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)
|
公用方法
新執行個體
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 |
returnToRemotePool
public void returnToRemotePool (ITestSuite test, int attemptNumber)
參數 | |
---|---|
test |
ITestSuite |
attemptNumber |
int |