telepathy-qt: dbus-tubes: Check the address in the pending connection as well
Dario Freddi
drf at kemper.freedesktop.org
Tue Jul 3 15:08:45 PDT 2012
Module: telepathy-qt
Branch: master
Commit: 10d69cacd948b543e5b1376dcedf28a17ad2c811
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=10d69cacd948b543e5b1376dcedf28a17ad2c811
Author: Dario Freddi <dario.freddi at collabora.com>
Date: Fri Nov 11 00:28:26 2011 +0100
dbus-tubes: Check the address in the pending connection as well
---
tests/dbus/dbus-tube-chan.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tests/dbus/dbus-tube-chan.cpp b/tests/dbus/dbus-tube-chan.cpp
index ce963d9..a150eb3 100644
--- a/tests/dbus/dbus-tube-chan.cpp
+++ b/tests/dbus/dbus-tube-chan.cpp
@@ -143,6 +143,10 @@ void TestDBusTubeChan::expectPendingTubeConnectionFinished(PendingOperation *op)
PendingDBusTubeConnection *pdt = qobject_cast<PendingDBusTubeConnection*>(op);
mRequiresCredentials = pdt->requiresCredentials();
mCredentialByte = pdt->credentialByte();
+
+ // Check the addresses match
+ QCOMPARE(mChan->address(), pdt->address());
+
mLoop->exit(0);
}
More information about the telepathy-commits
mailing list