summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorshafik <shafik@google.com>2019-02-27 10:19:28 +0000
committershafik <shafik@google.com>2019-03-05 10:55:53 +0000
commitf90c69f42f70cfda25428c530f81ded19bba8b34 (patch)
treef926aab98bcfef8310abea32800d013c72e11f42 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent55805af7195bd2c433a1dccb1a9cd300167423a1 (diff)
Test Rollback Manager can handle time change
Test flow: * Install app A with rollback enabled * Wait half of the expiration time * Install app B with rollback enabled * Move time forward by expiration time * Wait half of the expiration time - At this point, an expiration check should run and expire app A but not app B * Assert app A rollback is expired * Assert app B rollback is not expired * Wait half of the expiration time * Assert app B rollback is expired Note: installing app A before app B is done solely to schedule an expiration check before app B rollback has expired Test: atest RollbackTest#testTimeChangeDoesNotAffectLifetime Test: run the same test without the registering the time change handler in RollbackManagerServiceImpl - test fails Bug: 124095332 Change-Id: I4bc2d449e4195e059fa43e7568783683a60e2197
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions