Fix the gdbus-proxy async test
authorMike Gorse <mgorse@suse.com>
Thu, 26 Apr 2012 21:06:34 +0000 (16:06 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 Aug 2012 04:08:04 +0000 (00:08 -0400)
commit375943ea215871c0fe6d1d02e970cb2d71c8445c
tree483e1b0e0f5f8ddedb3740b34785595af20ff5c8
parentce976bcac7294e72b3e94dda17fe5dfb157770d4
Fix the gdbus-proxy async test

The async test had several problems:
- It created a proxy and did not launch a main loop, meaning that its
  callback would usually not get called, or, if it did get called, the
test harness would have taken down the connection already, causing an
assertion failure when the proxy had an error.
- It was dependent on the proxy test to set up the server and would fail
  because some properties were modified by that test.

https://bugzilla.gnome.org/show_bug.cgi?id=674805
gio/tests/gdbus-proxy.c