diff options
author | James Booth <boothj5@gmail.com> | 2013-12-22 22:14:15 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-12-22 22:14:15 +0000 |
commit | 5a5b1340aa799ee1d56961123a4770ebadb287bc (patch) | |
tree | 0d1d83b050d09082086fcd563ab1c83c6f36c2b9 /tests/ui/mock_ui.h | |
parent | d56f6dc39b002e16966354b0ad98cf7801260e0c (diff) | |
download | profani-tty-5a5b1340aa799ee1d56961123a4770ebadb287bc.tar.gz |
Dynamically load UI functions, fixed tests
Diffstat (limited to 'tests/ui/mock_ui.h')
-rw-r--r-- | tests/ui/mock_ui.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/mock_ui.h b/tests/ui/mock_ui.h index 76d15614..2833be29 100644 --- a/tests/ui/mock_ui.h +++ b/tests/ui/mock_ui.h @@ -11,4 +11,17 @@ void mock_cons_show(void); void expect_cons_show(char *output); void expect_cons_show_calls(int n); +void mock_cons_show_error(void); +void expect_cons_show_error(char *output); + +void mock_cons_show_account(void); +void expect_cons_show_account(ProfAccount *account); + +void mock_cons_show_account_list(void); +void expect_cons_show_account_list(gchar **accounts); + +void stub_ui_ask_password(void); +void mock_ui_ask_password(void); +void mock_ui_ask_password_returns(char *password); + #endif |