Files
frameworks_base/tests/RollbackTest
shafik e17ad4aa30 Migrate RollbackTest and StagedRollbackTest to cts utils
Replace the usage of RollbackTestUtils with the API offered by
com.android.cts.install.lib and com.android.cts.rollback.lib.

Test: atest RollbackTest
Test: atest StagedRollbackTest #testBadApkOnly

Bug: 132757394
Bug: 132422403
Change-Id: I25cb9dca103852d7ee3691e4df927e1fc5848074
2019-06-24 12:44:11 +01: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