summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Hani Kazmi <hanikazmi@google.com> 2022-06-19 16:30:44 +0000
committer Hani Kazmi <hanikazmi@google.com> 2022-06-24 12:07:29 +0000
commit621dc99968490d5d330418b2999d7ec7963f36d8 (patch)
tree3625fa729505a5a676440863d9eafb50bb47b0c5 /libs/androidfw/ResourceTimer.cpp
parent81222d2803f94a0e8e76353e32ac9d10c87521ff (diff)
BaseBundle.java: Adding tests for 'Recycle underlying parcel for bundle'
Follow up to ag/18795008. Adding tests for new behaviour. As it is not possible to directly check on the bundle if the parcel has been recycled, we inject a spy into it. Mocking static methods is not possible in FrameworkCoreTests, so we introduce a new test class in FrameworksMockingCoreTests which is run when any parcel or bundle source file changes. Bug: 233216232 Test: atest BundleRecyclingTest Change-Id: If691b68a8db1f0110d131ec620935f566cc9367b
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions