Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit abc3ee14 authored by Vlad Popa's avatar Vlad Popa
Browse files

VolRef: add flags and permission tests

Increase the coverage of the volume APIs by adding new tests that check
the abs volume and ringer mode flags as well as AppOps and permission
checks

Removed the check timeouts since looper dispatchAll is waiting on the
result of all the handlers.

Improve robustness of tests. Dropped tests that rely on
MediaSessionManager since it is hard to mock the behaviour.

Test: build with EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true SKIP_BOOT_JARS_CHECK=true WITH_DEXPREOPT=false, atest VolumeHelperTest --experimental-coverage
Bug: 323273677
Change-Id: I5b812ccfd000afa5ddce10c1e3a1b9601b877ef2
parent 2b259700
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment