gdbus-exit-on-close test: cover more possibilities
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 18 Oct 2011 15:18:21 +0000 (16:18 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 19 Oct 2011 09:50:02 +0000 (10:50 +0100)
commitbe89f052c2f578a812d7bba4bbd02be04a4fdc03
tree8a5f957be345cba29a446df285a106a3e0b09c2e
parent5e0492da509aad12b93b732c449dae1a016367c1
gdbus-exit-on-close test: cover more possibilities

We didn't previously test anything except the implicit default of TRUE.
Now we test implicit TRUE, explicit TRUE, explicit FALSE, and
disconnecting at the local end (which regressed while fixing Bug #651268).

Also avoid some questionable use of a main context, which fell foul of
Bug #658999 and caused this test to be disabled in master.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
Bug-NB: NB#287088
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: David Zeuthen <davidz@redhat.com>
gio/tests/gdbus-exit-on-close.c