about summary refs log tree commit diff stats
path: root/unittests/helpers.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-05-28 18:50:55 +0100
committerJames Booth <boothj5@gmail.com>2015-05-28 18:50:55 +0100
commit6d6bb6458873196f904257cd00a6f2221262783d (patch)
tree2b751a3e8cc54dc487a95703898fc9a96e438dbf /unittests/helpers.h
parent0c99dc7ad60843aa7719a9c75aa701e3c86720da (diff)
downloadprofani-tty-6d6bb6458873196f904257cd00a6f2221262783d.tar.gz
Moved tests -> unittests
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