From 6d6bb6458873196f904257cd00a6f2221262783d Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 28 May 2015 18:50:55 +0100 Subject: Moved tests -> unittests --- unittests/helpers.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 unittests/helpers.h (limited to 'unittests/helpers.h') 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 -- cgit 1.4.1-2-gfad0