กรณีทดสอบความปลอดภัยที่ไม่ใช่รูท

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 root

เพื่อเพิ่มประสิทธิภาพ การทดสอบที่ไม่ใช่รูททั้งหมดควรจัดกลุ่มเป็นโมดูลเดียวกัน

สรุป

ผู้สร้างสาธารณะ

NonRootSecurityTestCase ()

วิธีการสาธารณะ

void setUpUnroot ()

ตรวจสอบให้แน่ใจว่าไม่ได้เปิดใช้งานรูท adb บนอุปกรณ์หลังจากการตั้งค่า SecurityTestCase

ผู้สร้างสาธารณะ

กรณีทดสอบความปลอดภัยที่ไม่ใช่รูท

public NonRootSecurityTestCase ()

วิธีการสาธารณะ

setUpUnroot

public void setUpUnroot ()

ตรวจสอบให้แน่ใจว่าไม่ได้เปิดใช้งานรูท adb บนอุปกรณ์หลังจากการตั้งค่า SecurityTestCase

พ่น
DeviceNotAvailableException