Marian Buschsieweke
d99c2dc712
tests/unittests: fix failure with CONFIG_SOCK_URLPATH_MAXLEN=128
...
The test checking for a failure on a too long URL path will fail when
allowing longer URL paths. E.g. in `makefiles/suit.inc.mk` we bump
`CONFIG_SOCK_URLPATH_MAXLEN` to 128 byte. This changes the test
case to provide a path that is indeed longer than 128 byte to also
fail in that case.
2025-12-11 11:45:41 +01:00
Marian Buschsieweke
f799f7465a
tests/unittests: use SPDX copyright tags
...
Co-authored-by: crasbe <crasbe@gmail.com>
Co-authored-by: Ann🐸 <git@annsann.eu>
2025-11-21 07:31:23 +01:00
Karl Fessel
c29d2f1afb
test/unittest: cleanup most vera++ complains
2022-10-27 16:31:59 +02:00
Benjamin Valentin
c46d9d7360
tests/unittests: sock_util: test with schema of uneven length
2022-10-10 19:04:15 +02:00
Karl Fessel
ab5958febd
unittest/sock_util: move strings to their tests
2022-05-06 11:54:25 +02:00
Karl Fessel
9d798d6113
unittest/sock_util: add test for missing addr variants
2022-05-05 16:53:11 +02:00
Benjamin Valentin
c747d99556
unitttests/sock_util: add sock_urlpath() to tests
2022-04-18 01:42:57 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Martine S. Lenders
991c2e9ec4
tests/unittests: amend sock_util tests for interface parsing
2020-05-19 14:57:41 +02:00
Leandro Lanzieri
c74fa5367c
net/sock/util: Move configuration macros to 'CONFIG_' namespace
...
Macros that changed:
SOCK_SCHEME_MAXLEN -> CONFIG_SOCK_SCHEME_MAXLEN
SOCK_HOSTPORT_MAXLEN -> CONFIG_SOCK_HOSTPORT_MAXLEN
SOCK_URLPATH_MAXLEN -> CONFIG_SOCK_URLPATH_MAXLEN
2019-12-13 12:04:54 +01:00
Leandro Lanzieri
864247d6ca
unitttests/sock_util: Test null pointer in urlsplit
2019-06-12 10:03:11 +02:00
Koen Zandberg
e91af6d556
sock_util: Add tests
2018-07-20 11:48:29 +02:00