根安全測試用例
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 |