lwip/test/unit/core
Erik Ekman 264a5a3e97 Rename IP and Ethernet equality checkers from _cmp to _eq
Functions ending in cmp are expected to return 0 on equality but these
return non-zero.

eth_addr_cmp -> eth_addr_eq

ip_addr_cmp -> ip_addr_eq
ip4_addr_cmp -> ip4_addr_eq
ip6_addr_cmp -> ip6_addr_eq

ip_addr_netcmp -> ip_addr_net_eq
ip4_addr_netcmp -> ip4_addr_net_eq
ip6_addr_netcmp -> ip6_addr_net_eq

ip_addr_cmp_zoneless -> ip_addr_zoneless_eq
ip6_addr_cmp_zoneless -> ip6_addr_zoneless_eq

ip6_addr_cmp_zone -> ip6_addr_zone_eq
ip6_addr_netcmp_zoneless -> ip6_addr_net_zoneless_eq
ip6_addr_nethostcmp -> ip6_addr_nethost_eq
ip6_addr_cmp_packed -> ip6_addr_packed_eq
ip6_addr_cmp_solicitednode -> ip6_addr_solicitednode_eq

All call sites have been changed, and fallback macros have been added to not
break external users.
2020-07-07 18:51:45 +02:00
..
test_def.c unit tests: fixed testing itoa with too small buffer 2018-01-08 21:38:16 +01:00
test_def.h Fixed lwip_itoa (bug #51729) and added unit tests for it 2017-12-23 20:35:18 +01:00
test_dns.c Rename IP and Ethernet equality checkers from _cmp to _eq 2020-07-07 18:51:45 +02:00
test_dns.h dns: Verify setting/getting servers in unit test 2020-07-04 18:57:41 +02:00
test_mem.c unit: Enable DNS 2020-07-04 14:24:40 +02:00
test_mem.h minor: macros should not end with underscore(s) 2016-08-08 21:47:53 +02:00
test_netif.c unit: Support check v0.13.0 and later 2020-06-19 15:39:15 +02:00
test_netif.h unit tests: added test_netif (checking ext_callbacks only, for now) 2018-01-12 22:27:15 +01:00
test_pbuf.c unit: Enable DNS 2020-07-04 14:24:40 +02:00
test_pbuf.h minor: macros should not end with underscore(s) 2016-08-08 21:47:53 +02:00
test_timers.c Add unit test for a long running timer 2018-01-12 12:37:16 +01:00
test_timers.h Start implementing unit tests for timers 2018-01-04 13:37:05 +01:00