컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
기기 클리너
public
class
DeviceCleaner
extends BaseTargetPreparer
테스트 후 정리 작업으로 재부팅 또는 포맷을 실행하고 선택적으로 화면을 끕니다.
요약
공개 메서드 |
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 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-08-22(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":"기타"
}]
{
"lastModified": "최종 업데이트: 2024-08-22(UTC)",
"confidential": False
}