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

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

VolRef: add initial UT to cover volume APIs

Trying to improve the code coverage by covering all the test related
APIs in AudioService. Currently only trying to obtain a full method
coverage. More tests to come that will cover more branches and more
volume requirements.

Copied test methods from AudioDeviceManagerTest and
DeviceVolumeBehaviorTest into VolumeHelperTest in order to have a
central class that manages all the volume related API tests.

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: I54b243979b71c03f145808688bb36c702da621e4
parent cd452abe
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