[next] telepathy-glib: call-cancellation and disconnection tests: don' t dispose DBusGProxy

Simon McVittie smcv at kemper.freedesktop.org
Fri Mar 14 12:02:34 PDT 2014


Module: telepathy-glib
Branch: next
Commit: bb9a39a0658a9e41e221b857fa7ccaf1d72242e1
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=bb9a39a0658a9e41e221b857fa7ccaf1d72242e1

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Mar 12 09:30:47 2014 +0000

call-cancellation and disconnection tests: don't dispose DBusGProxy

Using g_object_run_dispose() to force the DBusGProxy to be disposed
was really exploiting an implementation detail of dbus-glib, and
GDBus doesn't have an equivalent. To keep this test working
after porting to GDBus, we need to do it properly, by having a private
D-Bus connection and closing it.

---

 tests/dbus/call-cancellation.c |   83 +++++++++++++++++++++++-----------
 tests/dbus/disconnection.c     |   97 +++++++++++++++++++++++++---------------
 2 files changed, 120 insertions(+), 60 deletions(-)

Diff:   http://cgit.freedesktop.org/telepathy/telepathy-glib/diff/?id=bb9a39a0658a9e41e221b857fa7ccaf1d72242e1


More information about the telepathy-commits mailing list