NonRootSecurityTestCase
public
class
NonRootSecurityTestCase
extends SecurityTestCase
java.lang.Object | ||||||
↳ | com.android.tradefed.testtype.junit4.BaseHostJUnit4Test | |||||
↳ | com.android.compatibility.common.tradefed.testtype.BusinessLogicHostTestBase | |||||
↳ | com.android.compatibility.common.tradefed.testtype.ExtraBusinessLogicHostTestBase | |||||
↳ | com.android.sts.common.tradefed.testtype.StsExtraBusinessLogicHostTestBase | |||||
↳ | com.android.sts.common.tradefed.testtype.SecurityTestCase | |||||
↳ | com.android.sts.common.tradefed.testtype.NonRootSecurityTestCase |
Lớp kiểm thử chạy trên các thiết bị không có và không được có quyền truy cập gốc adb.
Để tối ưu hoá hiệu suất, tất cả các kiểm thử không phải kiểm thử gốc phải được nhóm vào cùng một mô-đun.
Tóm tắt
Hàm khởi tạo công khai | |
---|---|
NonRootSecurityTestCase()
|
Phương thức công khai | |
---|---|
void
|
setUpUnroot()
Đảm bảo rằng thư mục gốc adb không được bật trên thiết bị sau khi thiết lập SecurityTestCase. |
Hàm khởi tạo công khai
NonRootSecurityTestCase
public NonRootSecurityTestCase ()
Phương thức công khai
setUpUnroot
public void setUpUnroot ()
Đảm bảo rằng thư mục gốc adb không được bật trên thiết bị sau khi thiết lập SecurityTestCase.
Gửi | |
---|---|
DeviceNotAvailableException |