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 |
סוג של בדיקות שפועלות במכשירים שאין בהם הרשאת root ב-adb, ואין צורך בהרשאה כזו.
כדי לשפר את הביצועים, מומלץ לקבץ את כל הבדיקות שאינן ברמה הבסיסית באותו מודול.
סיכום
קונסטרוקטורים גלויים לכולם | |
---|---|
NonRootSecurityTestCase()
|
שיטות ציבוריות | |
---|---|
void
|
setUpUnroot()
מוודאים שהרשאת root של adb לא מופעלת במכשיר אחרי ה-setUp של SecurityTestCase. |
קונסטרוקטורים גלויים לכולם
NonRootSecurityTestCase
public NonRootSecurityTestCase ()
שיטות ציבוריות
setUpUnroot
public void setUpUnroot ()
מוודאים שהרשאת root של adb לא מופעלת במכשיר אחרי ה-setUp של SecurityTestCase.
זריקות | |
---|---|
DeviceNotAvailableException |