Code

t/: Added initial tests for core/object.
[sysdb.git] / t / libsysdb_test.h
index fe9f1a811bf407716b167637bd8ee51d2020e061..9d83dc6cab5afb8febac271144045c2c3fdee13f 100644 (file)
 #ifndef T_LIBSYSDB_H
 #define T_LIBSYSDB_H 1
 
-#include <string.h>
+#include "config.h"
 
 #include "sysdb.h"
 #include "core/object.h"
 
+#include <check.h>
+#include <string.h>
+
 /*
  * private testing helpers
  */
        /* 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/core/object_test */
+Suite *
+core_object_suite(void);
+
+/* 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 : */