4 #include <glib/gstdio.h>
7 #include "check-helpers.h"
8 #include "check-libempathy.h"
10 #include <libempathy/empathy-chatroom-manager.h>
12 #define CHATROOM_SAMPLE "chatrooms-sample.xml"
13 #define CHATROOM_FILE "chatrooms.xml"
16 get_xml_file (const gchar *filename)
18 return g_build_filename (g_getenv ("EMPATHY_SRCDIR"), "tests", "xml",
22 START_TEST (test_empathy_chatroom_manager_new)
24 EmpathyChatroomManager *mgr;
27 file = get_xml_file (CHATROOM_SAMPLE);
28 mgr = empathy_chatroom_manager_new (file);
36 make_empathy_chatroom_manager_tcase (void)
38 TCase *tc = tcase_create ("empathy-chatroom-manager");
39 tcase_add_test (tc, test_empathy_chatroom_manager_new);