diff options
author | James Booth <boothj5@gmail.com> | 2014-01-30 23:15:39 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-01-30 23:15:39 +0000 |
commit | 0338d136e03fea2301b3386cfff346f852e5baef (patch) | |
tree | b588da8d14eb29849c1fd52d48aacc7c35da774c /tests/ui/mock_ui.c | |
parent | 12666b41e671b3daa98f66afc3127b3c718cde18 (diff) | |
download | profani-tty-0338d136e03fea2301b3386cfff346f852e5baef.tar.gz |
Added presence_error tests, added muc_close()
Diffstat (limited to 'tests/ui/mock_ui.c')
-rw-r--r-- | tests/ui/mock_ui.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/mock_ui.c b/tests/ui/mock_ui.c index feeed9db..a82ad1e7 100644 --- a/tests/ui/mock_ui.c +++ b/tests/ui/mock_ui.c @@ -109,6 +109,12 @@ void _mock_ui_handle_recipient_error(const char * const recipient, } static +void _stub_ui_handle_recipient_error(const char * const recipient, + const char * const err_msg) +{ +} + +static void _mock_ui_handle_recipient_not_found(const char * const recipient, const char * const err_msg) { @@ -195,6 +201,12 @@ stub_ui_handle_recipient_not_found(void) ui_handle_recipient_not_found = _stub_ui_handle_recipient_not_found; } +void +stub_ui_handle_recipient_error(void) +{ + ui_handle_recipient_error = _stub_ui_handle_recipient_error; +} + // expectations void |