bind9/tests/isc
Artem Boldariev 7d9a8ddc00 Add PROXY header handling unit test suite
The commit adds a fairly comprehensive unit test suite for our new
PROXYv2 handling code. The unit tests suite ensures both the
correctness of the code and ensures that the part responsible for
handling incoming headers is very strict regarding what to accept as
valid.
2023-12-06 15:15:24 +02:00
..
testdata/file Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
ascii_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
async_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
buffer_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
counter_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
crc64_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
dnsstream_utils_test.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
dnsstream_utils_test_data.h Add a set of unit tests for dnsbuffer_t and dnsstream_assembler_t 2022-12-20 21:24:45 +02:00
doh_test.c Update the source code formatting using clang-format-17 2023-10-17 17:47:46 +02:00
errno_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
file_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
hash_test.c Remove isc_hash_function macro 2023-09-19 19:56:33 +02:00
hashmap_test.c Fix hashmap iteration 2023-09-19 11:18:03 +02:00
heap_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
histo_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
hmac_test.c Style fix 2023-09-01 12:01:20 +10:00
ht_test.c Fix cmocka-related compiler warnings in ht_test 2023-05-18 15:12:23 +02:00
job_test.c Add tracing probes to the isc_job unit 2023-08-21 18:39:53 +02:00
lex_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
loop_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
Makefile.am Add PROXY header handling unit test suite 2023-12-06 15:15:24 +02:00
md_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
mem_test.c Add isc_mem_overmem unit test 2023-11-29 14:16:20 +01:00
mutex_test.c Apply the isc_mem_cget semantic patch 2023-08-31 22:08:35 +02:00
netaddr_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
netmgr_common.c Fix undefined behaviour occurrences 2023-10-13 09:57:28 +00:00
netmgr_common.h Fix undefined behaviour occurrences 2023-10-13 09:57:28 +00:00
parse_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
proxyheader_test.c Add PROXY header handling unit test suite 2023-12-06 15:15:24 +02:00
proxyheader_test_data.h Add PROXY header handling unit test suite 2023-12-06 15:15:24 +02:00
quota_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
radix_test.c Refactor isc_radix_create to return void 2023-10-13 14:44:40 +02:00
random_test.c Apply the isc_mem_cget semantic patch 2023-08-31 22:08:35 +02:00
ratelimiter_test.c Remove ISC_MEM_ZERO and isc_mem_*x() API 2023-08-31 22:08:35 +02:00
regex_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
result_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
rwlock_test.c Apply the isc_mem_cget semantic patch 2023-08-31 22:08:35 +02:00
safe_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
siphash_test.c Implement incremental version of SipHash 2-4 and HalfSipHash 2-4 2023-09-12 16:17:06 +02:00
sockaddr_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
spinlock_test.c Apply the isc_mem_cget semantic patch 2023-08-31 22:08:35 +02:00
stats_test.c Refactor isc_stats_create() and its downstream users to return void 2023-07-27 11:37:44 +02:00
stream_shutdown.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
symtab_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
tcp_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
tcpdns_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
time_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
timer_test.c Use isc_loop_now() instead of uv_hrtime() for timestamps 2023-08-30 16:03:39 +00:00
tls_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
tlsdns_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
udp_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
uv_wrap.h Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
work_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00