telepathy-qt: dbus-tubes: As the logic was already implemented, just enable the corresponding function to make testAcceptSuccess pass

Dario Freddi drf at kemper.freedesktop.org
Tue Jul 3 15:08:43 PDT 2012


Module: telepathy-qt
Branch: master
Commit: 5d92fa653ca321f35b8b7d1aca942766e1fe7896
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=5d92fa653ca321f35b8b7d1aca942766e1fe7896

Author: Dario Freddi <dario.freddi at collabora.com>
Date:   Fri Nov  4 19:51:14 2011 +0100

dbus-tubes: As the logic was already implemented, just enable the corresponding function to make testAcceptSuccess pass

---

 tests/dbus/dbus-tube-chan.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/dbus/dbus-tube-chan.cpp b/tests/dbus/dbus-tube-chan.cpp
index 24427c2..a113b10 100644
--- a/tests/dbus/dbus-tube-chan.cpp
+++ b/tests/dbus/dbus-tube-chan.cpp
@@ -420,7 +420,7 @@ void TestDBusTubeChan::testAcceptFail()
     QCOMPARE(mChan->state(), TubeChannelStateLocalPending);
 
     /* when accept is called the channel will be closed service side */
-//     tp_tests_dbus_tube_channel_set_close_on_accept (mChanService, TRUE);
+    tp_tests_dbus_tube_channel_set_close_on_accept (mChanService, TRUE);
 
     /* calling accept should fail */
     IncomingDBusTubeChannelPtr chan = IncomingDBusTubeChannelPtr::qObjectCast(mChan);



More information about the telepathy-commits mailing list