SwitchUserTargetPreparer
public class SwitchUserTargetPreparer
extends BaseTargetPreparer
java.lang.객체 | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.SwitchUserTargetPreparer |
setUp에서 지정된 사용자 종류로 전환하는 ITargetPreparer
입니다. 기본적으로 현재 사용자에 남아 있으며 전환이 수행되지 않습니다.
실행 전 현재 사용자로 다시 전환하여 장치 사용자 상태 복원을 시도합니다.
요약
공개 생성자 | |
---|---|
SwitchUserTargetPreparer () |
공개 방법 | |
---|---|
void | setUp ( TestInformation testInformation) |
void | tearDown ( TestInformation testInformation, Throwable e) |
공개 생성자
SwitchUserTargetPreparer
public SwitchUserTargetPreparer ()
공개 방법
설정
public void setUp (TestInformation testInformation)
매개변수 | |
---|---|
testInformation | TestInformation |
던지기 | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |
tearDown
public void tearDown (TestInformation testInformation, Throwable e)
매개변수 | |
---|---|
testInformation | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |