Adds @TestApi for all system apis needed for RollbackTests. Removes @SystemApi for RollbackManager.expireRollbackForPackage and RollbackManager.reloadPersistedData, which were always intended to be used solely for testing. Bug: 127282563 Test: atest RollbackTest StagedRollbackTest Change-Id: I183b8a484b4a08f36fc19d64241ab408d28c64ca
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