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 | |||||
在没有 adb 根权限且不应具有 adb 根权限的设备上运行的测试类。
为了优化性能,所有非根测试都应归入同一模块。
摘要
公共构造函数 | |
|---|---|
NonRootSecurityTestCase()
|
|
公共方法 | |
|---|---|
void
|
setUpUnroot()
确保在 SecurityTestCase 的 setUp 之后,设备上未启用 adb root。 |
公共构造函数
NonRootSecurityTestCase
public NonRootSecurityTestCase ()
公共方法
setUpUnroot
public void setUpUnroot ()
确保在 SecurityTestCase 的 setUp 之后,设备上未启用 adb root。
| 抛出 | |
|---|---|
DeviceNotAvailableException |
|