about summary refs log tree commit diff stats
path: root/unittests/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/helpers.h')
-rw-r--r--unittests/helpers.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/unittests/helpers.h b/unittests/helpers.h
new file mode 100644
index 00000000..75d446d0
--- /dev/null
+++ b/unittests/helpers.h
@@ -0,0 +1,12 @@
+#include "glib.h"
+
+void load_preferences(void **state);
+void close_preferences(void **state);
+
+void init_chat_sessions(void **state);
+void close_chat_sessions(void **state);
+
+int utf8_pos_to_col(char *str, int utf8_pos);
+
+void glist_set_cmp(GCompareFunc func);
+int glist_contents_equal(const void *actual, const void *expected);
\ No newline at end of file