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 | |||||
Art von Tests, die auf Geräten ausgeführt werden, die keinen adb-Root-Zugriff haben und auch nicht haben sollten.
Um die Leistung zu optimieren, sollten alle nicht untergeordneten Tests in dasselbe Modul gruppiert werden.
Zusammenfassung
Öffentliche Konstruktoren | |
|---|---|
NonRootSecurityTestCase()
|
|
Öffentliche Methoden | |
|---|---|
void
|
setUpUnroot()
Achten Sie darauf, dass adb root nach der Einrichtung von SecurityTestCase auf dem Gerät nicht aktiviert ist. |
Öffentliche Konstruktoren
NonRootSecurityTestCase
public NonRootSecurityTestCase ()
Öffentliche Methoden
setUpUnroot
public void setUpUnroot ()
Achten Sie darauf, dass adb root nach der Einrichtung von SecurityTestCase auf dem Gerät nicht aktiviert ist.
| Ausgabe | |
|---|---|
DeviceNotAvailableException |
|