summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLee Shombert <shombert@google.com>2021-01-07 13:52:59 -0800
committerLee Shombert <shombert@google.com>2021-01-07 13:52:59 -0800
commite5371006acbd46b9587963dbe85fa2fe02e9750e (patch)
tree6ebe93c8ef84e271adad2bd8e05556bd8b76b12c /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta1779c1ea38861694f3406c724d9975f20911f90 (diff)
Support for Watchable verification
Bug: 161323622 Add support to automate verification of Watched attributes. It is now possible to verify that all Watched attributes of class Watchable are being observed. It is also possible to know that Watched attributes of class Snappable have been copied properly into a snapshot. Tested on Settings by commenting-out a registerObserver() call and verifying that an exception was thrown. Test: atest * FrameworksServicesTests:WatcherTest * FrameworksServicesTests:PackageManagerSettingsTests * FrameworksServicesTests:AppsFilterTest Change-Id: Ia2bff16bec7bff0b8b8e401ad5377bad8297b527
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions