about summary refs log tree commit diff stats
path: root/stabbertests/stabbertestsuite.c
diff options
context:
space:
mode:
Diffstat (limited to 'stabbertests/stabbertestsuite.c')
-rw-r--r--stabbertests/stabbertestsuite.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/stabbertests/stabbertestsuite.c b/stabbertests/stabbertestsuite.c
new file mode 100644
index 00000000..03b751ae
--- /dev/null
+++ b/stabbertests/stabbertestsuite.c
@@ -0,0 +1,43 @@
+#include <stdarg.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <fcntl.h>
+#include <stddef.h>
+#include <setjmp.h>
+#include <cmocka.h>
+#include <sys/stat.h>
+
+#include "config.h"
+
+#include "proftest.h"
+#include "test_connect.h"
+
+int main(int argc, char* argv[]) {
+
+    const UnitTest all_tests[] = {
+
+        unit_test_setup_teardown(connect_jid,
+            init_prof_test,
+            close_prof_test),
+        unit_test_setup_teardown(connect_jid_requests_roster,
+            init_prof_test,
+            close_prof_test),
+        unit_test_setup_teardown(connect_jid_sends_presence_after_receiving_roster,
+            init_prof_test,
+            close_prof_test),
+        unit_test_setup_teardown(connect_jid_requests_bookmarks,
+            init_prof_test,
+            close_prof_test),
+        unit_test_setup_teardown(connect_bad_password,
+            init_prof_test,
+            close_prof_test),
+        unit_test_setup_teardown(sends_rooms_iq,
+            init_prof_test,
+            close_prof_test),
+        unit_test_setup_teardown(multiple_pings,
+            init_prof_test,
+            close_prof_test),
+    };
+
+    return run_tests(all_tests);
+}