X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Flibsysdb_test.h;h=9e4be80d0a22b84e2210891cf9cfe517dfdfda40;hp=fe9f1a811bf407716b167637bd8ee51d2020e061;hb=8ade561fc2cea61f241d34d6e69b532081ac6752;hpb=22c21e436dc4e9818cbdb9fac3b03ac727533623 diff --git a/t/libsysdb_test.h b/t/libsysdb_test.h index fe9f1a8..9e4be80 100644 --- a/t/libsysdb_test.h +++ b/t/libsysdb_test.h @@ -28,11 +28,14 @@ #ifndef T_LIBSYSDB_H #define T_LIBSYSDB_H 1 -#include +#include "config.h" #include "sysdb.h" #include "core/object.h" +#include +#include + /* * private testing helpers */ @@ -43,14 +46,35 @@ /* type = */ { sizeof(sdb_object_t), NULL, NULL }, \ /* ref_cnt = */ 1, /* name = */ (name) } +/* + * test-related data-types + */ + +typedef struct { + Suite *(*creator)(void); + const char *msg; +} suite_creator_t; + /* * test suites */ +/* t/utils/dbi_test */ +Suite * +util_dbi_suite(void); + /* t/utils/llist_test */ Suite * util_llist_suite(void); +/* t/utils/strbuf_test */ +Suite * +util_strbuf_suite(void); + +/* t/utils/unixsock_test */ +Suite * +util_unixsock_suite(void); + #endif /* T_LIBSYSDB_H */ /* vim: set tw=78 sw=4 ts=4 noexpandtab : */