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 ในอุปกรณ์หลังจาก setUp ของ SecurityTestCase |
ตัวสร้างแบบสาธารณะ
NonRootSecurityTestCase
public NonRootSecurityTestCase ()
เมธอดสาธารณะ
setUpUnroot
public void setUpUnroot ()
ตรวจสอบว่าไม่ได้เปิดใช้ adb root ในอุปกรณ์หลังจาก setUp ของ SecurityTestCase
การโยน | |
---|---|
DeviceNotAvailableException |