Files
frameworks_base/tests/RollbackTest
Nikita Ioffe 5dcd179749 RMS: Pass in rollback_id in the calls to installd
- snapshotAppData gets PackageRollbackInfo and updates pending backups
  and inodes of CE user data snapshots;
- computePendingBackups/Restores is now merged into
  commitPendingBackupAndRestoreForUser;
- essentially commitPendingBackupAndRestoreForUser now gets lists of
  pending and recently executed rollbacks, computs what backups and
  restores are pending and commits them.

Bug: 124029909
Test: RollbackTest, AppDataRollbackHelperTest
Change-Id: I5aecdfd47b535492165614ee7cf9676778e292ad
2019-02-19 15:11:50 +00:00
..

This directory contains a test for the rollback manager service.

Directory structure
===================
RollbackTest
  - device driven test for rollbacks not involving staged rollbacks.

StagedRollbackTest
  - device driven test for staged rollbacks.

TestApp
  - source for dummy apks used in testing.

TestApex
  - source for dummy apex modules used in testing.

Running the tests
=================

You can manually run the tests as follows:

  atest RollbackTest
  atest StagedRollbackTest