Người chuẩn bị hồ sơ Target
public abstract class ProfileTargetPreparer
extends BaseTargetPreparer
Các lớp con trực tiếp đã biết |
Lớp cơ sở để thiết lập trình chuẩn bị mục tiêu cho bất kỳ người dùng hồ sơ nào android.os.usertype.profile.XXX
.
Bản tóm tắt
Phương pháp công cộng
public void setUp (TestInformation testInfo)
Thông số |
---|
testInfo | TestInformation |
public void tearDown (TestInformation testInfo,
Throwable e)
Thông số |
---|
testInfo | TestInformation |
e | Throwable |
Phương pháp được bảo vệ
có thểTạo người dùng bổ sung
protected boolean canCreateAdditionalUsers (ITestDevice device,
int numberOfUsers)
Kiểm tra xem có thể tạo số lượng người dùng mong muốn hay không.
Thông số |
---|
device | ITestDevice |
numberOfUsers | int |