RemoteDynamicPool
public class RemoteDynamicPool
extends Object
implements ITestsPool
java.lang.Object | |
↳ | com.android.tradefed.inviver.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) |
วิธีการสาธารณะ
getAttemptNumber
public int getAttemptNumber (ITestSuite test)
พารามิเตอร์ | |
---|---|
test | ITestSuite |
การส่งคืน | |
---|---|
int |
ใหม่อินสแตนซ์
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 |
โพลRejectedTokenModule
public ITokenRequest pollRejectedTokenModule ()
ส่งคืนรายการการทดสอบที่ถูกปฏิเสธไม่ให้รันบนอุปกรณ์ทั้งหมด
การส่งคืน | |
---|---|
ITokenRequest |
returnToRemotePool
public void returnToRemotePool (ITestSuite test, int attemptNumber)
พารามิเตอร์ | |
---|---|
test | ITestSuite |
attemptNumber | int |