zephyr/tests/net
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
..
6lo
all
arp tests: net: arp: test the packet queuing case 2025-04-24 22:58:51 +02:00
bridge
checksum_offload
conn_mgr_conn
conn_mgr_monitor
conn_mgr_nsos tests: net: conn_mgr_nsos: added 2025-05-22 11:31:54 +02:00
context
dhcpv4 tests: net: dhcpv4: client: Verify Request xid 2025-05-08 15:55:55 +02:00
dhcpv6
ethernet_mgmt drivers: net: ethernet: change ETHERNET_LINK_*BASE_T 2025-04-28 09:22:09 +01:00
hostname
icmp
icmpv4
icmpv6
ieee802154
iface
igmp
ip-addr tests: net: ipv6: Fix deprecated address selection 2025-05-21 09:30:22 +02:00
ipv4_fragment net: connection: Register connection type 2025-04-09 12:36:34 +02:00
ipv6
ipv6_fragment test: net: ipv6_fragment: Set link layer protocol type for a packet 2025-03-21 09:52:42 +01:00
lib tests: net: lib: lwm2m: detects no-operation setter and getter functions 2025-05-23 19:49:54 +02:00
mgmt
mld
mocks
neighbor
net_pkt
npf doc: remove more occurances of Nios II 2025-05-15 20:01:05 -04:00
offloaded_netdev
pm
pmtu
ppp/driver
promiscuous
ptp/clock
route
route_mcast
shell
socket tests: net: socket: tls_ext: Add test case for cert veirfy cb option 2025-05-22 13:44:43 +02:00
tcp net: tcp: Fix TCP reset issue 2025-05-21 08:01:55 +02:00
traffic_class
trickle
tx_timestamp
udp
utils
virtual
vlan
wifi tests: net: wifi: Add a test for Enterprise with run-time certs 2025-04-17 17:22:58 +02:00