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 権限が必要なテストのクラス。
パフォーマンスを最適化するには、実行に root 権限が必要なすべてのテストを同じモジュールにグループ化する必要があります。
概要
パブリック コンストラクタ | |
---|---|
RootSecurityTestCase()
|
パブリック メソッド | |
---|---|
void
|
setUpRoot()
SecurityTestCase の setUp 後にルートを有効にする |
パブリック コンストラクタ
RootSecurityTestCase
public RootSecurityTestCase ()
パブリック メソッド
setUpRoot
public void setUpRoot ()
SecurityTestCase の setUp 後にルートを有効にする
例外 | |
---|---|
DeviceNotAvailableException |