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