about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-31 22:14:41 +0000
committerJames Booth <boothj5@gmail.com>2015-01-31 22:14:41 +0000
commit3b3ffcfb3770a781a38a93d930df38f9d4a37c28 (patch)
tree2b5538f005b9fbaf464ef8d36a86ef129d96ad7c /tests
parent84688c063e1b1684cebf7251f39a32e07f77c6b7 (diff)
downloadprofani-tty-3b3ffcfb3770a781a38a93d930df38f9d4a37c28.tar.gz
Added mock ui functions to tests
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/stub_ui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c
index 6127e4f0..d681ec15 100644
--- a/tests/ui/stub_ui.c
+++ b/tests/ui/stub_ui.c
@@ -178,6 +178,11 @@ int ui_win_unread(int index)
     return 0;
 }
 
+void ui_page_up(void) {}
+void ui_page_down(void) {}
+void ui_subwin_page_up(void) {}
+void ui_subwin_page_down(void) {}
+
 char * ui_ask_password(void)
 {
     return mock_ptr_type(char *);