UzakDinamikHavuz
public class RemoteDynamicPool
extends Object
implements ITestsPool
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.RemoteDynamicPool |
Uzaktan çalışma kuyruğuna alınmış testlerden oluşan bir havuzun uygulanması
Özet
Genel yöntemler | |
---|---|
int | getAttemptNumber ( ITestSuite test) |
static RemoteDynamicPool | newInstance ( IDynamicShardingClient client, String poolId, moduleMapping) newInstance ( IDynamicShardingClient client, String poolId, moduleMapping) |
IRemoteTest | poll ( TestInformation info, boolean reportNotExecuted) Yürütülecek bir sonraki testi yoklayın. |
ITokenRequest | pollRejectedTokenModule () Tüm cihazlarda çalıştırılması reddedilen testlerin listesini döndürür. |
void | returnToRemotePool ( ITestSuite test, int attemptNumber) |
Genel yöntemler
getAttemptNumber
public int getAttemptNumber (ITestSuite test)
Parametreler | |
---|---|
test | ITestSuite |
İadeler | |
---|---|
int |
yeniÖrnek
public static RemoteDynamicPool newInstance (IDynamicShardingClient client, String poolId,moduleMapping)
Parametreler | |
---|---|
client | IDynamicShardingClient |
poolId | String |
moduleMapping |
İadeler | |
---|---|
RemoteDynamicPool |
anket
public IRemoteTest poll (TestInformation info, boolean reportNotExecuted)
Yürütülecek bir sonraki testi yoklayın.
Parametreler | |
---|---|
info | TestInformation |
reportNotExecuted | boolean |
İadeler | |
---|---|
IRemoteTest |
anketRejectedTokenModule
public ITokenRequest pollRejectedTokenModule ()
Tüm cihazlarda çalıştırılması reddedilen testlerin listesini döndürür.
İadeler | |
---|---|
ITokenRequest |
Uzak Havuza Dönüş
public void returnToRemotePool (ITestSuite test, int attemptNumber)
Parametreler | |
---|---|
test | ITestSuite |
attemptNumber | int |