컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
IAutoRetriableTest
public interface IAutoRetriableTest
implements IRemoteTest
com.android.tradefed.testtype.retry.IAutoRetriableTest |
에 대한 인터페이스 IRemoteTest
구현하지 않습니다 ITestFilterReceiver
하지만 여전히 지원 자동 재 시도를 기원합니다.
대부분의 주자에 대한 권장 사항은 구현하는 것입니다 ITestFilterReceiver
하고 테스트를 처리 할 수있는 하네스 실행중인 세부적으로 제어 할 수 있습니다. 그러나 상황에 따라 불가능할 수 있으며 일부 위임된 형태의 재시도가 필요합니다.
요약
공개 메서드
다시 시도해야
public boolean shouldRetry (int attemptJustExecuted,
previousResults)
에서 위임 된 ERROR(IRetryDecision#shouldRetry(IRemoteTest, int, List)/com.android.tradefed.retry.IRetryDecision#shouldRetry(com.android.tradefed.testtype.IRemoteTest,int,List) IRetryDecision#shouldRetry(IRemoteTest, int, List))
. 재시도를 시도할지 여부를 결정합니다. 또한에 필요한 변경하기 IRemoteTest
(등, 다음 실행을 준비하고, 필터 적용) 시도 할 수 있습니다.
매개변수 |
---|
attemptJustExecuted | int : 우리가 실행하는 시도의 수입니다. |
previousResults | : 목록 TestRunResult 바로 실행되었는지 테스트. |
보고 |
---|
boolean | 다시 시도해야 하는 경우 True, 그렇지 않으면 False입니다. |
던지다 |
---|
DeviceNotAvailableException | 장치 복구 중에 던질 수 있음 |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2021-10-04(UTC)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"필요한 정보가 없음"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"너무 복잡함/단계 수가 너무 많음"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"오래됨"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"번역 문제"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"샘플/코드 문제"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"기타"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"이해하기 쉬움"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"문제가 해결됨"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"기타"
}]