Mock otr module for cmd_otr tests

This commit is contained in:
James Booth
2014-02-16 19:14:15 +00:00
parent 6ef1174bf4
commit a21ab6d4c8
9 changed files with 144 additions and 49 deletions

View File

@@ -20,6 +20,9 @@
*
*/
#ifndef MOCK_ACCOUNTS_H
#define MOCK_ACCOUNTS_H
void mock_accounts_get_account(void);
void accounts_get_account_expect_and_return(const char * const name, ProfAccount *account);
void accounts_get_account_return(ProfAccount *account);
@@ -85,3 +88,5 @@ void accounts_set_login_presence_expect(char *account_name, char *presence);
void mock_accounts_get_last_presence(void);
void accounts_get_last_presence_return(resource_presence_t presence);
#endif