telepathy-qt: Tests/ConferenceChannel: Fix comparison of unordered channels
Alexandr Akulich
kaffeine at kemper.freedesktop.org
Mon Nov 11 17:28:14 UTC 2019
Module: telepathy-qt
Branch: master
Commit: 93a7850d4568f9c420bb17bb6a9ae31ad0a3663a
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=93a7850d4568f9c420bb17bb6a9ae31ad0a3663a
Author: Alexander Akulich <akulichalexander at gmail.com>
Date: Sun Oct 27 19:09:46 2019 +0300
Tests/ConferenceChannel: Fix comparison of unordered channels
---
tests/dbus/chan-conference.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/dbus/chan-conference.cpp b/tests/dbus/chan-conference.cpp
index 1b074d6b..96c6f5af 100644
--- a/tests/dbus/chan-conference.cpp
+++ b/tests/dbus/chan-conference.cpp
@@ -162,10 +162,10 @@ void TestConferenceChan::testConference()
QCOMPARE(mLoop->exec(), 0);
QCOMPARE(mChan->isReady(), true);
- QStringList expectedObjectPaths;
+ QSet<QString> expectedObjectPaths;
expectedObjectPaths << mTextChan1Path << mTextChan2Path;
- QStringList objectPaths;
+ QSet<QString> objectPaths;
Q_FOREACH (const ChannelPtr &channel, mChan->conferenceInitialChannels()) {
objectPaths << channel->objectPath();
}
More information about the telepathy-commits
mailing list