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 ()

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

ตั้งค่าUnroot

public void setUpUnroot ()

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

ขว้าง
DeviceNotAvailableException