about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-12-18 15:44:59 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-12-18 15:44:59 +0100
commit9ac72980d192b716cfb549e0501b70a152811e62 (patch)
tree49220b08e6dc2c717ee17a90d77249cc36fb646d /tests/unittests/xmpp
parent53b92561cb1a815ca2f3622ad7ec4e27cf2c069d (diff)
downloadprofani-tty-9ac72980d192b716cfb549e0501b70a152811e62.tar.gz
xep-0084: add test stub file
Diffstat (limited to 'tests/unittests/xmpp')
-rw-r--r--tests/unittests/xmpp/stub_avatar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unittests/xmpp/stub_avatar.c b/tests/unittests/xmpp/stub_avatar.c
new file mode 100644
index 00000000..64b8a95f
--- /dev/null
+++ b/tests/unittests/xmpp/stub_avatar.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+#include <glib.h>
+#include <stdlib.h>
+
+void avatar_pep_subscribe(void) {};
+gboolean avatar_get_by_nick(const char* nick) {return TRUE;}
+