summaryrefslogtreecommitdiff
path: root/PermissionController/src
diff options
context:
space:
mode:
author Jay Thomas Sullivan <jaysullivan@google.com> 2025-02-24 11:45:04 -0800
committer Jay Sullivan <jaysullivan@google.com> 2025-03-05 19:12:33 -0800
commit21547ac5946bcc8f5726be8eabeac7d2db0b6107 (patch)
tree546372fe52d4675df2ca1b19e17e28492de8b378 /PermissionController/src
parent9e66d4181747bd918dc702cd9ee224dc57fd028e (diff)
Assume tests in RoleManagerTest
This adds "assume"s to two tests: - removeSmsRoleHolderThenPermissionIsRevoked - requestRoleThenBlockRequestRoleDialogByRestrictedSettingDialog ...which will cause the tests to end with "ASSUMPTION_FAILED" in the case that the device has no default SMS app when the test starts. This scenario currently happens on GSI builds, showing up as a failed test. This also adds "assume"s to: - openDefaultAppListThenIsNotDefaultAppInList ...which has a flaw that occurs when the installer test helper app takes on any default app roles automatically, which may occur if the role has no holder when the test starts. Fix: 365796249 Test: atest RoleManagerTest Flag: TEST_ONLY Relnote: N/A LOW_COVERAGE_REASON=TEST_ONLY Change-Id: Ia5355189e026cd1fd9bc8a10a2b34dfb63c6cfe8
Diffstat (limited to 'PermissionController/src')
0 files changed, 0 insertions, 0 deletions