From 447d235868e9e1554e432aad1e6a3b3db10e7b1d Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 14 Dec 2013 18:43:19 +0000 Subject: Mocked account preferences and tested cmd_rooms --- tests/xmpp/mock_xmpp.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/xmpp') diff --git a/tests/xmpp/mock_xmpp.c b/tests/xmpp/mock_xmpp.c index 0c6bf917..8ba03cab 100644 --- a/tests/xmpp/mock_xmpp.c +++ b/tests/xmpp/mock_xmpp.c @@ -1,5 +1,5 @@ /* - * xmpp.h + * mock_xmpp.c * * Copyright (C) 2012, 2013 James Booth * @@ -116,7 +116,12 @@ gboolean presence_sub_request_exists(const char * const bare_jid) // iq functions void iq_send_software_version(const char * const fulljid) {} -void iq_room_list_request(gchar *conferencejid) {} + +void iq_room_list_request(gchar *conferencejid) +{ + check_expected(conferencejid); +} + void iq_disco_info_request(gchar *jid) {} void iq_disco_items_request(gchar *jid) {} -- cgit 1.4.1-2-gfad0