diff options
author | James Booth <boothj5@gmail.com> | 2016-05-01 19:39:39 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-01 19:39:39 +0100 |
commit | b8c94376aad2d5edf4390e47b8dc89db8ab1a517 (patch) | |
tree | ed498c6b0fed9428e5d0f0cdd28cdd12f82cb447 /tests/unittests | |
parent | c31913f8d582c57dc2d148739e190ddff743cb94 (diff) | |
download | profani-tty-b8c94376aad2d5edf4390e47b8dc89db8ab1a517.tar.gz |
Add /blocked command
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/xmpp/stub_xmpp.c | 28 |
1 files changed, 28 insertions, 0 deletions
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) {} |