Files
frameworks_base/tests/RollbackTest
JW Wang eab998a9af Add logs for debugging
See b/151890602#comment4.

If the assumption is true, we will see logs that the rollback for
testappA is exipred happens slightly after the call to #getAvailableRollbacks.

Also move assertions below so the test runs to the end and we have a
better picture for what happened during the test.

Bug: 151890602
Test: m
Change-Id: I85adb8c3c5598ef4ce11550b51f22d1ce3c282a6
2020-03-30 17:04:32 +08:00
..
2020-03-30 17:04:32 +08:00
2020-02-12 17:22:00 +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