장치클리너
public class DeviceCleaner
extends BaseTargetPreparer
테스트 후 정리 작업으로 재부팅 또는 포맷을 수행하고 선택적으로 화면을 끕니다.
요약
중첩 클래스 |
---|
enum | DeviceCleaner.CleanupAction |
enum | DeviceCleaner.PostCleanupAction |
공개 메소드 |
---|
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
보호된 방법 |
---|
void | clean (ITestDevice device) 정리 작업을 실행한 후 사후 정리 작업을 실행합니다. |
공개 생성자
장치클리너
public DeviceCleaner ()
공개 메소드
public void setUp (TestInformation testInfo)
매개변수 |
---|
testInfo | TestInformation |
던지기 |
---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
매개변수 |
---|
testInfo | TestInformation |
e | Throwable |
던지기 |
---|
DeviceNotAvailableException | |
보호된 방법
깨끗한
protected void clean (ITestDevice device)
정리 작업을 실행한 후 사후 정리 작업을 실행합니다.
던지기 |
---|
DeviceNotAvailableException | |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-12-01(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":"기타"
}]