Files
frameworks_base/tests/RollbackTest
JW Wang daed083d0a Add a rollback test
An available rollback shouldn't be deleted when its session expires.

Bug: 185132440
Test: atest StagedRollbackTest
Change-Id: I1bd786b38e2df1f4bdc80d0d371d5d2d52e21e06
2021-04-13 18:28:11 +08:00
..
2021-04-13 18:28:11 +08: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 fake apks used in testing.

TestApex
  - source for fake apex modules used in testing.

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

You can manually run the tests as follows:

  atest RollbackTest
  atest StagedRollbackTest