diff options
author | James Booth <boothj5@gmail.com> | 2014-12-25 00:08:46 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-25 00:08:46 +0000 |
commit | 59296054407d81e53101a5553ac9c7c5de0adfab (patch) | |
tree | e41519afa50b33af907a3b4055b83cde99928a9d /tests/ui | |
parent | 9537592b52a8a96026c233cef8cd9834c23c2f69 (diff) | |
download | profani-tty-59296054407d81e53101a5553ac9c7c5de0adfab.tar.gz |
Added cmd_win tests
Diffstat (limited to 'tests/ui')
-rw-r--r-- | tests/ui/stub_ui.c | 3 |
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; } |