diff options
author | 2023-09-20 19:55:35 +0000 | |
---|---|---|
committer | 2023-09-22 22:54:00 +0000 | |
commit | 891ef69fab8f65f08c346ef2d0162715ac067c50 (patch) | |
tree | 4ff2258fa8e9f5e706560428dfccfa94b82e026e /api/api_test.go | |
parent | 99c86797bf27712c0e8ce7ebe73608dd503da524 (diff) |
Add unit tests for AppIdPermissionPolicy
Add tests for onPackageUninstalled(), onStorageVolumeAdded() and
onUserAdded() for AppIdPermissionPolicy
These functions have some similar logic to the previously added
onPackageAdded() and resetRuntimePermissions(). Hence refactored and
parameterized the tests.
Bug: 280853174
Test: AppIdPermissionPolicyTest
Change-Id: Id21aded723e454710a4fdc0d15e5f555524341a2
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions