From b8c94376aad2d5edf4390e47b8dc89db8ab1a517 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 1 May 2016 19:39:39 +0100 Subject: Add /blocked command --- tests/unittests/xmpp/stub_xmpp.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'tests/unittests') diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c index c27c51cd..fef17bf6 100644 --- a/tests/unittests/xmpp/stub_xmpp.c +++ b/tests/unittests/xmpp/stub_xmpp.c @@ -70,6 +70,12 @@ jabber_send_stanza(const char *const stanza) return TRUE; } +gboolean +jabber_service_supports(const char *const feature) +{ + return FALSE; +} + // message functions char* message_send_chat(const char * const barejid, const char * const msg, const char *const oob_url) { @@ -249,3 +255,25 @@ void roster_send_remove(const char * const barejid) { check_expected(barejid); } + +GList* blocked_list(void) +{ + return NULL; +} + +gboolean blocked_add(char *jid) +{ + return TRUE; +} + +gboolean blocked_remove(char *jid) +{ + return TRUE; +} + +char* blocked_ac_find(const char *const search_str) +{ + return NULL; +} + +void blocked_ac_reset(void) {} -- cgit 1.4.1-2-gfad0