非根安全测试用例

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


在没有也不应该有 adb root 的设备上运行的测试类。

为了优化性能,所有非根测试应分组到同一模块中。

概括

公共构造函数

NonRootSecurityTestCase ()

公共方法

void setUpUnroot ()

确保 SecurityTestCase 设置后设备上未启用 adb root。

公共构造函数

非根安全测试用例

public NonRootSecurityTestCase ()

公共方法

设置取消root

public void setUpUnroot ()

确保 SecurityTestCase 设置后设备上未启用 adb root。

投掷
DeviceNotAvailableException