[Telepathy-commits] [telepathy-glib/master] tests/dbus/channel-introspect.c: assert that the fast paths involving Properties actually make fewer round-trips like we would hope

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Nov 28 07:05:11 PST 2008


---
 tests/dbus/channel-introspect.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/tests/dbus/channel-introspect.c b/tests/dbus/channel-introspect.c
index cdd1101..59eb818 100644
--- a/tests/dbus/channel-introspect.c
+++ b/tests/dbus/channel-introspect.c
@@ -233,11 +233,10 @@ main (int argc,
 
   MYASSERT (tp_channel_run_until_ready (chan, &error, NULL), "");
   MYASSERT_NO_ERROR (error);
-  /* FIXME: enable this when the Properties fast-path works
   MYASSERT_SAME_UINT (service_props_chan->get_handle_called, 0);
-  MYASSERT_SAME_UINT (service_props_chan->get_interfaces_called, 0);
   MYASSERT_SAME_UINT (service_props_chan->get_channel_type_called, 0);
-  */
+  /* FIXME: with an improved fast-path we could avoid this one too */
+  /* MYASSERT_SAME_UINT (service_props_chan->get_interfaces_called, 0); */
 
   assert_chan_sane (chan, handle);
 
@@ -284,11 +283,10 @@ main (int argc,
 
   MYASSERT (tp_channel_run_until_ready (chan, &error, NULL), "");
   MYASSERT_NO_ERROR (error);
-  /* FIXME: enable this when the Properties based fast-path works
   MYASSERT_SAME_UINT (service_chan->get_handle_called, 0);
-  MYASSERT_SAME_UINT (service_chan->get_interfaces_called, 0);
   MYASSERT_SAME_UINT (service_chan->get_channel_type_called, 0);
-  */
+  /* FIXME: with an improved fast-path we could avoid this one too maybe? */
+  /* MYASSERT_SAME_UINT (service_chan->get_interfaces_called, 0); */
 
   assert_chan_sane (chan, handle);
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list