RootSecurityTestCase

public class RootSecurityTestCase
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.RootSecurityTestCase


Lớp kiểm thử cần quyền truy cập thư mục gốc trên thiết bị để chạy.

Để tối ưu hoá hiệu suất, tất cả các kiểm thử cần quyền truy cập thư mục gốc để chạy 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

RootSecurityTestCase()

Phương thức công khai

void setUpRoot()

Bật quyền truy cập thư mục gốc sau khi thiết lập SecurityTestCase

Hàm khởi tạo công khai

RootSecurityTestCase

public RootSecurityTestCase ()

Phương thức công khai

setUpRoot

public void setUpRoot ()

Bật quyền truy cập thư mục gốc sau khi thiết lập SecurityTestCase

Gửi
DeviceNotAvailableException