ルートセキュリティテストケース
public class RootSecurityTestCase
extends SecurityTestCase
java.lang.オブジェクト | ||||||
↳ | 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.オブジェクト | ||||||
↳ | 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.オブジェクト | ||||||
↳ | 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 |