zephyr/tests/net/lib
Stefan Schwendeler b234e86ca6 tests: net: lib: lwm2m: detects no-operation setter and getter functions
Test case `test_set_bulk` and `test_get_set` test the LwM2m getter and
setter function by
- init a buffer with some value
- calling lwm2m_set_... with buffer as parameter
- calling lwm2_get_... by letting `get` write-back into the same
  buffer(!)
- compare the buffer with the init value

That implementation can't recognize a no-operation getter function.

This change adds some C macro magic for both test cases where
an `out` buffer for setter and an `in` buffer for getter functions
exists. The buffers are checked before use for inequality to avoid
any unexpected pass.

Signed-off-by: Stefan Schwendeler <Stefan.Schwendeler@husqvarnagroup.com>
2025-05-23 19:49:54 +02:00
..
coap
coap_client tests: Stop using native_posix/sim transitional headers 2025-03-08 08:46:34 +01:00
coap_server/common tests: net: coap_server: Adjust test filters 2025-05-12 13:30:57 +02:00
dns_addremove boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
dns_cache boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
dns_dispatcher boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
dns_packet tests: net: dns: packet: Add test case for compression bit in CNAME 2025-03-31 22:00:36 +02:00
dns_resolve net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
dns_sd tests: net: mdns: updated interface to match unicast MDNS function 2025-03-13 16:54:24 +00:00
http_client tests: net: http_client: Add new testsuite for HTTP client 2025-05-23 17:20:24 +02:00
http_header_fields
http_server tests: net: http_server: concurrent connections 2025-04-09 17:32:50 +02:00
lwm2m tests: net: lib: lwm2m: detects no-operation setter and getter functions 2025-05-23 19:49:54 +02:00
mdns_responder net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
mqtt tests: net: mqtt: Add MQTT 5.0 packet encoder/decoder tests 2025-03-26 16:19:42 +01:00
mqtt_sn_client
mqtt_sn_packet
prometheus boards native_posix: Remove twister support 2025-03-07 19:16:14 +01:00
tls_credentials net: lib: tls_credentials: Rename TLS_CREDENTIAL_SERVER_CERTIFICATE 2025-03-21 14:18:52 +01:00
wifi_credentials tests: nrf: Fix SPDX license tags 2025-02-14 20:15:34 +01:00
wifi_credentials_backend_psa secure_storage: add a global registry header file for PSA key IDs 2025-02-13 20:22:09 +01:00
wifi_credentials_backend_settings