bind9/tests/dns
Ondřej Surý fbd5f614d7
Enforce type checking for dns_dbnode_t
Originally, the dns_dbnode_t was typedef'ed to void type.  This allowed
some flexibility, but using (void *) just removes any type-checking that
C might have.  Instead of using:

    typedef void dns_dbnode_t;

use a trick to define the type to non-existing structure:

    typedef struct dns_dbnode dns_dbnode_t;

This allows the C compilers to employ the type-checking while the
structure itself doesn't have to be ever defined because the actual
'storage' is never accessed using dns_dbnode_t type.
2024-11-06 17:08:04 +01:00
..
comparekeys Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
testdata Remove test.skr unit test file 2024-09-09 19:41:03 +02:00
testkeys Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
.gitignore Remove test.skr unit test file 2024-09-09 19:41:03 +02:00
acl_test.c Refactor dns_{acl,aclenv}_create to return void 2023-10-13 14:44:40 +02:00
badcache_test.c Allow TTL skew in the badcache print unit test 2024-08-20 15:55:35 +02:00
db_test.c Use isc_queue to implement wait-free deadnodes queue 2024-06-05 09:19:56 +02:00
dbdiff_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
dbiterator_test.c make the qpzone database dumpable 2024-03-08 15:36:56 -08:00
dbversion_test.c add a compile-time option to select default zone and cache DB 2024-03-06 10:49:02 +01:00
dispatch_test.c Fix TCP dispatches and transport 2024-10-24 11:41:18 +11:00
dns64_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
dnstap_test.c Emit and read correct DoT and DoH dnstap entries 2024-04-26 16:12:29 +03:00
dst_test.c use deterministic ecdsa for openssl >= 3.2 2024-08-14 14:34:44 +03:00
geoip_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
Kdh.+002+18602.key Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
keytable_test.c Attach to the dns_dispatchmgr in the dns_view object 2023-08-15 10:25:37 -07:00
Krsa.+008+29238.key Check if RSASHA1 is supported by the OS 2022-08-09 16:22:19 +02:00
Makefile.am add a unit test for dns_transport_totext() 2024-10-14 12:59:52 -07:00
master_test.c add a compile-time option to select default zone and cache DB 2024-03-06 10:49:02 +01:00
mkraw.pl Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
name_test.c Extract empty name in 'source' into 'name' 2024-04-24 01:38:14 +00:00
nametree_test.c unconditionally create view and resolver nametrees 2023-09-04 10:19:48 +02:00
nsec3_test.c Change max NSEC3 iterations in unit tests to 50 2023-12-05 14:58:58 +00:00
nsec3param_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
private_test.c Initialize the DST subsystem implicitly 2024-08-07 17:03:27 +02:00
qp_test.c Two more qp test cases 2024-05-16 09:49:41 +00:00
qpdb_test.c Use isc_queue to implement wait-free deadnodes queue 2024-06-05 09:19:56 +02:00
qpmulti_test.c Add isc_log_createandusechannel() function to simplify usage 2024-08-20 12:50:39 +00:00
qpzone_test.c Enforce type checking for dns_dbnode_t 2024-11-06 17:08:04 +01:00
rbt_test.c Convert all categories and modules into static lists 2024-08-20 12:50:39 +00:00
rdata_test.c Add send-report-channel option 2024-10-23 21:29:32 +00:00
rdataset_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
rdatasetstats_test.c Refactor isc_stats_create() and its downstream users to return void 2023-07-27 11:37:44 +02:00
resolver_test.c Update the resolver unit test 2024-08-01 18:30:35 +00:00
rsa_test.c Initialize the DST subsystem implicitly 2024-08-07 17:03:27 +02:00
sigs_test.c Initialize the DST subsystem implicitly 2024-08-07 17:03:27 +02:00
skr_test.c Remove test.skr unit test file 2024-09-09 19:41:03 +02:00
time_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
transport_test.c add a unit test for dns_transport_totext() 2024-10-14 12:59:52 -07:00
tsig_test.c Extend ISC_TEST_MAIN for debugging 2024-08-22 09:54:39 +10:00
update_test.c Remove isc_stdtime_get() macro 2023-03-31 13:33:16 +02:00
zonemgr_test.c use a thread-local variable to get the current running loop 2024-04-02 10:35:56 +02:00
zt_test.c Add dns_view_apply 2023-06-01 16:51:38 +02:00