VisibleBackgroundUserPreparer
public class VisibleBackgroundUserPreparer
extends BaseTargetPreparer
Trình chuẩn bị mục tiêu để chạy thử nghiệm trong người dùng được khởi động ở chế độ hiển thị ở chế độ nền.
Bản tóm tắt
Hằng số
DEFAULT_DISPLAY
public static final int DEFAULT_DISPLAY
Giá trị không đổi: 0 (0x00000000)
INVALID_DISPLAY
public static final int INVALID_DISPLAY
Giá trị không đổi: -1 (0xffffffff)
Nhà thầu xây dựng công cộng
VisibleBackgroundUserPreparer
public VisibleBackgroundUserPreparer ()
Phương pháp công khai
lấy Id hiển thị
public Integer getDisplayId ()
setId hiển thị
public void setDisplayId (int displayId)
public void setUp (TestInformation testInfo)
Thông số |
---|
testInfo | TestInformation |
public void tearDown (TestInformation testInfo,
Throwable e)
Thông số |
---|
testInfo | TestInformation |
e | Throwable |