about summary refs log tree commit diff stats
path: root/tests/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-25 00:08:46 +0000
committerJames Booth <boothj5@gmail.com>2014-12-25 00:08:46 +0000
commit59296054407d81e53101a5553ac9c7c5de0adfab (patch)
treee41519afa50b33af907a3b4055b83cde99928a9d /tests/ui
parent9537592b52a8a96026c233cef8cd9834c23c2f69 (diff)
downloadprofani-tty-59296054407d81e53101a5553ac9c7c5de0adfab.tar.gz
Added cmd_win tests
Diffstat (limited to 'tests/ui')
-rw-r--r--tests/ui/stub_ui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c
index a053f8bb..170fa924 100644
--- a/tests/ui/stub_ui.c
+++ b/tests/ui/stub_ui.c
@@ -53,8 +53,11 @@ GSList* ui_get_recipients(void)
 }
 
 void ui_handle_special_keys(const wint_t * const ch, const int result) {}
+
 gboolean ui_switch_win(const int i)
 {
+    check_expected(i);
+    return (gboolean)mock();
     return FALSE;
 }