summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Goldberg <george.goldberg@collabora.co.uk>2009-07-30 14:07:53 (GMT)
committerGeorge Goldberg <george.goldberg@collabora.co.uk>2009-07-30 14:12:37 (GMT)
commit1bb5d25173a7c62a276f675b460e39bce85c734d (patch)
tree3147eb4cdbc9c5382225af9a36383539e6d41043
parent1c2c75f7dc73412c47006ef5a739354a82ce331e (diff)
downloadtelepathy-qt4-1bb5d25173a7c62a276f675b460e39bce85c734d.tar.gz
telepathy-qt4-1bb5d25173a7c62a276f675b460e39bce85c734d.tar.xz
Add a check to the pinocchio/cm-basics unit tests for Bug 23040.
-rw-r--r--tests/pinocchio/cm-basics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pinocchio/cm-basics.cpp b/tests/pinocchio/cm-basics.cpp
index 0c70be4..fc9d447 100644
--- a/tests/pinocchio/cm-basics.cpp
+++ b/tests/pinocchio/cm-basics.cpp
@@ -51,6 +51,8 @@ void TestCmBasics::onListNames(Tp::PendingOperation *operation)
{
Tp::PendingStringList *p = static_cast<Tp::PendingStringList*>(operation);
QCOMPARE(p->result().contains("pinocchio"), QBool(true));
+ // Check for bug 23040: Running Connection Managers appear twice in ConnectionManager::listNames().
+ QCOMPARE(p->result().count("pinocchio"), 1);
mLoop->exit(0);
}