mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-24 06:59:57 -05:00
Add a basic test suite for pa_hashmap
I spent a little time working through the implementation of pa_hashmap, and wrote a test suite while doing so. It tests a few basic edge cases, like saturating all buckets of the hashtable.
This commit is contained in:
parent
e790ed536c
commit
d97075c79f
3 changed files with 296 additions and 30 deletions
|
|
@ -30,6 +30,8 @@ default_tests = [
|
|||
[ check_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep ] ],
|
||||
[ 'get-binary-name-test', 'get-binary-name-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
[ 'hashmap-test', 'hashmap-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep ] ],
|
||||
[ 'hook-list-test', 'hook-list-test.c',
|
||||
[ check_dep, libpulse_dep, libpulsecommon_dep, libpulsecore_dep ] ],
|
||||
[ 'json-test', 'json-test.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue