about summary refs log tree commit diff stats
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
parent0c99dc7ad60843aa7719a9c75aa701e3c86720da (diff)
downloadprofani-tty-6d6bb6458873196f904257cd00a6f2221262783d.tar.gz
Moved tests -> unittests
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am72
-rw-r--r--stabbertests/proftest.c26
-rw-r--r--unittests/config/stub_accounts.c (renamed from tests/config/stub_accounts.c)0
-rw-r--r--unittests/helpers.c (renamed from tests/helpers.c)0
-rw-r--r--unittests/helpers.h (renamed from tests/helpers.h)0
-rw-r--r--unittests/log/stub_log.c (renamed from tests/log/stub_log.c)0
-rw-r--r--unittests/otr/stub_otr.c (renamed from tests/otr/stub_otr.c)0
-rw-r--r--unittests/test_autocomplete.c (renamed from tests/test_autocomplete.c)0
-rw-r--r--unittests/test_autocomplete.h (renamed from tests/test_autocomplete.h)0
-rw-r--r--unittests/test_chat_session.c (renamed from tests/test_chat_session.c)0
-rw-r--r--unittests/test_chat_session.h (renamed from tests/test_chat_session.h)0
-rw-r--r--unittests/test_cmd_account.c (renamed from tests/test_cmd_account.c)0
-rw-r--r--unittests/test_cmd_account.h (renamed from tests/test_cmd_account.h)0
-rw-r--r--unittests/test_cmd_alias.c (renamed from tests/test_cmd_alias.c)0
-rw-r--r--unittests/test_cmd_alias.h (renamed from tests/test_cmd_alias.h)0
-rw-r--r--unittests/test_cmd_bookmark.c (renamed from tests/test_cmd_bookmark.c)0
-rw-r--r--unittests/test_cmd_bookmark.h (renamed from tests/test_cmd_bookmark.h)0
-rw-r--r--unittests/test_cmd_connect.c (renamed from tests/test_cmd_connect.c)0
-rw-r--r--unittests/test_cmd_connect.h (renamed from tests/test_cmd_connect.h)0
-rw-r--r--unittests/test_cmd_disconnect.c (renamed from tests/test_cmd_disconnect.c)0
-rw-r--r--unittests/test_cmd_disconnect.h (renamed from tests/test_cmd_disconnect.h)0
-rw-r--r--unittests/test_cmd_join.c (renamed from tests/test_cmd_join.c)0
-rw-r--r--unittests/test_cmd_join.h (renamed from tests/test_cmd_join.h)0
-rw-r--r--unittests/test_cmd_otr.c (renamed from tests/test_cmd_otr.c)0
-rw-r--r--unittests/test_cmd_otr.h (renamed from tests/test_cmd_otr.h)0
-rw-r--r--unittests/test_cmd_rooms.c (renamed from tests/test_cmd_rooms.c)0
-rw-r--r--unittests/test_cmd_rooms.h (renamed from tests/test_cmd_rooms.h)0
-rw-r--r--unittests/test_cmd_roster.c (renamed from tests/test_cmd_roster.c)0
-rw-r--r--unittests/test_cmd_roster.h (renamed from tests/test_cmd_roster.h)0
-rw-r--r--unittests/test_cmd_statuses.c (renamed from tests/test_cmd_statuses.c)0
-rw-r--r--unittests/test_cmd_statuses.h (renamed from tests/test_cmd_statuses.h)0
-rw-r--r--unittests/test_cmd_sub.c (renamed from tests/test_cmd_sub.c)0
-rw-r--r--unittests/test_cmd_sub.h (renamed from tests/test_cmd_sub.h)0
-rw-r--r--unittests/test_common.c (renamed from tests/test_common.c)0
-rw-r--r--unittests/test_common.h (renamed from tests/test_common.h)0
-rw-r--r--unittests/test_contact.c (renamed from tests/test_contact.c)0
-rw-r--r--unittests/test_contact.h (renamed from tests/test_contact.h)0
-rw-r--r--unittests/test_form.c (renamed from tests/test_form.c)0
-rw-r--r--unittests/test_form.h (renamed from tests/test_form.h)0
-rw-r--r--unittests/test_jid.c (renamed from tests/test_jid.c)0
-rw-r--r--unittests/test_jid.h (renamed from tests/test_jid.h)0
-rw-r--r--unittests/test_keyhandlers.c (renamed from tests/test_keyhandlers.c)0
-rw-r--r--unittests/test_keyhandlers.h (renamed from tests/test_keyhandlers.h)0
-rw-r--r--unittests/test_muc.c (renamed from tests/test_muc.c)0
-rw-r--r--unittests/test_muc.h (renamed from tests/test_muc.h)0
-rw-r--r--unittests/test_parser.c (renamed from tests/test_parser.c)0
-rw-r--r--unittests/test_parser.h (renamed from tests/test_parser.h)0
-rw-r--r--unittests/test_preferences.c (renamed from tests/test_preferences.c)0
-rw-r--r--unittests/test_preferences.h (renamed from tests/test_preferences.h)0
-rw-r--r--unittests/test_roster_list.c (renamed from tests/test_roster_list.c)0
-rw-r--r--unittests/test_roster_list.h (renamed from tests/test_roster_list.h)0
-rw-r--r--unittests/test_server_events.c (renamed from tests/test_server_events.c)0
-rw-r--r--unittests/test_server_events.h (renamed from tests/test_server_events.h)0
-rw-r--r--unittests/ui/stub_ui.c (renamed from tests/ui/stub_ui.c)2
-rw-r--r--unittests/ui/stub_ui.h (renamed from tests/ui/stub_ui.h)0
-rw-r--r--unittests/unittests.c (renamed from tests/testsuite.c)0
-rw-r--r--unittests/xmpp/stub_xmpp.c (renamed from tests/xmpp/stub_xmpp.c)0
58 files changed, 52 insertions, 50 deletions
diff --git a/.gitignore b/.gitignore
index c3d9a977..8a73f436 100644
--- a/.gitignore
+++ b/.gitignore
@@ -71,3 +71,5 @@ main_fragment.html
 toc_fragment.html
 stabbertests/stabbertestsuite
 stabbertests/stabbertestsuite.trs
+unittests/unittests
+unittests/unittests.trs
diff --git a/Makefile.am b/Makefile.am
index 5ac81f52..0c5f23ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,7 +35,7 @@ core_sources = \
 	src/config/preferences.c src/config/preferences.h \
 	src/config/theme.c src/config/theme.h
 
-test_sources = \
+unittest_sources = \
 	src/contact.c src/contact.h src/common.c \
 	src/log.h src/profanity.c src/common.h \
 	src/profanity.h src/chat_session.c \
@@ -65,34 +65,34 @@ test_sources = \
 	src/event/server_events.c src/event/server_events.h \
 	src/event/client_events.c src/event/client_events.h \
 	src/event/ui_events.c src/event/ui_events.h \
-	tests/xmpp/stub_xmpp.c \
-	tests/ui/stub_ui.c \
-	tests/log/stub_log.c \
-	tests/config/stub_accounts.c \
-	tests/helpers.c tests/helpers.h \
-	tests/test_cmd_account.c tests/test_cmd_account.h \
-	tests/test_cmd_alias.c tests/test_cmd_alias.h \
-	tests/test_cmd_bookmark.c tests/test_cmd_bookmark.h \
-	tests/test_cmd_connect.c tests/test_cmd_connect.h \
-	tests/test_cmd_join.c tests/test_cmd_join.h \
-	tests/test_cmd_otr.c tests/test_cmd_otr.h \
-	tests/test_cmd_rooms.c tests/test_cmd_rooms.h \
-	tests/test_cmd_roster.c tests/test_cmd_roster.h \
-	tests/test_cmd_statuses.c tests/test_cmd_statuses.h \
-	tests/test_cmd_sub.c tests/test_cmd_sub.h \
-	tests/test_cmd_disconnect.c tests/test_cmd_disconnect.h \
-	tests/test_common.c tests/test_common.h \
-	tests/test_contact.c tests/test_contact.h \
-	tests/test_form.c tests/test_form.h \
-	tests/test_jid.c tests/test_jid.h \
-	tests/test_muc.c tests/test_muc.h \
-	tests/test_parser.c tests/test_parser.h \
-	tests/test_preferences.c tests/test_preferences.h \
-	tests/test_roster_list.c tests/test_roster_list.h \
-	tests/test_server_events.c tests/test_server_events.h \
-	tests/test_autocomplete.c tests/test_autocomplete.h \
-	tests/test_chat_session.c tests/test_chat_session.h \
-	tests/testsuite.c
+	unittests/xmpp/stub_xmpp.c \
+	unittests/ui/stub_ui.c \
+	unittests/log/stub_log.c \
+	unittests/config/stub_accounts.c \
+	unittests/helpers.c unittests/helpers.h \
+	unittests/test_cmd_account.c unittests/test_cmd_account.h \
+	unittests/test_cmd_alias.c unittests/test_cmd_alias.h \
+	unittests/test_cmd_bookmark.c unittests/test_cmd_bookmark.h \
+	unittests/test_cmd_connect.c unittests/test_cmd_connect.h \
+	unittests/test_cmd_join.c unittests/test_cmd_join.h \
+	unittests/test_cmd_otr.c unittests/test_cmd_otr.h \
+	unittests/test_cmd_rooms.c unittests/test_cmd_rooms.h \
+	unittests/test_cmd_roster.c unittests/test_cmd_roster.h \
+	unittests/test_cmd_statuses.c unittests/test_cmd_statuses.h \
+	unittests/test_cmd_sub.c unittests/test_cmd_sub.h \
+	unittests/test_cmd_disconnect.c unittests/test_cmd_disconnect.h \
+	unittests/test_common.c unittests/test_common.h \
+	unittests/test_contact.c unittests/test_contact.h \
+	unittests/test_form.c unittests/test_form.h \
+	unittests/test_jid.c unittests/test_jid.h \
+	unittests/test_muc.c unittests/test_muc.h \
+	unittests/test_parser.c unittests/test_parser.h \
+	unittests/test_preferences.c unittests/test_preferences.h \
+	unittests/test_roster_list.c unittests/test_roster_list.h \
+	unittests/test_server_events.c unittests/test_server_events.h \
+	unittests/test_autocomplete.c unittests/test_autocomplete.h \
+	unittests/test_chat_session.c unittests/test_chat_session.h \
+	unittests/unittests.c
 
 stabbertest_sources = \
 	stabbertests/proftest.c stabbertests/proftest.h \
