diff options
author | James Booth <boothj5@gmail.com> | 2014-12-16 23:00:05 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-16 23:00:05 +0000 |
commit | 48ec7b3b4753c265e6141b587fcadc3331a6812b (patch) | |
tree | 48e3507ef9d8b0787ba040b50f2170a4546e735c /tests/ui | |
parent | 0e7e931589404e4bc3e4cec0f1366c5c63f35d1d (diff) | |
download | profani-tty-48ec7b3b4753c265e6141b587fcadc3331a6812b.tar.gz |
Moved roster functions
Diffstat (limited to 'tests/ui')
-rw-r--r-- | tests/ui/mock_ui.c | 6 | ||||
-rw-r--r-- | tests/ui/mock_ui.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c index 17d58c04..f84ce2e2 100644 --- a/tests/ui/mock_ui.c +++ b/tests/ui/mock_ui.c @@ -29,7 +29,7 @@ void _stub_cons_show(const char * const msg, ...) } static -void _stub_ui_roster(void) +void _stub_rosterwin_roster(void) { } @@ -206,9 +206,9 @@ stub_ui_chat_win_contact_online(void) } void -stub_ui_roster(void) +stub_rosterwin_roster(void) { - ui_roster = _stub_ui_roster; + rosterwin_roster = _stub_rosterwin_roster; } void diff --git a/tests/ui/mock_ui.h b/tests/ui/mock_ui.h index 99a460ac..7214ca52 100644 --- a/tests/ui/mock_ui.h +++ b/tests/ui/mock_ui.h @@ -10,7 +10,7 @@ #include "ui/window.h" void stub_cons_show(void); -void stub_ui_roster(void); +void stub_rosterwin_roster(void); void mock_cons_show(void); void expect_cons_show(char *output); |