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

پس از راه اندازی SecurityTestCase، root را فعال کنید

سازندگان عمومی

RootSecurityTestCase

public RootSecurityTestCase ()

روش های عمومی

setUpRoot

public void setUpRoot ()

پس از راه اندازی SecurityTestCase، root را فعال کنید

پرتاب می کند
DeviceNotAvailableException