#include #include #include #include #include #include "check-helpers.h" #include "check-libempathy.h" #include #define CHATROOM_SAMPLE "chatrooms-sample.xml" #define CHATROOM_FILE "chatrooms.xml" START_TEST (test_empathy_chatroom_manager_new) { EmpathyChatroomManager *mgr; gchar *file; copy_xml_file (CHATROOM_SAMPLE, CHATROOM_FILE); file = get_xml_file (CHATROOM_FILE); mgr = empathy_chatroom_manager_new (file); g_free (file); g_object_unref (mgr); } END_TEST TCase * make_empathy_chatroom_manager_tcase (void) { TCase *tc = tcase_create ("empathy-chatroom-manager"); tcase_add_test (tc, test_empathy_chatroom_manager_new); return tc; }