RemoveSystemAppPreparer

public class RemoveSystemAppPreparer
extends Object implements ITargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.RemoveSystemAppPreparer


A ITargetPreparer for removing an apk from the system partition before a test run. Note that the device is rebooted before actual test execution, so the system partition remains read-only during the test run.

Summary

Public constructors

RemoveSystemAppPreparer()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Perform the target setup for testing.

Public constructors

RemoveSystemAppPreparer

RemoveSystemAppPreparer ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Perform the target setup for testing.

Parameters
device ITestDevice: the ITestDevice to prepare.

buildInfo IBuildInfo: data about the build under test.

Throws
TargetSetupError
DeviceNotAvailableException