aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check-empathy-chatroom.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:54:29 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:54:29 +0800
commita348a79dbdcb51c9936db250f529501bf3d232b5 (patch)
tree4ebf08f2c3dbab57adcb600c225027877dc7a114 /tests/check-empathy-chatroom.c
parent7efe482b09cb2709fc82d777827c0043d0035406 (diff)
downloadgsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar
gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.gz
gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.bz2
gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.lz
gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.xz
gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.zst
gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.zip
rename remove_account_from_gconf to destroy_test_account and destroy the account object in it
svn path=/trunk/; revision=1555
Diffstat (limited to 'tests/check-empathy-chatroom.c')
-rw-r--r--tests/check-empathy-chatroom.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/check-empathy-chatroom.c b/tests/check-empathy-chatroom.c
index f68803122..e0cb685cb 100644
--- a/tests/check-empathy-chatroom.c
+++ b/tests/check-empathy-chatroom.c
@@ -19,12 +19,6 @@ 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 (account);
-
return chatroom;
}
@@ -42,6 +36,7 @@ START_TEST (test_empathy_chatroom_new)
fail_if (auto_connect);
fail_if (favorite);
+ destroy_test_account (empathy_chatroom_get_account (chatroom));
g_object_unref (chatroom);
}
END_TEST
@@ -114,6 +109,7 @@ START_TEST (test_favorite_and_auto_connect)
fail_if (auto_connect);
fail_if (favorite);
+ destroy_test_account (empathy_chatroom_get_account (chatroom));
g_object_unref (chatroom);
}
END_TEST