about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--tests/unittests/xmpp/stub_ox.c9
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a8a72ec8..95175c0f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -113,6 +113,7 @@ unittest_sources = \
 	src/event/client_events.c src/event/client_events.h \
 	src/ui/tray.h src/ui/tray.c \
 	tests/unittests/xmpp/stub_avatar.c \
+	tests/unittests/xmpp/stub_ox.c \
 	tests/unittests/xmpp/stub_xmpp.c \
 	tests/unittests/xmpp/stub_message.c \
 	tests/unittests/ui/stub_ui.c tests/unittests/ui/stub_ui.h \
diff --git a/tests/unittests/xmpp/stub_ox.c b/tests/unittests/xmpp/stub_ox.c
new file mode 100644
index 00000000..11529533
--- /dev/null
+++ b/tests/unittests/xmpp/stub_ox.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <glib.h>
+#include <stdlib.h>
+
+gboolean 
+ox_announce_public_key(const char* const filename)
+{
+    return FALSE;
+}