qdbuspendingcall.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbuspendingcall.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6void QDBusPendingCallWatcherHelper::add(QDBusPendingCallWatcher *watcher)-
7{-
8 connect(this, qFlagLocation("2""finished()" "\0" __FILE__ ":" "131"), watcher, qFlagLocation("1""_q_finished()" "\0" __FILE__ ":" "131"), Qt::QueuedConnection);-
9}
executed 45 times by 18 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
45
10-
11QDBusPendingCallPrivate::~QDBusPendingCallPrivate()-
12{-
13 if (pending
pendingDescription
TRUEnever evaluated
FALSEevaluated 2797 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
) {
0-2797
14 q_dbus_pending_call_cancel(pending);-
15 q_dbus_pending_call_unref(pending);-
16 }
never executed: end of block
0
17 delete watcherHelper;-
18}
executed 2797 times by 158 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
2797
19-
20bool QDBusPendingCallPrivate::setReplyCallback(QObject *target, const char *member)-
21{-
22 receiver = target;-
23 metaTypes.clear();-
24 methodIdx = -1;-
25 if (!target
!targetDescription
TRUEnever evaluated
FALSEevaluated 12 times by 4 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
)
0-12
26 return
never executed: return true;
true;
never executed: return true;
;
0
27-
28 if (!member
!memberDescription
TRUEnever evaluated
FALSEevaluated 12 times by 4 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
|| !*member
!*memberDescription
TRUEnever evaluated
FALSEevaluated 12 times by 4 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
) {
0-12
29-
30 QMessageLogger(__FILE__, 153, __PRETTY_FUNCTION__).warning("QDBusPendingCall::setReplyCallback: error: cannot deliver a reply to %s::%s (%s)",-
31 target ? target->metaObject()->className() : "(null)",-
32 member ? member + 1 : "(null)",-
33 target ? QString(target->objectName()).toLocal8Bit().constData() : "no name");-
34 return
never executed: return false;
false;
never executed: return false;
0
35 }-
36-
37 methodIdx = QDBusConnectionPrivate::findSlot(target, member + 1, metaTypes);-
38 if (methodIdx == -1
methodIdx == -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 4 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
) {
0-12
39 QByteArray normalizedName = QMetaObject::normalizedSignature(member + 1);-
40 methodIdx = QDBusConnectionPrivate::findSlot(target, normalizedName, metaTypes);-
41 }
never executed: end of block
0
42 if (methodIdx == -1
methodIdx == -1Description
TRUEnever evaluated
FALSEevaluated 12 times by 4 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
) {
0-12
43-
44 QMessageLogger(__FILE__, 167, __PRETTY_FUNCTION__).warning("QDBusPendingCall::setReplyCallback: error: cannot deliver a reply to %s::%s (%s)",-
45 target->metaObject()->className(),-
46 member + 1, QString(target->objectName()).toLocal8Bit().constData());-
47 return
never executed: return false;
false;
never executed: return false;
0
48 }-
49-
50-
51-
52 int count = metaTypes.count() - 1;-
53 if (count == 1
count == 1Description
TRUEevaluated 4 times by 3 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
FALSEevaluated 8 times by 3 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusthreading - unknown status
&& metaTypes.at(1) == QDBusMetaTypeId::message()
metaTypes.at(1...eId::message()Description
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbuspendingcall - unknown status
) {
2-8
54-
55 return
executed 2 times by 2 tests: return true;
Executed by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
true;
executed 2 times by 2 tests: return true;
Executed by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
2
56 }-
57-
58 if (metaTypes.at(count) == QDBusMetaTypeId::message()
metaTypes.at(c...eId::message()Description
TRUEnever evaluated
FALSEevaluated 10 times by 4 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
)
0-10
59 --
never executed: --count;
count;
never executed: --count;
0
60-
61 setMetaTypes(count, count ? metaTypes.constData() + 1 : 0);-
62 return
executed 10 times by 4 tests: return true;
Executed by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
true;
executed 10 times by 4 tests: return true;
Executed by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusthreading - unknown status
10
63}-
64-
65void QDBusPendingCallPrivate::setMetaTypes(int count, const int *types)-
66{-
67 if (count == 0
count == 0Description
TRUEevaluated 14 times by 5 tests
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusthreading - unknown status
FALSEevaluated 274 times by 19 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
) {
14-274
68 expectedReplySignature = QLatin1String("");-
69 return;
executed 14 times by 5 tests: return;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusthreading - unknown status
14
70 }-
71-
72 QByteArray sig;-
73 sig.reserve(count + count / 2);-
74 for (int i = 0; i < count
i < countDescription
TRUEevaluated 278 times by 19 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 274 times by 19 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
; ++i) {
274-278
75 const char *typeSig = QDBusMetaType::typeToSignature(types[i]);-
76 if (__builtin_expect(!!(!typeSig), false)
__builtin_expe...peSig), false)Description
TRUEnever evaluated
FALSEevaluated 278 times by 19 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
) {
0-278
77 QMessageLogger(__FILE__, 200, __PRETTY_FUNCTION__).fatal("QDBusPendingReply: type %s is not registered with QtDBus",-
78 QMetaType::typeName(types[i]));-
79 }
never executed: end of block
0
80 sig += typeSig;-
81 }
executed 278 times by 19 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
278
82-
83 expectedReplySignature = QString::fromLatin1(sig);-
84}
executed 274 times by 19 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
274
85-
86void QDBusPendingCallPrivate::checkReceivedSignature()-
87{-
88-
89-
90 if (replyMessage.type() == QDBusMessage::InvalidMessage
replyMessage.t...InvalidMessageDescription
TRUEevaluated 43 times by 16 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
FALSEevaluated 2841 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
43-2841
91 return;
executed 43 times by 16 tests: return;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
43
92-
93 if (replyMessage.type() == QDBusMessage::ErrorMessage
replyMessage.t...::ErrorMessageDescription
TRUEevaluated 416 times by 29 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QSystemTrayIcon
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
FALSEevaluated 2425 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
416-2425
94 return;
executed 416 times by 29 tests: return;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QSystemTrayIcon
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuscontext - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • ...
416
95-
96 if (expectedReplySignature.isNull()
expectedReplyS...ature.isNull()Description
TRUEevaluated 2195 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
FALSEevaluated 230 times by 22 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusthreading - unknown status
)
230-2195
97 return;
executed 2195 times by 158 tests: return;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
2195
98-
99-
100 if (replyMessage.signature().indexOf(expectedReplySignature) != 0
replyMessage.s...ignature) != 0Description
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 221 times by 22 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusthreading - unknown status
) {
9-221
101 QString errorMsg = QLatin1String("Unexpected reply signature: got \"%1\", "-
102 "expected \"%2\"");-
103 replyMessage = QDBusMessage::createError(-
104 QDBusError::InvalidSignature,-
105 errorMsg.arg(replyMessage.signature(), expectedReplySignature));-
106-
107 }
executed 9 times by 1 test: end of block
Executed by:
  • tst_qdbuspendingreply - unknown status
9
108}
executed 230 times by 22 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusthreading - unknown status
230
109-
110void QDBusPendingCallPrivate::waitForFinished()-
111{-
112 QMutexLocker locker(&mutex);-
113-
114 if (replyMessage.type() != QDBusMessage::InvalidMessage
replyMessage.t...InvalidMessageDescription
TRUEevaluated 468 times by 34 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QLayout
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMenuBar
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QSystemTrayIcon
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • ...
FALSEevaluated 1252 times by 154 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
468-1252
115 return;
executed 468 times by 34 tests: return;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QApplication
  • tst_QFtp
  • tst_QGuiApplication
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QLayout
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMenuBar
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QSystemTrayIcon
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • ...
468
116-
117 waitForFinishedCondition.wait(&mutex);-
118}
executed 1252 times by 154 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
1252
119-
120-
121-
122-
123-
124QDBusPendingCall::QDBusPendingCall(const QDBusPendingCall &other)-
125 : d(other.d)-
126{-
127}
executed 75 times by 20 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbusreply - unknown status
75
128-
129-
130-
131-
132QDBusPendingCall::QDBusPendingCall(QDBusPendingCallPrivate *dd)-
133 : d(dd)-
134{-
135 if (dd
ddDescription
TRUEevaluated 131 times by 23 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 278 times by 19 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
) {
131-278
136 bool r = dd->ref.deref();-
137 ((!(r)) ? qt_assert("r",__FILE__,260) : qt_noop());-
138 (void)r;;-
139 }
executed 131 times by 23 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
131
140}
executed 409 times by 24 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
409
141-
142-
143-
144-
145-
146-
147-
148QDBusPendingCall::~QDBusPendingCall()-
149{-
150-
151}-
152QDBusPendingCall &QDBusPendingCall::operator=(const QDBusPendingCall &other)-
153{-
154 d = other.d;-
155 return
executed 103 times by 18 tests: return *this;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingreply - unknown status
*this;
executed 103 times by 18 tests: return *this;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbuspendingreply - unknown status
103
156}-
157bool QDBusPendingCall::isFinished() const-
158{-
159 if (!d
!dDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 66 times by 6 tests
Evaluated by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
)
2-66
160 return
executed 2 times by 1 test: return true;
Executed by:
  • tst_qdbuspendingreply - unknown status
true;
executed 2 times by 1 test: return true;
Executed by:
  • tst_qdbuspendingreply - unknown status
2
161-
162 QMutexLocker locker(&d->mutex);-
163 return
executed 66 times by 6 tests: return d->replyMessage.type() != QDBusMessage::InvalidMessage;
Executed by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
d->replyMessage.type() != QDBusMessage::InvalidMessage;
executed 66 times by 6 tests: return d->replyMessage.type() != QDBusMessage::InvalidMessage;
Executed by:
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
66
164}-
165-
166void QDBusPendingCall::waitForFinished()-
167{-
168 if (d
dDescription
TRUEevaluated 111 times by 22 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
) d->waitForFinished();
executed 111 times by 22 tests: d->waitForFinished();
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
4-111
169}
executed 115 times by 23 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
115
170bool QDBusPendingCall::isValid() const-
171{-
172 if (!d
!dDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
)
4-12
173 return
executed 4 times by 1 test: return false;
Executed by:
  • tst_qdbuspendingreply - unknown status
false;
executed 4 times by 1 test: return false;
Executed by:
  • tst_qdbuspendingreply - unknown status
4
174 QMutexLocker locker(&d->mutex);-
175 return
executed 12 times by 3 tests: return d->replyMessage.type() == QDBusMessage::ReplyMessage;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
d->replyMessage.type() == QDBusMessage::ReplyMessage;
executed 12 times by 3 tests: return d->replyMessage.type() == QDBusMessage::ReplyMessage;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
12
176}-
177bool QDBusPendingCall::isError() const-
178{-
179 if (!d
!dDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 208 times by 22 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
)
4-208
180 return
executed 4 times by 1 test: return true;
Executed by:
  • tst_qdbuspendingreply - unknown status
true;
executed 4 times by 1 test: return true;
Executed by:
  • tst_qdbuspendingreply - unknown status
4
181 QMutexLocker locker(&d->mutex);-
182 return
executed 208 times by 22 tests: return d->replyMessage.type() == QDBusMessage::ErrorMessage;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
d->replyMessage.type() == QDBusMessage::ErrorMessage;
executed 208 times by 22 tests: return d->replyMessage.type() == QDBusMessage::ErrorMessage;
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
208
183}-
184QDBusError QDBusPendingCall::error() const-
185{-
186 if (d
dDescription
TRUEevaluated 33 times by 6 tests
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbusreply - unknown status
) {
2-33
187 QMutexLocker locker(&d->mutex);-
188 return
executed 33 times by 6 tests: return QDBusError(d->replyMessage);
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
QDBusError(d->replyMessage);
executed 33 times by 6 tests: return QDBusError(d->replyMessage);
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuspendingcall - unknown status
  • tst_qdbuspendingreply - unknown status
33
189 }-
190-
191-
192 QDBusError err = QDBusError(QDBusError::Disconnected,-
193 QDBusUtil::disconnectedErrorMessage());-
194 return
executed 2 times by 1 test: return err;
Executed by:
  • tst_qdbusreply - unknown status
err;
executed 2 times by 1 test: return err;
Executed by:
  • tst_qdbusreply - unknown status
2
195}-
196QDBusMessage QDBusPendingCall::reply() const-
197{-
198 if (!d
!dDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbusreply - unknown status
FALSEevaluated 40 times by 6 tests
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
)
2-40
199 return
executed 2 times by 1 test: return QDBusMessage::createError(error());
Executed by:
  • tst_qdbusreply - unknown status
QDBusMessage::createError(error());
executed 2 times by 1 test: return QDBusMessage::createError(error());
Executed by:
  • tst_qdbusreply - unknown status
2
200 QMutexLocker locker(&d->mutex);-
201 return
executed 40 times by 6 tests: return d->replyMessage;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
d->replyMessage;
executed 40 times by 6 tests: return d->replyMessage;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbuspendingcall - unknown status
40
202}-
203QDBusPendingCall QDBusPendingCall::fromError(const QDBusError &error)-
204{-
205 return
executed 14 times by 1 test: return fromCompletedCall(QDBusMessage::createError(error));
Executed by:
  • tst_qdbusabstractinterface - unknown status
fromCompletedCall(QDBusMessage::createError(error));
executed 14 times by 1 test: return fromCompletedCall(QDBusMessage::createError(error));
Executed by:
  • tst_qdbusabstractinterface - unknown status
14
206}-
207QDBusPendingCall QDBusPendingCall::fromCompletedCall(const QDBusMessage &msg)-
208{-
209 QDBusPendingCallPrivate *d = 0;-
210 if (msg.type() == QDBusMessage::ErrorMessage
msg.type() == ...::ErrorMessageDescription
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
FALSEnever evaluated
||
0-14
211 msg.type() == QDBusMessage::ReplyMessage
msg.type() == ...::ReplyMessageDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
212 d = new QDBusPendingCallPrivate(QDBusMessage(), 0);-
213 d->replyMessage = msg;-
214 d->ref.store(1);-
215 }
executed 14 times by 1 test: end of block
Executed by:
  • tst_qdbusabstractinterface - unknown status
14
216-
217 return
executed 14 times by 1 test: return QDBusPendingCall(d);
Executed by:
  • tst_qdbusabstractinterface - unknown status
QDBusPendingCall(d);
executed 14 times by 1 test: return QDBusPendingCall(d);
Executed by:
  • tst_qdbusabstractinterface - unknown status
14
218}-
219-
220-
221class QDBusPendingCallWatcherPrivate: public QObjectPrivate-
222{-
223public:-
224 void _q_finished();-
225-
226 inline QDBusPendingCallWatcher* q_func() { return static_cast<QDBusPendingCallWatcher *>(q_ptr); } inline const QDBusPendingCallWatcher* q_func() const { return static_cast<const QDBusPendingCallWatcher *>(q_ptr); } friend class QDBusPendingCallWatcher;-
227};-
228-
229inline void QDBusPendingCallWatcherPrivate::_q_finished()-
230{-
231 QDBusPendingCallWatcher * const q = q_func();-
232 q->finished(q);-
233}
executed 9 times by 2 tests: end of block
Executed by:
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
9
234-
235-
236-
237-
238-
239-
240QDBusPendingCallWatcher::QDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent)-
241 : QObject(*new QDBusPendingCallWatcherPrivate, parent), QDBusPendingCall(call)-
242{-
243 if (d
dDescription
TRUEevaluated 45 times by 18 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
FALSEnever evaluated
) {
0-45
244 QMutexLocker locker(&d->mutex);-
245 if (!d->watcherHelper
!d->watcherHelperDescription
TRUEevaluated 45 times by 18 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
FALSEnever evaluated
) {
0-45
246 d->watcherHelper = new QDBusPendingCallWatcherHelper;-
247 if (d->replyMessage.type() != QDBusMessage::InvalidMessage
d->replyMessag...InvalidMessageDescription
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_qdbuspendingcall - unknown status
FALSEevaluated 40 times by 17 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
) {
5-40
248-
249 QMetaObject::invokeMethod(d->watcherHelper, "finished", Qt::QueuedConnection);-
250 }
executed 5 times by 2 tests: end of block
Executed by:
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_qdbuspendingcall - unknown status
5
251 }
executed 45 times by 18 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
45
252 d->watcherHelper->add(this);-
253 }
executed 45 times by 18 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
45
254}
executed 45 times by 18 tests: end of block
Executed by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbuspendingcall - unknown status
45
255-
256-
257-
258-
259-
260-
261QDBusPendingCallWatcher::~QDBusPendingCallWatcher()-
262{-
263}-
264void QDBusPendingCallWatcher::waitForFinished()-
265{-
266 if (d
dDescription
TRUEevaluated 5 times by 1 test
Evaluated by:
  • tst_qdbuspendingcall - unknown status
FALSEnever evaluated
) {
0-5
267 d->waitForFinished();-
268-
269-
270 QCoreApplication::sendPostedEvents(d->watcherHelper, QEvent::MetaCall);-
271 QCoreApplication::sendPostedEvents(this, QEvent::MetaCall);-
272 }
executed 5 times by 1 test: end of block
Executed by:
  • tst_qdbuspendingcall - unknown status
5
273}
executed 5 times by 1 test: end of block
Executed by:
  • tst_qdbuspendingcall - unknown status
5
274-
275-
276-
277-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9