원격 동적 풀
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 |
pollRejectedToken모듈
public ITokenRequest pollRejectedTokenModule ()
모든 기기에서 실행이 거부된 테스트 목록을 반환합니다.
보고 | |
---|---|
ITokenRequest |
returnToRemotePool
public void returnToRemotePool (ITestSuite test, int attemptNumber)
매개변수 | |
---|---|
test | ITestSuite |
attemptNumber | int |