qt5base-lts/tests/auto/dbus
Thiago Macieira d2a98df9bc Make sure that signal disconnects don't disconnect too much
There has been a latent bug forever in QtDBus that would make a signal
disconnect actually disconnect too much. The reason is that
disconnectNotify() is called every time a signal is disconnected from
a receiver, but that doesn't mean it was the last connection.

This test checks whether disconnecting from voidSignal() to our test
receiver will also disconnect from exitLoop(). If it does, we'll get a
timeout. I could have implemented it with two receivers, but in the
buggy case, it would always fail first in the timeout verification.

Change-Id: I5766d8a38594eb25e65b304913251303660fad41
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
2013-03-19 07:03:17 +01:00
..
qdbusabstractadaptor Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbusabstractinterface Make sure that signal disconnects don't disconnect too much 2013-03-19 07:03:17 +01:00
qdbusconnection Merge remote-tracking branch 'origin/stable' into dev 2013-01-28 11:10:29 +01:00
qdbusconnection_no_bus Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbuscontext Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbusinterface Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbuslocalcalls Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbusmarshall Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbusmetaobject Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qdbusmetatype Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbuspendingcall Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbuspendingreply Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qdbusreply Add QDBusReply::error() const. 2013-03-01 09:39:23 +01:00
qdbusservicewatcher Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbusthreading Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbustype Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qdbusxmlparser Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
dbus.pro Merge branch 'master' into refactor 2011-09-12 07:49:03 +02:00