empathy r1549 - trunk/tests
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1549 - trunk/tests
- Date: Mon, 13 Oct 2008 07:54:06 +0000 (UTC)
Author: xclaesse
Date: Mon Oct 13 07:54:05 2008
New Revision: 1549
URL: http://svn.gnome.org/viewvc/empathy?rev=1549&view=rev
Log:
fake the profile and the CM for tests
Added:
trunk/tests/test.manager
trunk/tests/test.profile
Modified:
trunk/tests/Makefile.am
trunk/tests/check-empathy-chatroom.c
Modified: trunk/tests/Makefile.am
==============================================================================
--- trunk/tests/Makefile.am (original)
+++ trunk/tests/Makefile.am Mon Oct 13 07:54:05 2008
@@ -51,4 +51,6 @@
@CHECK_CFLAGS@ \
$(AM_CFLAGS)
-TESTS_ENVIRONMENT = EMPATHY_SRCDIR= abs_top_srcdir@
+TESTS_ENVIRONMENT = EMPATHY_SRCDIR= abs_top_srcdir@ \
+ MC_PROFILE_DIR= abs_top_srcdir@/tests \
+ MC_MANAGER_DIR= abs_top_srcdir@/tests
Modified: trunk/tests/check-empathy-chatroom.c
==============================================================================
--- trunk/tests/check-empathy-chatroom.c (original)
+++ trunk/tests/check-empathy-chatroom.c Mon Oct 13 07:54:05 2008
@@ -15,8 +15,7 @@
McAccount *account;
EmpathyChatroom *chatroom;
- /* FIXME: we should fake the profile */
- profile = mc_profile_lookup ("jabber");
+ profile = mc_profile_lookup ("test");
account = mc_account_create (profile);
chatroom = empathy_chatroom_new (account);
fail_if (chatroom == NULL);
Added: trunk/tests/test.manager
==============================================================================
--- (empty file)
+++ trunk/tests/test.manager Mon Oct 13 07:54:05 2008
@@ -0,0 +1,5 @@
+[ConnectionManager]
+BusName=org.freedesktop.Telepathy.ConnectionManager.test
+ObjectPath=/org/freedesktop/Telepathy/ConnectionManager/test
+
+[Protocol test]
Added: trunk/tests/test.profile
==============================================================================
--- (empty file)
+++ trunk/tests/test.profile Mon Oct 13 07:54:05 2008
@@ -0,0 +1,4 @@
+[Profile]
+Manager = test
+Protocol = test
+DisplayName = test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]