[Telepathy-commits] [telepathy-qt4/master] CSH emits removing two contacts at once as two membersChanged signals - wait for two in the test accordingly
Olli Salli
olli.salli at collabora.co.uk
Thu Feb 12 09:06:03 PST 2009
---
tests/dbus/chan-group.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/dbus/chan-group.cpp b/tests/dbus/chan-group.cpp
index d719742..c06b5b7 100644
--- a/tests/dbus/chan-group.cpp
+++ b/tests/dbus/chan-group.cpp
@@ -471,6 +471,8 @@ void TestChanGroup::doTestCreateChannel()
mChan->groupRemoveContacts(toRemove, "I want to remove some of them");
// expect mary and another anonymous coward to be removed
+ // CSH emits these as two signals though, so waiting for one membersChanged isn't enough
+ QCOMPARE(mLoop->exec(), 0);
QCOMPARE(mLoop->exec(), 0);
expectedIds.clear();
--
1.5.6.5
More information about the telepathy-commits
mailing list