aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:53:50 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:53:50 +0800
commit1f242f9e69c4d69303e110222f917953550012ca (patch)
treedea150236800e53f89a79c52bea7964cedfd32b8 /tests
parent6f3cc357f582c89cdd43af7fbf5e21350edaa2a6 (diff)
downloadgsoc2013-empathy-1f242f9e69c4d69303e110222f917953550012ca.tar
gsoc2013-empathy-1f242f9e69c4d69303e110222f917953550012ca.tar.gz
gsoc2013-empathy-1f242f9e69c4d69303e110222f917953550012ca.tar.bz2
gsoc2013-empathy-1f242f9e69c4d69303e110222f917953550012ca.tar.lz
gsoc2013-empathy-1f242f9e69c4d69303e110222f917953550012ca.tar.xz
gsoc2013-empathy-1f242f9e69c4d69303e110222f917953550012ca.tar.zst
gsoc2013-empathy-1f242f9e69c4d69303e110222f917953550012ca.zip
check-empathy-chatroom: unref and destroy the account
svn path=/trunk/; revision=1544
Diffstat (limited to 'tests')
-rw-r--r--tests/check-empathy-chatroom.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/check-empathy-chatroom.c b/tests/check-empathy-chatroom.c
index 5a696e7aa..fca2f1286 100644
--- a/tests/check-empathy-chatroom.c
+++ b/tests/check-empathy-chatroom.c
@@ -21,7 +21,12 @@ create_chatroom (void)
chatroom = empathy_chatroom_new (account);
fail_if (chatroom == NULL);
+ /* destroy the account as we don't have to add it to the accounts
+ * configuration */
+ /* FIXME: the account is not really removed */
+ mc_account_delete (account);
g_object_unref (profile);
+ g_object_unref (account);
return chatroom;
}
@@ -41,7 +46,6 @@ START_TEST (test_empathy_chatroom_new)
fail_if (favorite);
g_object_unref (chatroom);
- /* FIXME: unref the account ? */
}
END_TEST
@@ -114,7 +118,6 @@ START_TEST (test_favorite_and_auto_connect)
fail_if (favorite);
g_object_unref (chatroom);
- /* FIXME: unref the account ? */
}
END_TEST