컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
IAutoRetriable테스트
public interface IAutoRetriableTest
implements IRemoteTest
com.android.tradefed.testtype.retry.IAutoRetriableTest |
ITestFilterReceiver
구현하지 않지만 자동 재시도를 지원하려는 IRemoteTest
용 인터페이스입니다.
대부분의 러너에게 권장되는 사항은 ITestFilterReceiver
구현하고 하네스에서 처리할 테스트를 세부적으로 제어하는 것입니다. 그러나 어떤 상황에서는 이것이 불가능할 수도 있으며 위임된 형태의 재시도가 필요할 수도 있습니다.
요약
공개 메소드 |
---|
default boolean | shouldRetry (int attemptJustExecuted, previousResults, skipList) shouldRetry (int attemptJustExecuted, previousResults, skipList) shouldRetry (int attemptJustExecuted, previousResults, skipList) ERROR(IRetryDecision#shouldRetry(IRemoteTest, int, List)/com.android.tradefed.retry.IRetryDecision#shouldRetry(com.android.tradefed.testtype.IRemoteTest,int,List) IRetryDecision#shouldRetry(IRemoteTest, int, List)) . |
공개 메소드
다시 시도해야 함
public boolean shouldRetry (int attemptJustExecuted,
previousResults,
skipList)
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 목록입니다. |
skipList | : 재시도해서는 안 되는 항목 집합입니다. |
보고 |
---|
boolean | 재시도해야 하면 True이고, 그렇지 않으면 False입니다. |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-10-14(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":"기타"
}]