根安全测试用例
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 |
需要设备上的根才能运行的测试类。
为了优化性能,所有需要 root 才能运行的测试都应该分组到同一个模块中。
概括
公共构造函数 | |
---|---|
RootSecurityTestCase () |
公共方法 | |
---|---|
void | setUpRoot () 在 SecurityTestCase 的设置后启用 root |
公共构造函数
根安全测试用例
public RootSecurityTestCase ()
公共方法
设置根目录
public void setUpRoot ()
在 SecurityTestCase 的设置后启用 root
投掷 | |
---|---|
DeviceNotAvailableException |