diff options
Diffstat (limited to 'src/tests/unittests_main.c')
-rw-r--r-- | src/tests/unittests_main.c | 56 |
1 files changed, 38 insertions, 18 deletions
diff --git a/src/tests/unittests_main.c b/src/tests/unittests_main.c index aee4bf9..d0bef81 100644 --- a/src/tests/unittests_main.c +++ b/src/tests/unittests_main.c @@ -15,22 +15,30 @@ */ #include <config.h> -#include "knot/common.h" +#include "knot/knot.h" #include "common/libtap/tap_unit.h" // Units to test #include "tests/common/slab_tests.h" #include "tests/common/skiplist_tests.h" +#include "tests/common/hattrie_tests.h" #include "tests/common/events_tests.h" #include "tests/common/acl_tests.h" #include "tests/common/fdset_tests.h" #include "tests/common/base64_tests.h" #include "tests/common/base32hex_tests.h" +#include "tests/common/descriptor_tests.h" #include "tests/knot/dthreads_tests.h" #include "tests/knot/journal_tests.h" #include "tests/knot/server_tests.h" #include "tests/knot/conf_tests.h" #include "tests/knot/rrl_tests.h" +#include "tests/zscanner/zscanner_tests.h" +#include "tests/libknot/wire_tests.h" +#include "tests/libknot/dname_tests.h" +#include "tests/libknot/ztree_tests.h" +#include "tests/libknot/sign_tests.h" +#include "tests/libknot/rrset_tests.h" // Run all loaded units int main(int argc, char *argv[]) @@ -43,22 +51,35 @@ int main(int argc, char *argv[]) // Build test set unit_api *tests[] = { - /* Core data structures. */ - &journal_tests_api, //! Journal unit - &slab_tests_api, //! SLAB allocator unit - &skiplist_tests_api, //! Skip list unit - &dthreads_tests_api, //! DThreads testing unit - &events_tests_api, //! Events testing unit - &acl_tests_api, //! ACLs - &fdset_tests_api, //! FDSET polling wrapper - &base64_tests_api, //! Base64 encoding - &base32hex_tests_api, //! Base32hex encoding - - /* Server parts. */ - &conf_tests_api, //! Configuration parser tests - &server_tests_api, //! Server unit - &rrl_tests_api, //! RRL tests - NULL + /* Core data structures. */ + &journal_tests_api, //! Journal unit + &slab_tests_api, //! SLAB allocator unit + &skiplist_tests_api, //! Skip list unit + &hattrie_tests_api, //! HAT trie unit + &dthreads_tests_api, //! DThreads testing unit + &events_tests_api, //! Events testing unit + &acl_tests_api, //! ACLs + &fdset_tests_api, //! FDSET polling wrapper + &base64_tests_api, //! Base64 encoding + &base32hex_tests_api, //! Base32hex encoding + &descriptor_tests_api, //! RR descriptors + + /* Server parts. */ + &conf_tests_api, //! Configuration parser tests + &server_tests_api, //! Server unit + &rrl_tests_api, //! RRL tests + + /* Zone scanner. */ + &zscanner_tests_api, //! Wrapper for external unittests + + /* Libknot library. */ + &wire_tests_api, + &dname_tests_api, + &ztree_tests_api, + &sign_tests_api, //! Key manipulation. + &rrset_tests_api, + + NULL }; // Plan number of tests @@ -87,4 +108,3 @@ int main(int argc, char *argv[]) // Evaluate return exit_status(); } - |