[Telepathy-commits] [telepathy-glib/master] fd.o#18207: don't work around the bug, recent changes have fixed it
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Feb 12 09:20:43 PST 2009
The test now seems to pass reliably, although the API is still made
of snakes.
---
tests/dbus/cm.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/tests/dbus/cm.c b/tests/dbus/cm.c
index d61bbe9..82a1c63 100644
--- a/tests/dbus/cm.c
+++ b/tests/dbus/cm.c
@@ -105,12 +105,9 @@ test_nothing_got_info (Test *test,
g_assert (error == NULL);
g_test_queue_unref (test->cm);
- /* Spin the mainloop until we get the got-info signal. This API is rubbish.
- * In particular, got-info isn't guaranteed to be emitted at all,
- * unless you call tp_connection_manager_activate (#18207). As a
- * workaround for that, you can call tp_connection_manager_activate. */
+ /* Spin the mainloop until we get the got-info signal. This API is rubbish,
+ * but it's better than it used to be... */
g_test_bug ("18207");
- tp_connection_manager_activate (test->cm);
id = g_signal_connect (test->cm, "got-info",
G_CALLBACK (on_got_info_expect_none), test);
g_main_loop_run (test->mainloop);
--
1.5.6.5
More information about the telepathy-commits
mailing list