Commit graph

5 commits

Author SHA1 Message Date
Barnabás Pőcze
d8da15c4ad test: add two minimal tests for pw_strv_parse() 2024-04-27 15:21:05 +02:00
Barnabás Pőcze
934ab3036e treewide: use SPDX tags to specify copyright information
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.

See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Wim Taymans
da3273891c tests: add another pw_split_strv test
To check if an empty string after a delimiter is counted.
2022-12-14 16:56:17 +01:00
Wim Taymans
d22feab92a spa: add macro to simplify array iterations some more
uint32_t i;
	for (i = 0; i < SPA_N_ELEMENTS(some_array); i++)
		.. stuff with some_array[i].foo ...

   becomes:

	SPA_FOR_EACH_ELEMENT_VAR(some_array, p)
		.. stuff with p->foo ..
2022-09-30 16:24:26 +02:00
Peter Hutterer
d0060fbddd test: move the client and utils tests over here 2021-08-04 07:45:06 +00:00
Renamed from src/tests/test-utils.c (Browse further)