summaryrefslogtreecommitdiff
path: root/test/loopback.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-03Tests: allow dbus-glib to be replaced with use of libdbus-internalSimon McVittie1-9/+14
We only use dbus-glib for its main loop; within dbus, DBusLoop is available as an alternative, although it isn't thread-safe and isn't public API. For tests that otherwise only use libdbus public API, it's desirable to be able to avoid DBusLoop, so we can run them against an installed libdbus as an integration test. However, if we don't have dbus-glib, we're going to have to use an in-tree main loop, which might as well be DBusLoop. The major disadvantage of using dbus-glib is that it isn't safe to link both dbus-1 and dbus-internal at the same time. This is awkward for a future test case that wants to use _dbus_getsid() in dbus-daemon.c, but only on Windows (fd.o #54445). If we use the same API wrapper around both dbus-glib and DBusLoop, we can compile that test against dbus-glib or against DBusLoop, depending on the platform. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68852 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
2013-08-23Add a test-case for trying to connect with the wrong GUIDSimon McVittie1-1/+67
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39720 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2011-06-10Fix copyright datesSimon McVittie1-1/+1
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
2011-06-10Test nonce-tcp transportSimon McVittie1-0/+5
Regression test for https://bugs.freedesktop.org/show_bug.cgi?id=34569 Reviewed-by: David Zeuthen <davidz@redhat.com> Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
2011-06-10loopback test: unref messages after useSimon McVittie1-0/+4
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
2011-06-10Add an end-to-end sanity check for TCP and Unix DBusServer/DBusConnectionSimon McVittie1-0/+202
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570