]> git.0d.be Git - empathy.git/commitdiff
move xml/chatrooms.xml to xml/chatrooms-sample.xml
authorXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:53:56 +0000 (07:53 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:53:56 +0000 (07:53 +0000)
svn path=/trunk/; revision=1546

tests/check-empathy-chatroom-manager.c
tests/xml/chatrooms-sample.xml [new file with mode: 0644]
tests/xml/chatrooms.xml [deleted file]

index 1f5daaf16187b7e56bd513884cd313fd23745747..82cfa6df0fbf61d2589259138eb1d64bdbb5b901 100644 (file)
@@ -9,6 +9,9 @@
 
 #include <libempathy/empathy-chatroom-manager.h>
 
+#define CHATROOM_SAMPLE "chatrooms-sample.xml"
+#define CHATROOM_FILE "chatrooms.xml"
+
 static gchar *
 get_xml_file (const gchar *filename)
 {
@@ -21,7 +24,7 @@ START_TEST (test_empathy_chatroom_manager_new)
   EmpathyChatroomManager *mgr;
   gchar *file;
 
-  file = get_xml_file ("chatrooms.xml");
+  file = get_xml_file (CHATROOM_SAMPLE);
   mgr = empathy_chatroom_manager_new (file);
 
   g_free (file);
diff --git a/tests/xml/chatrooms-sample.xml b/tests/xml/chatrooms-sample.xml
new file mode 100644 (file)
index 0000000..57073b7
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?>
+<chatrooms/>
diff --git a/tests/xml/chatrooms.xml b/tests/xml/chatrooms.xml
deleted file mode 100644 (file)
index 57073b7..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<chatrooms/>