commit | 047d4d668eb5c9ce2681ac8c8261b9fe38ab6cca | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Wed Dec 18 13:38:00 2019 -0800 |
committer | Felipe Leme <felipeal@google.com> | Fri Dec 20 09:38:26 2019 -0800 |
tree | 5af3fa45e69aacd6b925f7d1826b2659ed594933 | |
parent | 0ee8fe5c0977b4f6de4e6d9b9a9aabb8851c7941 [diff] |
Moar UserManagerTest improvements: - Use assertThrows() to test exceptions - Add test for regular user creation - Use current user on testCreateUser_disallowAddUser() - Remove restrictions check from testAddUser() Test: atest FrameworksServicesTests:com.android.server.pm.UserManagerTest#testGetUserCreationTime Fixes: 146435179 Fixes: 146501766 Change-Id: I188205e8ea8b63fde536a5f0a215dc11414f59c8