Files
frameworks_base/tests/RollbackTest
JW Wang be2c3fc558 Abandon sessions before/after running tests
See b/160281947#comment2 for the analysis.

Let's clean up staged sessions to improve test isolation.

Bug: 160281947
Test: atest StagedRollbackTest
Change-Id: I3ad6317eaee3ffb4c6351c630460dd8f1d27e644
2020-07-01 17:44:04 +08:00
..
2020-04-01 18:33:20 +08:00
2020-03-24 16:09:58 +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 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