根安全測試案例

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 設定後啟用 root

公共構造函數

根安全測試案例

public RootSecurityTestCase ()

公共方法

設定根目錄

public void setUpRoot ()

SecurityTestCase 設定後啟用 root

投擲
DeviceNotAvailableException
,

根安全測試案例

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 設定後啟用 root

公共構造函數

根安全測試案例

public RootSecurityTestCase ()

公共方法

設定根目錄

public void setUpRoot ()

SecurityTestCase 設定後啟用 root

投擲
DeviceNotAvailableException
,

根安全測試案例

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 設定後啟用 root

公共構造函數

根安全測試案例

public RootSecurityTestCase ()

公共方法

設定根目錄

public void setUpRoot ()

SecurityTestCase 設定後啟用 root

投擲
DeviceNotAvailableException