RootSecurityTestCase
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 的 setUp 之後啟用 root |
公用建構函式
RootSecurityTestCase
public RootSecurityTestCase ()
公用方法
setUpRoot
public void setUpRoot ()
在 SecurityTestCase 的 setUp 之後啟用 root
擲回 | |
---|---|
DeviceNotAvailableException |