about summary refs log tree commit diff stats
path: root/tests/functionaltests/proftest.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-12 23:53:30 +0100
committerJames Booth <boothj5@gmail.com>2015-06-12 23:53:30 +0100
commit68ed20f10d2fae67b052674a42ed98c2059aa16f (patch)
treedf8d1e7989282cc2e15dda3cd378b3b2895e9892 /tests/functionaltests/proftest.h
parentc182f3ecd6be5df9b9bc7757930e47b555ddd251 (diff)
downloadprofani-tty-68ed20f10d2fae67b052674a42ed98c2059aa16f.tar.gz
Moved all tests to tests folder
Diffstat (limited to 'tests/functionaltests/proftest.h')
-rw-r--r--tests/functionaltests/proftest.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/functionaltests/proftest.h b/tests/functionaltests/proftest.h
new file mode 100644
index 00000000..f57f6c35
--- /dev/null
+++ b/tests/functionaltests/proftest.h
@@ -0,0 +1,17 @@
+#ifndef __H_PROFTEST
+#define __H_PROFTEST
+
+#define XDG_CONFIG_HOME "./functionaltests/files/xdg_config_home"
+#define XDG_DATA_HOME   "./functionaltests/files/xdg_data_home"
+
+void init_prof_test(void **state);
+void close_prof_test(void **state);
+
+void prof_start(void);
+void prof_connect(char *jid, char *password);
+void prof_input(char *input);
+
+int prof_output_exact(char *text);
+int prof_output_regex(char *text);
+
+#endif