diff options
Diffstat (limited to 'tests/config')
-rw-r--r-- | tests/config/mock_accounts.c | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/tests/config/mock_accounts.c b/tests/config/mock_accounts.c index de1d8b38..929a3b51 100644 --- a/tests/config/mock_accounts.c +++ b/tests/config/mock_accounts.c @@ -143,11 +143,36 @@ resource_presence_t accounts_get_last_presence(const char * const account_name) return (resource_presence_t)mock(); } -void accounts_set_priority_online(const char * const account_name, const gint value) {} -void accounts_set_priority_chat(const char * const account_name, const gint value) {} -void accounts_set_priority_away(const char * const account_name, const gint value) {} -void accounts_set_priority_xa(const char * const account_name, const gint value) {} -void accounts_set_priority_dnd(const char * const account_name, const gint value) {} +void accounts_set_priority_online(const char * const account_name, const gint value) +{ + check_expected(account_name); + check_expected(value); +} + +void accounts_set_priority_chat(const char * const account_name, const gint value) +{ + check_expected(account_name); + check_expected(value); +} + +void accounts_set_priority_away(const char * const account_name, const gint value) +{ + check_expected(account_name); + check_expected(value); +} + +void accounts_set_priority_xa(const char * const account_name, const gint value) +{ + check_expected(account_name); + check_expected(value); +} + +void accounts_set_priority_dnd(const char * const account_name, const gint value) +{ + check_expected(account_name); + check_expected(value); +} + void accounts_set_priority_all(const char * const account_name, const gint value) {} gint accounts_get_priority_for_presence_type(const char * const account_name, |