Added common mock functions and fixed tests

This commit is contained in:
James Booth
2013-12-18 22:49:43 +00:00
parent 81909ef000
commit 00a475cf55
7 changed files with 284 additions and 125 deletions

10
tests/common_mocks.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef COMMON_MOCKS_H
#define COMMON_MOCKS_H
#include "xmpp/xmpp.h"
void mock_connection_status(jabber_conn_status_t status);
void mock_connection_account_name(char *name);
void expect_room_list_request(char *conf_server);
#endif