diff options
author | James Booth <boothj5@gmail.com> | 2014-12-24 13:06:32 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-24 13:06:32 +0000 |
commit | 05bf9bb9932e0ce7caeb1b44fc5403474dfaf9e1 (patch) | |
tree | 01283a870ddfd1c43e666d209ed372125ca6667d /tests/ui/stub_ui.c | |
parent | 8c01021ab9ae719c398e6c4a3e87ab98a5d6ac0e (diff) | |
download | profani-tty-05bf9bb9932e0ce7caeb1b44fc5403474dfaf9e1.tar.gz |
Refactoring cmd_account tests
Diffstat (limited to 'tests/ui/stub_ui.c')
-rw-r--r-- | tests/ui/stub_ui.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c index 444de129..4b65fa39 100644 --- a/tests/ui/stub_ui.c +++ b/tests/ui/stub_ui.c @@ -298,7 +298,7 @@ void cons_show_otr_prefs(void) {} void cons_show_account(ProfAccount *account) { - check_expected(account); + check_expected(account); } void cons_debug(const char * const msg, ...) {} @@ -318,7 +318,12 @@ void cons_show_login_success(ProfAccount *account) {} void cons_show_software_version(const char * const jid, const char * const presence, const char * const name, const char * const version, const char * const os) {} -void cons_show_account_list(gchar **accounts) {} + +void cons_show_account_list(gchar **accounts) +{ + check_expected(accounts); +} + void cons_show_room_list(GSList *room, const char * const conference_node) {} void cons_show_bookmarks(const GList *list) {} void cons_show_disco_items(GSList *items, const char * const jid) {} |