루트 타겟 준비자
public final class RootTargetPreparer
extends BaseTargetPreparer
java.lang.Object | ||
↳ | 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) |
공개 생성자
루트 타겟 준비자
public RootTargetPreparer ()
공개 메소드
설정
public void setUp (TestInformation testInfo)
매개변수 | |
---|---|
testInfo | TestInformation |
던지기 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
분해
public void tearDown (TestInformation testInfo, Throwable e)
매개변수 | |
---|---|
testInfo | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |