Added stubbed implementations

This commit is contained in:
James Booth
2014-12-23 19:26:45 +00:00
parent 9d94ac5c63
commit 5be9ac3243
12 changed files with 769 additions and 33 deletions

View File

@@ -11,6 +11,16 @@
#include "helpers.h"
#include "config/preferences.h"
#include "ui/stub_ui.h"
#include "xmpp/stub_xmpp.h"
void
reset_mocks(void **state)
{
reset_ui_mocks();
reset_xmpp_mocks();
}
void create_config_dir(void **state)
{
setenv("XDG_CONFIG_HOME", "./tests/files/xdg_config_home", 1);