Also, throw an IllegalArgumentException is these APIs are called on sessions that are not marked as staged. Test: tested new apis with an ad-hoc app. atest RollbackTest StagedRollbackTest Fix: 124507718 Change-Id: I3529aaff404d644ab6dad98f29411141e8df865d
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