1. Don't snapshot user data when the policy is WIPE. 2. Add tests to verify user data is wiped/restored correctly. Bug: 144683152 Test: atest RollbackStoreTest RollbackUnitTest AppDataRollbackHelperTest Test: atest RollbackTest StagedRollbackTest Change-Id: I470233080efbba724ace6f0dbf2ab5256db49054
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