Added common mock functions and fixed tests
This commit is contained in:
10
tests/common_mocks.h
Normal file
10
tests/common_mocks.h
Normal 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
|
||||
Reference in New Issue
Block a user