RootSecurityTestCase
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 |
Klasse von Tests, für deren Ausführung Root auf dem Gerät erforderlich ist.
Um die Leistung zu optimieren, sollten alle Tests, für deren Ausführung Root erforderlich ist, in demselben Modul gruppiert werden.
Zusammenfassung
Öffentliche Konstrukteure | |
---|---|
RootSecurityTestCase () |
Öffentliche Methoden | |
---|---|
void | setUpRoot () Aktivieren Sie root nach dem Setup von SecurityTestCase |
Öffentliche Konstrukteure
RootSecurityTestCase
public RootSecurityTestCase ()
Öffentliche Methoden
setUpRoot
public void setUpRoot ()
Aktivieren Sie root nach dem Setup von SecurityTestCase
Wirft | |
---|---|
DeviceNotAvailableException |