Skip to content
Commit 047d4d66 authored by Felipe Leme's avatar Felipe Leme
Browse files

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
parent 0ee8fe5c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment