aa83bacb14
On the unit test side, everything is sequential: we first ask for the connection, verify that it is connected, then ask the remote side via the session bus if it is connected. Unfortunately, the remote site may handle things in a different order: it may handle the incoming function call to "isConnected" before doing accept(2) on the listening socket. So, instead, make the local side block until the connection is received on the other side. On the remote, we don't block, instead we use the feature of delayed replies. Change-Id: Ie386938b8b39dd94a9d7e5913668125fb4a3c7da Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> |
||
---|---|---|
.. | ||
qpinger | ||
test | ||
interface.cpp | ||
interface.h | ||
org.qtproject.QtDBus.Pinger.xml | ||
qdbusabstractinterface.pro | ||
tst_qdbusabstractinterface.cpp |