Add infrastructure to run tests under GTestDBus
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 20 Mar 2013 10:36:26 +0000 (10:36 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 20 Mar 2013 11:48:25 +0000 (11:48 +0000)
commit49bc02747babed6d94119b2222c5072a9716d4af
tree91a3190b6963f0d2f103e2e084fa6cb97d5a1d7c
parenta11ff9059f13ed6a8158a2ffd18fd3bac62d65b3
Add infrastructure to run tests under GTestDBus

For now, all library TestCase subclasses except the one for key-files
override this back to "do nothing" and rely on being run under
with-session-bus.sh, because I haven't checked whether they survive
having the D-Bus session bus disconnected from under them.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=690830
Reviewed-by: Philip Withnall <philip@tecnocode.co.uk>
[added comments about the undesirable dbus-1 dependency -smcv]
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
configure.ac
tests/lib/Makefile.am
tests/lib/eds/test-case.vala
tests/lib/libsocialweb/test-case.vala
tests/lib/telepathy/test-case.vala
tests/lib/test-case-helper.c
tests/lib/test-case.vala
tests/lib/tracker/test-case.vala