summaryrefslogtreecommitdiff
path: root/libs/androidfw/LocaleDataLookup.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2025-03-12 14:35:38 -0700
committer Felipe Leme <felipeal@google.com> 2025-03-19 13:07:00 -0700
commite4216ca435aeab85b27a4515c53e652c28fcc24b (patch)
tree4fad453a830eb361d1e3d74e01a2cda12de46eb5 /libs/androidfw/LocaleDataLookup.cpp
parentf1b7e6fe96fcc85058048c2250d57cdd7f1bb762 (diff)
Minor improvements on UserInfoTest and UserManagerServiceUserInfoTest.
- Remove unnecessary AndroidJUnit4 runner - Use Truth insteads of JUnit assertions - Add @SuppressWarning (due to isPrimary() and FLAG_GUEST) - Use withMessage() instead of just that() - Use isTrue() / isFalse() instead of isEqualTo(boolean) - Use expect instead of assert - Consistenly use createTestUserInfo() - Add missing assertions (like isSupervisingProfile()) Test: atest FrameworksCoreTests:UserInfoTest UserManagerServiceUserInfoTest Bug: 374832167 Flag: TEST_ONLY Change-Id: I5b4f89e24bb67656ccbd4447fee40f5078d39022
Diffstat (limited to 'libs/androidfw/LocaleDataLookup.cpp')
0 files changed, 0 insertions, 0 deletions