非根安全测试用例
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 ()
公共方法
setUpUnroot
public void setUpUnroot ()
确保在 SecurityTestCase 设置后未在设备上启用 adb root。
投掷 | |
---|---|
DeviceNotAvailableException |