summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Candice <chihtinglo@google.com> 2024-03-25 07:19:57 +0000
committer chihtinglo <chihtinglo@google.com> 2024-03-28 22:50:38 +0800
commitaf10fe3cadd405ca46849de8b17ce6e61870ccb4 (patch)
tree02afc5eb51850d0b2b216dfaaa94d5bb62827895 /libs/androidfw/StringPool.cpp
parentdb7588dbed6c6af7aada07c6e6a5cb194106668f (diff)
fix(magnification): Fix the test of saving and restoring window size preference
1. Using FakeSharedPreference in the test to guarantee the functions applied to SharedPreferennce are committed properly when we test the results. 2. Cleaning up SharedPreference contents to ensure the values stored in previous tests won't affect the next tests. 3. Verifying the width and height of view with the magnification frame size and margins. Bug: 331139221 Flag: N/A Test: Testing following tests several iterations atest WindowMagnificationControllerTest atest WindowMagnificatinControllerWindowlessMagnifierTest atest WindowMagnificationSizePrefsTest atest MagnificationTest Change-Id: I3b287d5a9bf20db083f89a67c8ce5e9b19eec333
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions