非根安全測試案例

public class NonRootSecurityTestCase
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.NonRootSecurityTestCase


在沒有也不應該有 adb root 的裝置上執行的測試類別。

為了優化效能,所有非根測試應分組到同一模組中。

概括

公共構造函數

NonRootSecurityTestCase ()

公共方法

void setUpUnroot ()

確保 SecurityTestCase 設定後裝置上未啟用 adb root。

公共構造函數

非根安全測試案例

public NonRootSecurityTestCase ()

公共方法

設定取消root

public void setUpUnroot ()

確保 SecurityTestCase 設定後裝置上未啟用 adb root。

投擲
DeviceNotAvailableException