@@ -109,8 +109,8 @@ otr3_sources = \
 otr4_sources = \
 	src/otr/otrlib.h src/otr/otrlibv4.c src/otr/otr.h src/otr/otr.c
 
-otr_test_sources = \
-	tests/otr/stub_otr.c
+otr_unittest_sources = \
+	unittests/otr/stub_otr.c
 
 themes_sources = themes/*
 
@@ -119,7 +119,7 @@ script_sources = bootstrap.sh configure-debug install-all.sh
 man_sources = docs/profanity.1
 
 if BUILD_OTR
-test_sources += $(otr_test_sources)
+unittest_sources += $(otr_unittest_sources)
 if BUILD_OTR3
 core_sources += $(otr3_sources)
 endif
@@ -138,10 +138,10 @@ if INCLUDE_GIT_VERSION
 BUILT_SOURCES = $(git_include)
 endif
 
-TESTS = tests/testsuite stabbertests/stabbertestsuite
-check_PROGRAMS = tests/testsuite stabbertests/stabbertestsuite
-tests_testsuite_SOURCES = $(test_sources)
-tests_testsuite_LDADD = -lcmocka
+TESTS = unittests/unittests stabbertests/stabbertestsuite
+check_PROGRAMS = unittests/unittests stabbertests/stabbertestsuite
+unittests_unittests_SOURCES = $(unittest_sources)
+unittests_unittests_LDADD = -lcmocka
 stabbertests_stabbertestsuite_SOURCES = $(stabbertest_sources)
 stabbertests_stabbertestsuite_CFLAGS = -I/usr/include/tcl8.6 -I/usr/include/tcl8.5
 stabbertests_stabbertestsuite_LDADD = -lcmocka -lstabber -lexpect -ltcl
diff --git a/stabbertests/proftest.c b/stabbertests/proftest.c
index 1f303a70..dbecd117 100644
--- a/stabbertests/proftest.c
+++ b/stabbertests/proftest.c
@@ -122,6 +122,19 @@ _cleanup_dirs(void)
 }
 
 void
+prof_start(void)
+{
+    fd = exp_spawnl("./profanity", NULL);
+    FILE *fp = fdopen(fd, "r+");
+
+    if (fp == NULL) {
+        assert_true(FALSE);
+    }
+
+    setbuf(fp, (char *)0);
+}
+
+void
 init_prof_test(void **state)
 {
     if (stbbr_start(5230) != 0) {
@@ -157,19 +170,6 @@ close_prof_test(void **state)
 }
 
 void
-prof_start(void)
-{
-    fd = exp_spawnl("./profanity", NULL);
-    FILE *fp = fdopen(fd, "r+");
-
-    if (fp == NULL) {
-        assert_true(FALSE);
-    }
-
-    setbuf(fp, (char *)0);
-}
-
-void
 prof_input(char *input)
 {
     GString *inp_str = g_string_new(input);
diff --git a/tests/config/stub_accounts.c b/unittests/config/stub_accounts.c
index 32a80fda..32a80fda 100644
--- a/tests/config/stub_accounts.c
+++ b/unittests/config/stub_accounts.c
diff --git a/tests/helpers.c b/unittests/helpers.c
index 564b2716..564b2716 100644
--- a/tests/helpers.c
+++ b/unittests/helpers.c
diff --git a/tests/helpers.h b/unittests/helpers.h
index 75d446d0..75d446d0 100644
--- a/tests/helpers.h
+++ b/unittests/helpers.h
diff --git a/tests/log/stub_log.c b/unittests/log/stub_log.c
index f88871a7..f88871a7 100644
--- a/tests/log/stub_log.c
+++ b/unittests/log/stub_log.c
diff --git a/tests/otr/stub_otr.c b/unittests/otr/stub_otr.c
index 482f0a7f..482f0a7f 100644
--- a/tests/otr/stub_otr.c
+++ b/unittests/otr/stub_otr.c
diff --git a/tests/test_autocomplete.c b/unittests/test_autocomplete.c
index f6ef8653..f6ef8653 100644
--- a/tests/test_autocomplete.c
+++ b/unittests/test_autocomplete.c
diff --git a/tests/test_autocomplete.h b/unittests/test_autocomplete.h
index 4ad327c0..4ad327c0 100644
--- a/tests/test_autocomplete.h
+++ b/unittests/test_autocomplete.h
diff --git a/tests/test_chat_session.c b/unittests/test_chat_session.c
index b5e1f7b6..b5e1f7b6 100644
--- a/tests/test_chat_session.c
+++ b/unittests/test_chat_session.c
diff --git a/tests/test_chat_session.h b/unittests/test_chat_session.h
index 4ce03fd5..4ce03fd5 100644
--- a/tests/test_chat_session.h
+++ b/unittests/test_chat_session.h
diff --git a/tests/test_cmd_account.c b/unittests/test_cmd_account.c
index bddc4c6d..bddc4c6d 100644
--- a/tests/test_cmd_account.c
+++ b/unittests/test_cmd_account.c
diff --git a/tests/test_cmd_account.h b/unittests/test_cmd_account.h
index 91bd1e70..91bd1e70 100644
--- a/tests/test_cmd_account.h
+++ b/unittests/test_cmd_account.h
diff --git a/tests/test_cmd_alias.c b/unittests/test_cmd_alias.c
index 10ab7f53..10ab7f53 100644
--- a/tests/test_cmd_alias.c
+++ b/unittests/test_cmd_alias.c
diff --git a/tests/test_cmd_alias.h b/unittests/test_cmd_alias.h
index bd93ef1a..bd93ef1a 100644
--- a/tests/test_cmd_alias.h
+++ b/unittests/test_cmd_alias.h
diff --git a/tests/test_cmd_bookmark.c b/unittests/test_cmd_bookmark.c
index 695e7362..695e7362 100644
--- a/tests/test_cmd_bookmark.c
+++ b/unittests/test_cmd_bookmark.c
diff --git a/tests/test_cmd_bookmark.h b/unittests/test_cmd_bookmark.h
index 9505e105..9505e105 100644
--- a/tests/test_cmd_bookmark.h
+++ b/unittests/test_cmd_bookmark.h
diff --git a/tests/test_cmd_connect.c b/unittests/test_cmd_connect.c
index e2089a09..e2089a09 100644
--- a/tests/test_cmd_connect.c
+++ b/unittests/test_cmd_connect.c
diff --git a/tests/test_cmd_connect.h b/unittests/test_cmd_connect.h
index ad27a0a5..ad27a0a5 100644
--- a/tests/test_cmd_connect.h
+++ b/unittests/test_cmd_connect.h
diff --git a/tests/test_cmd_disconnect.c b/unittests/test_cmd_disconnect.c
index 68253820..68253820 100644
--- a/tests/test_cmd_disconnect.c
+++ b/unittests/test_cmd_disconnect.c
diff --git a/tests/test_cmd_disconnect.h b/unittests/test_cmd_disconnect.h
index 856b501e..856b501e 100644
--- a/tests/test_cmd_disconnect.h
+++ b/unittests/test_cmd_disconnect.h
diff --git a/tests/test_cmd_join.c b/unittests/test_cmd_join.c
index 19824b3a..19824b3a 100644
--- a/tests/test_cmd_join.c
+++ b/unittests/test_cmd_join.c
diff --git a/tests/test_cmd_join.h b/unittests/test_cmd_join.h
index a96fa435..a96fa435 100644
--- a/tests/test_cmd_join.h
+++ b/unittests/test_cmd_join.h
diff --git a/tests/test_cmd_otr.c b/unittests/test_cmd_otr.c
index dae17947..dae17947 100644
--- a/tests/test_cmd_otr.c
+++ b/unittests/test_cmd_otr.c
diff --git a/tests/test_cmd_otr.h b/unittests/test_cmd_otr.h
index 8ef182e9..8ef182e9 100644
--- a/tests/test_cmd_otr.h
+++ b/unittests/test_cmd_otr.h
diff --git a/tests/test_cmd_rooms.c b/unittests/test_cmd_rooms.c
index 5114bfbf..5114bfbf 100644
--- a/tests/test_cmd_rooms.c
+++ b/unittests/test_cmd_rooms.c
diff --git a/tests/test_cmd_rooms.h b/unittests/test_cmd_rooms.h
index a9a7af83..a9a7af83 100644
--- a/tests/test_cmd_rooms.h
+++ b/unittests/test_cmd_rooms.h
diff --git a/tests/test_cmd_roster.c b/unittests/test_cmd_roster.c
index a7160cf5..a7160cf5 100644
--- a/tests/test_cmd_roster.c
+++ b/unittests/test_cmd_roster.c
diff --git a/tests/test_cmd_roster.h b/unittests/test_cmd_roster.h
index 79f69ec8..79f69ec8 100644
--- a/tests/test_cmd_roster.h
+++ b/unittests/test_cmd_roster.h
diff --git a/tests/test_cmd_statuses.c b/unittests/test_cmd_statuses.c
index ed37021a..ed37021a 100644
--- a/tests/test_cmd_statuses.c
+++ b/unittests/test_cmd_statuses.c
diff --git a/tests/test_cmd_statuses.h b/unittests/test_cmd_statuses.h
index 306a6fc7..306a6fc7 100644
--- a/tests/test_cmd_statuses.h
+++ b/unittests/test_cmd_statuses.h
diff --git a/tests/test_cmd_sub.c b/unittests/test_cmd_sub.c
index 80b85f15..80b85f15 100644
--- a/tests/test_cmd_sub.c
+++ b/unittests/test_cmd_sub.c
diff --git a/tests/test_cmd_sub.h b/unittests/test_cmd_sub.h
index 6e8addd3..6e8addd3 100644
--- a/tests/test_cmd_sub.h
+++ b/unittests/test_cmd_sub.h
diff --git a/tests/test_common.c b/unittests/test_common.c
index 980f2198..980f2198 100644
--- a/tests/test_common.c
+++ b/unittests/test_common.c
diff --git a/tests/test_common.h b/unittests/test_common.h
index b4b98e5a..b4b98e5a 100644
--- a/tests/test_common.h
+++ b/unittests/test_common.h
diff --git a/tests/test_contact.c b/unittests/test_contact.c
index cad88907..cad88907 100644
--- a/tests/test_contact.c
+++ b/unittests/test_contact.c
diff --git a/tests/test_contact.h b/unittests/test_contact.h
index c9d8c1fd..c9d8c1fd 100644
--- a/tests/test_contact.h
+++ b/unittests/test_contact.h
diff --git a/tests/test_form.c b/unittests/test_form.c
index b3158a83..b3158a83 100644
--- a/tests/test_form.c
+++ b/unittests/test_form.c
diff --git a/tests/test_form.h b/unittests/test_form.h
index 65911d0a..65911d0a 100644
--- a/tests/test_form.h
+++ b/unittests/test_form.h
diff --git a/tests/test_jid.c b/unittests/test_jid.c
index ff5f4c9a..ff5f4c9a 100644
--- a/tests/test_jid.c
+++ b/unittests/test_jid.c
diff --git a/tests/test_jid.h b/unittests/test_jid.h
index 9b96d0b8..9b96d0b8 100644
--- a/tests/test_jid.h
+++ b/unittests/test_jid.h
diff --git a/tests/test_keyhandlers.c b/unittests/test_keyhandlers.c
index a6d39143..a6d39143 100644
--- a/tests/test_keyhandlers.c
+++ b/unittests/test_keyhandlers.c
diff --git a/tests/test_keyhandlers.h b/unittests/test_keyhandlers.h
index 4be429a9..4be429a9 100644
--- a/tests/test_keyhandlers.h
+++ b/unittests/test_keyhandlers.h
diff --git a/tests/test_muc.c b/unittests/test_muc.c
index e3b7f9b0..e3b7f9b0 100644
--- a/tests/test_muc.c
+++ b/unittests/test_muc.c
diff --git a/tests/test_muc.h b/unittests/test_muc.h
index 8df54a5d..8df54a5d 100644
--- a/tests/test_muc.h
+++ b/unittests/test_muc.h
diff --git a/tests/test_parser.c b/unittests/test_parser.c
index faefc9c7..faefc9c7 100644
--- a/tests/test_parser.c
+++ b/unittests/test_parser.c
diff --git a/tests/test_parser.h b/unittests/test_parser.h
index 51d768fe..51d768fe 100644
--- a/tests/test_parser.h
+++ b/unittests/test_parser.h
diff --git a/tests/test_preferences.c b/unittests/test_preferences.c
index c4bcbf77..c4bcbf77 100644
--- a/tests/test_preferences.c
+++ b/unittests/test_preferences.c
diff --git a/tests/test_preferences.h b/unittests/test_preferences.h
index 5bf79a6a..5bf79a6a 100644
--- a/tests/test_preferences.h
+++ b/unittests/test_preferences.h
diff --git a/tests/test_roster_list.c b/unittests/test_roster_list.c
index 41ccb8cf..41ccb8cf 100644
--- a/tests/test_roster_list.c
+++ b/unittests/test_roster_list.c
diff --git a/tests/test_roster_list.h b/unittests/test_roster_list.h
index 080bca9f..080bca9f 100644
--- a/tests/test_roster_list.h
+++ b/unittests/test_roster_list.h
diff --git a/tests/test_server_events.c b/unittests/test_server_events.c
index 58489807..58489807 100644
--- a/tests/test_server_events.c
+++ b/unittests/test_server_events.c
diff --git a/tests/test_server_events.h b/unittests/test_server_events.h
index 81a436f4..81a436f4 100644
--- a/tests/test_server_events.h
+++ b/unittests/test_server_events.h
diff --git a/tests/ui/stub_ui.c b/unittests/ui/stub_ui.c
index 52c38570..bdee3453 100644
--- a/tests/ui/stub_ui.c
+++ b/unittests/ui/stub_ui.c
@@ -7,7 +7,7 @@
 #include "ui/window.h"
 #include "ui/ui.h"
 
-#include "tests/ui/stub_ui.h"
+#include "unittests/ui/stub_ui.h"
 
 // mock state
 
diff --git a/tests/ui/stub_ui.h b/unittests/ui/stub_ui.h
index 81357a86..81357a86 100644
--- a/tests/ui/stub_ui.h
+++ b/unittests/ui/stub_ui.h
diff --git a/tests/testsuite.c b/unittests/unittests.c
index 3f860178..3f860178 100644
--- a/tests/testsuite.c
+++ b/unittests/unittests.c
diff --git a/tests/xmpp/stub_xmpp.c b/unittests/xmpp/stub_xmpp.c
index d3be1af6..d3be1af6 100644
--- a/tests/xmpp/stub_xmpp.c
+++ b/unittests/xmpp/stub_xmpp.c