about summary refs log tree commit diff stats
path: root/tests/ui/stub_ui.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-24 13:06:32 +0000
committerJames Booth <boothj5@gmail.com>2014-12-24 13:06:32 +0000
commit05bf9bb9932e0ce7caeb1b44fc5403474dfaf9e1 (patch)
tree01283a870ddfd1c43e666d209ed372125ca6667d /tests/ui/stub_ui.c
parent8c01021ab9ae719c398e6c4a3e87ab98a5d6ac0e (diff)
downloadprofani-tty-05bf9bb9932e0ce7caeb1b44fc5403474dfaf9e1.tar.gz
Refactoring cmd_account tests
Diffstat (limited to 'tests/ui/stub_ui.c')
-rw-r--r--tests/ui/stub_ui.c9
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) {}
63 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218