Evangelos Ribeiro Tzaras
e80abf713a
tests: Use g_test_init instead of gtk_test_init
...
gtk_test_init() ends up calling gtk_init() which tries opening
the default display. CI jobs sometimes seem to trip over this
even when run through xvfb-run. Therefore we use g_test_init()
instead.
2023-05-09 07:44:09 +00:00
Evangelos Ribeiro Tzaras
bb6b76107c
build: Rename util.{c,h} to calls-util.{c,h}
...
"util" is a very generic name. This guards against accidentally
including similarly named headers from elsewhere.
2023-01-22 07:33:02 +00:00
Evangelos Ribeiro Tzaras
1deee0b71b
util: Add API to check address family of IP address
2022-11-01 11:04:35 +00:00
Evangelos Ribeiro Tzaras
1489cfa796
test-util: Remove unused include
2022-11-01 11:04:35 +00:00
Evangelos Ribeiro Tzaras
bac8b81a43
tests: util: Test STR_IS_NULL_OR_EMPTY macro
2022-02-18 10:55:53 +01:00
Evangelos Ribeiro Tzaras
a87c3eeb2e
tests: util: Unit test call icon name function
2021-12-07 11:05:12 +01:00
Evangelos Ribeiro Tzaras
bbccb7667e
tests: util: Codestyle
2021-12-07 11:05:12 +01:00
Evangelos Ribeiro Tzaras
075dca5c35
tests: Add dtmf tone validity tests
2021-11-23 08:50:01 +00:00
Evangelos Ribeiro Tzaras
96a7d901c1
Fix old-style warnings all over the codebase
...
As caught by compiling with `-Wold-style-definition` and `-Wstrict-prototypes`.
2021-06-03 19:46:45 +00:00
Evangelos Ribeiro Tzaras
503e5c2154
test: Add util tests
...
Unit test the `get_protocol_from_address()` function family.
2021-05-28 13:18:24 +02:00