NonRootSecurityTestCase
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 |
Class of tests that runs on devices that don't have and should not have adb root.
To optimize performance, all non-root tests should be grouped into the same module.
Summary
Public constructors | |
---|---|
NonRootSecurityTestCase()
|
Public methods | |
---|---|
void
|
setUpUnroot()
Make sure adb root is not enable on device after SecurityTestCase's setUp. |
Public constructors
NonRootSecurityTestCase
public NonRootSecurityTestCase ()
Public methods
setUpUnroot
public void setUpUnroot ()
Make sure adb root is not enable on device after SecurityTestCase's setUp.
Throws | |
---|---|
DeviceNotAvailableException |