RootSecurityTestCase

public class RootSecurityTestCase
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.RootSecurityTestCase


คลาสการทดสอบที่ต้องรูทอุปกรณ์เพื่อเรียกใช้

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

สรุป

ตัวสร้างแบบสาธารณะ

RootSecurityTestCase()

เมธอดสาธารณะ

void setUpRoot()

เปิดใช้รูทหลังจาก setUp ของ SecurityTestCase

ตัวสร้างแบบสาธารณะ

RootSecurityTestCase

public RootSecurityTestCase ()

เมธอดสาธารณะ

setUpRoot

public void setUpRoot ()

เปิดใช้รูทหลังจาก setUp ของ SecurityTestCase

การโยน
DeviceNotAvailableException