diff options
Diffstat (limited to 'tests/ui/stub_ui.c')
-rw-r--r-- | tests/ui/stub_ui.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c index dee743e3..7115d2c3 100644 --- a/tests/ui/stub_ui.c +++ b/tests/ui/stub_ui.c @@ -86,9 +86,10 @@ int ui_close_read_wins(void) // current window actions void ui_clear_current(void) {} + win_type_t ui_current_win_type(void) { - return WIN_CONSOLE; + return (win_type_t)mock(); } int ui_current_win_index(void) @@ -330,7 +331,12 @@ void cons_show_account_list(gchar **accounts) } void cons_show_room_list(GSList *room, const char * const conference_node) {} -void cons_show_bookmarks(const GList *list) {} + +void cons_show_bookmarks(const GList *list) +{ + check_expected(list); +} + void cons_show_disco_items(GSList *items, const char * const jid) {} void cons_show_disco_info(const char *from, GSList *identities, GSList *features) {} void cons_show_room_invite(const char * const invitor, const char * const room, |