diff options
author | James Booth <boothj5@gmail.com> | 2015-05-07 22:05:36 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-05-07 22:05:36 +0100 |
commit | a2c62117322eea58c17231c27c5ee3b41900ea81 (patch) | |
tree | 0f0278419d0eb8d02c70fc6ca535124fecf186c3 /tests/ui/stub_ui.c | |
parent | 6fd9b179a08126deb20d6efedac3089e9bf432cb (diff) | |
download | profani-tty-a2c62117322eea58c17231c27c5ee3b41900ea81.tar.gz |
Added ui_contact_online
Diffstat (limited to 'tests/ui/stub_ui.c')
-rw-r--r-- | tests/ui/stub_ui.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c index c23723e1..f3c5831f 100644 --- a/tests/ui/stub_ui.c +++ b/tests/ui/stub_ui.c @@ -185,6 +185,13 @@ char * ui_ask_password(void) void ui_handle_stanza(const char * const msg) {} // ui events +void ui_contact_online(char *barejid, Resource *resource, GDateTime *last_activity) +{ + check_expected(barejid); + check_expected(resource); + check_expected(last_activity); +} + void ui_contact_typing(const char * const barejid, const char * const resource) {} void ui_incoming_msg(const char * const from, const char * const resource, const char * const message, GTimeVal *tv_stamp) {} void ui_message_receipt(const char * const barejid, const char * const id) {} |