summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2022-09-06 14:26:33 -0700
committer Felipe Leme <felipeal@google.com> 2022-09-07 17:07:35 -0700
commit0e7702f7c85ea38e8749d2013e46a34e4105bf1f (patch)
treebccb4fbb62a5bde4a4005bc222b6845233ccdee1 /libs/androidfw/StringPool.cpp
parenteffb36535d5c176597446df9315bb529ed15d5d7 (diff)
Added more unit tests for UserManagerService.
This CL adds tests for the following 3 methods: - boolean isUserVisible(int userId) - boolean isUserVisibleOnDisplay(int userId, int displayId) - int getDisplayAssignedToUser(int userId) It also adds UnitManagerInternalTest and refactors the test infra so tests for methods whose implementation is the same for UMS / UMI (i.e., where the method of the former calls the method of the latter or vice versa) are written just once. Bug: 244452695 Test: atest FrameworksMockingServicesTests:com.android.server.pm.UserManagerServiceTest UserManagerInternalTest Change-Id: I95b53935b8fa01edeb64816e2afda57d4852c888
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions