[telepathy-salut/master] Disable 1-1 stream tube for now

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Sep 9 08:11:53 PDT 2009


This reverts commit c0ffbbfc831e05f18fb45884842f254b4a5bf7ce.
---
 src/salut-connection.c                             |    4 ++++
 tests/twisted/avahi/test-caps-tubes.py             |    4 ++++
 .../avahi/tubes/test-offer-private-stream-tube.py  |    4 ++++
 tests/twisted/avahi/tubes/test-tube-close.py       |    7 ++++---
 .../avahi/tubes/test-two-private-stream-tubes.py   |    4 ++++
 .../avahi/tubes/tubes-to-nonexistant-ids.py        |    4 ++++
 6 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/src/salut-connection.c b/src/salut-connection.c
index d2c50a3..def49f8 100644
--- a/src/salut-connection.c
+++ b/src/salut-connection.c
@@ -3256,15 +3256,19 @@ salut_connection_create_channel_managers (TpBaseConnection *base)
   priv->roomlist_manager = salut_discovery_client_create_roomlist_manager (
       priv->discovery_client, self, priv->xmpp_connection_manager);
 
+#if 0
   priv->tubes_manager = salut_tubes_manager_new (self, priv->contact_manager,
       priv->xmpp_connection_manager);
+#endif
 
   g_ptr_array_add (managers, priv->im_manager);
   g_ptr_array_add (managers, priv->contact_manager);
   g_ptr_array_add (managers, priv->ft_manager);
   g_ptr_array_add (managers, priv->muc_manager);
   g_ptr_array_add (managers, priv->roomlist_manager);
+#if 0
   g_ptr_array_add (managers, priv->tubes_manager);
+#endif
 
   return managers;
 }
diff --git a/tests/twisted/avahi/test-caps-tubes.py b/tests/twisted/avahi/test-caps-tubes.py
index 48e55a9..ffc3438 100644
--- a/tests/twisted/avahi/test-caps-tubes.py
+++ b/tests/twisted/avahi/test-caps-tubes.py
@@ -49,6 +49,10 @@ from constants import *
 from caps_helper import compute_caps_hash, check_caps
 from config import PACKAGE_STRING
 
+print "FIXME: test-caps-tubes.py disabled because 1-1 tubes are disabled for now"
+# exiting 77 causes automake to consider the test to have been skipped
+raise SystemExit(77)
+
 text_fixed_properties = dbus.Dictionary({
     'org.freedesktop.Telepathy.Channel.TargetHandleType': 1L,
     'org.freedesktop.Telepathy.Channel.ChannelType':
diff --git a/tests/twisted/avahi/tubes/test-offer-private-stream-tube.py b/tests/twisted/avahi/tubes/test-offer-private-stream-tube.py
index 93fb011..b3d755a 100644
--- a/tests/twisted/avahi/tubes/test-offer-private-stream-tube.py
+++ b/tests/twisted/avahi/tubes/test-offer-private-stream-tube.py
@@ -37,6 +37,10 @@ sample_parameters = dbus.Dictionary({
 
 test_string = "This string travels on a tube !"
 
+print "FIXME: test-offer-private-stream-tube.py disabled because 1-1 tubes are disabled for now"
+# exiting 77 causes automake to consider the test to have been skipped
+raise SystemExit(77)
+
 def check_conn_properties(q, bus, conn, channel_list=None):
     properties = conn.GetAll(
             'org.freedesktop.Telepathy.Connection.Interface.Requests',
diff --git a/tests/twisted/avahi/tubes/test-tube-close.py b/tests/twisted/avahi/tubes/test-tube-close.py
index fe5bda7..9c190bd 100644
--- a/tests/twisted/avahi/tubes/test-tube-close.py
+++ b/tests/twisted/avahi/tubes/test-tube-close.py
@@ -23,9 +23,10 @@ HT_CONTACT_LIST = 3
 SOCKET_ADDRESS_TYPE_IPV4 = dbus.UInt32(2)
 SOCKET_ACCESS_CONTROL_LOCALHOST = dbus.UInt32(0)
 
-print "FIXME: test-tube-close.py disabled because sending a close stanza on "
-print "disconnection is not yet implemented in telepathy-salut. It requires "
-print "to ensure the XmppConnection and reestablish it"
+#print "FIXME: test-tube-close.py disabled because sending a close stanza on "
+#print "disconnection is not yet implemented in telepathy-salut. It requires "
+#print "to ensure the XmppConnection and reestablish it"
+print "FIXME: test-tube-close.py disabled because 1-1 tubes are disabled for now"
 # exiting 77 causes automake to consider the test to have been skipped
 raise SystemExit(77)
 
diff --git a/tests/twisted/avahi/tubes/test-two-private-stream-tubes.py b/tests/twisted/avahi/tubes/test-two-private-stream-tubes.py
index 965e442..13fdd7d 100644
--- a/tests/twisted/avahi/tubes/test-two-private-stream-tubes.py
+++ b/tests/twisted/avahi/tubes/test-two-private-stream-tubes.py
@@ -22,6 +22,10 @@ test_string = "This string travels on a tube !"
 
 SERVER_WELCOME_MSG = "Welcome!"
 
+print "FIXME: test-two-private-stream-tubes.py disabled because 1-1 tubes are disabled for now"
+# exiting 77 causes automake to consider the test to have been skipped
+raise SystemExit(77)
+
 def test(q, bus, conn):
 
     # define a basic tcp server that echoes what the client says, but with
diff --git a/tests/twisted/avahi/tubes/tubes-to-nonexistant-ids.py b/tests/twisted/avahi/tubes/tubes-to-nonexistant-ids.py
index 409c02c..b4da97f 100644
--- a/tests/twisted/avahi/tubes/tubes-to-nonexistant-ids.py
+++ b/tests/twisted/avahi/tubes/tubes-to-nonexistant-ids.py
@@ -16,6 +16,10 @@ import dbus
 
 arbitrary_ids = [ "DooN4Bei at TheeK6bo-Tegh4aci", "ahrui1iM at Dai6igho-ADetaes3" ]
 
+print "FIXME: test-to-nonexistant-ids.py disabled because 1-1 tubes are disabled for now"
+# exiting 77 causes automake to consider the test to have been skipped
+raise SystemExit(77)
+
 def test(q, bus, conn):
     conn.Connect()
     q.expect('dbus-signal', signal='StatusChanged', args=[0L, 0L])
-- 
1.5.6.5




More information about the telepathy-commits mailing list