D-Bus unit tests

Thomas Sondergaard ts at medical-insight.com
Wed Nov 12 02:07:23 PST 2014


On 12-11-2014 10:45, Ralf Habacker wrote:
> Am 12.11.2014 um 10:32 schrieb Thomas Sondergaard:
>> with
>> http://dbus.freedesktop.org/doc/dbus-specification.html#meta-transports-autolaunch.
> According to the mentioned spec on windows you may set
>
> qputenv("DBUS_SESSION_BUS_ADDRESS", "autolaunch:<key>");
>
> with a unique string for <key> before running each test app. The dbus
> library will then check for the existance of a related dbus-damon and
> will autostart one, if not present.

Can you point to where that is in the document? I can't find it. If this 
solution is Windows-only, I can't really use it.

> Not sure yet if there is a "dbus-daemon build in" way to shut down such
> a running dbus-daemon after test finish.

OK.

Thanks
Thomas




More information about the dbus mailing list