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


Class of tests that need root on device to run.

To optimize performance, all tests that need root to run should be grouped into the same module.

Summary

Public constructors

RootSecurityTestCase()

Public methods

void setUpRoot()

Enable root after SecurityTestCase's setUp

Public constructors

RootSecurityTestCase

public RootSecurityTestCase ()

Public methods

setUpRoot

public void setUpRoot ()

Enable root after SecurityTestCase's setUp

Throws
DeviceNotAvailableException