blob: fbeb9bae1682ebf73bd281437bd592766c36f0b7 (
plain) (
tree)
|
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <glib/gstdio.h>
#include <check.h>
#include "check-helpers.h"
#include "check-libempathy.h"
#include <libempathy/empathy-chatroom-manager.h>
#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;
}
|