ProfileTargetPreparer
public abstract class ProfileTargetPreparer
extends BaseTargetPreparer
java.lang.객체 | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.ProfileTargetPreparer |
프로필 사용자 android.os.usertype.profile.XXX
에 대한 대상 준비자를 설정하기 위한 기본 클래스입니다.
요약
공개 방법 | |
---|---|
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e) |
보호된 메서드 | |
---|---|
boolean | canCreateAdditionalUsers ( ITestDevice device, int numberOfUsers) 원하는 수의 사용자 생성이 가능한지 확인합니다. |
공개 방법
설정
public void setUp (TestInformation testInfo)
매개변수 | |
---|---|
testInfo | TestInformation |
던지기 | |
---|---|
DeviceNotAvailableException | |
TargetSetupError |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
매개변수 | |
---|---|
testInfo | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |
보호된 메서드
canCreateAdditionalUsers
protected boolean canCreateAdditionalUsers (ITestDevice device, int numberOfUsers)
원하는 수의 사용자 생성이 가능한지 확인합니다.
매개변수 | |
---|---|
device | ITestDevice |
numberOfUsers | int |
보고 | |
---|---|
boolean |
던지기 | |
---|---|
DeviceNotAvailableException |