RootTargetPreparer
public final class RootTargetPreparer
extends BaseTargetPreparer
java.lang.객체 | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.RootTargetPreparer |
"force-root" 옵션을 기반으로 "adb root" 또는 "adb unroot"를 수행하는 대상 준비자.
해체 시 원래 루트 상태로 복원됩니다.
요약
공개 생성자 | |
---|---|
RootTargetPreparer () |
공개 방법 | |
---|---|
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e) |
공개 생성자
RootTargetPreparer
public RootTargetPreparer ()
공개 방법
설정
public void setUp (TestInformation testInfo)
매개변수 | |
---|---|
testInfo | TestInformation |
던지기 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
매개변수 | |
---|---|
testInfo | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |