Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | void 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 | | - |
11 | QDBusPendingCallPrivate::~QDBusPendingCallPrivate() | - |
12 | { | - |
13 | if (pendingTRUE | never evaluated | FALSE | evaluated 2797 times by 158 testsEvaluated 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 | | - |
20 | bool QDBusPendingCallPrivate::setReplyCallback(QObject *target, const char *member) | - |
21 | { | - |
22 | receiver = target; | - |
23 | metaTypes.clear(); | - |
24 | methodIdx = -1; | - |
25 | if (!targetTRUE | never evaluated | FALSE | evaluated 12 times by 4 testsEvaluated 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 (!memberTRUE | never evaluated | FALSE | evaluated 12 times by 4 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
|
|| !*memberTRUE | never evaluated | FALSE | evaluated 12 times by 4 testsEvaluated 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 == -1TRUE | never evaluated | FALSE | evaluated 12 times by 4 testsEvaluated 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 == -1TRUE | never evaluated | FALSE | evaluated 12 times by 4 testsEvaluated 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 == 1TRUE | evaluated 4 times by 3 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuspendingcall - unknown status
| FALSE | evaluated 8 times by 3 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusthreading - unknown status
|
&& metaTypes.at(1) == QDBusMetaTypeId::message()TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qdbuspendingcall - unknown status
|
) { | 2-8 |
54 | | - |
55 | returnexecuted 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()TRUE | never evaluated | FALSE | evaluated 10 times by 4 testsEvaluated 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 | returnexecuted 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 | | - |
65 | void QDBusPendingCallPrivate::setMetaTypes(int count, const int *types) | - |
66 | { | - |
67 | if (count == 0TRUE | evaluated 14 times by 5 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 274 times by 19 testsEvaluated 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 < countTRUE | evaluated 278 times by 19 testsEvaluated 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
| FALSE | evaluated 274 times by 19 testsEvaluated 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)TRUE | never evaluated | FALSE | evaluated 278 times by 19 testsEvaluated 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 | | - |
86 | void QDBusPendingCallPrivate::checkReceivedSignature() | - |
87 | { | - |
88 | | - |
89 | | - |
90 | if (replyMessage.type() == QDBusMessage::InvalidMessageTRUE | evaluated 43 times by 16 testsEvaluated 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
| FALSE | evaluated 2841 times by 158 testsEvaluated 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::ErrorMessageTRUE | evaluated 416 times by 29 testsEvaluated 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
- ...
| FALSE | evaluated 2425 times by 158 testsEvaluated 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()TRUE | evaluated 2195 times by 158 testsEvaluated 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
- ...
| FALSE | evaluated 230 times by 22 testsEvaluated 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) != 0TRUE | evaluated 9 times by 1 testEvaluated by:- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 221 times by 22 testsEvaluated 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 | | - |
110 | void QDBusPendingCallPrivate::waitForFinished() | - |
111 | { | - |
112 | QMutexLocker locker(&mutex); | - |
113 | | - |
114 | if (replyMessage.type() != QDBusMessage::InvalidMessageTRUE | evaluated 468 times by 34 testsEvaluated 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
- ...
| FALSE | evaluated 1252 times by 154 testsEvaluated 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 | | - |
124 | QDBusPendingCall::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 | | - |
132 | QDBusPendingCall::QDBusPendingCall(QDBusPendingCallPrivate *dd) | - |
133 | : d(dd) | - |
134 | { | - |
135 | if (ddTRUE | evaluated 131 times by 23 testsEvaluated 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
| FALSE | evaluated 278 times by 19 testsEvaluated 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 | | - |
148 | QDBusPendingCall::~QDBusPendingCall() | - |
149 | { | - |
150 | | - |
151 | } | - |
152 | QDBusPendingCall &QDBusPendingCall::operator=(const QDBusPendingCall &other) | - |
153 | { | - |
154 | d = other.d; | - |
155 | returnexecuted 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 | } | - |
157 | bool QDBusPendingCall::isFinished() const | - |
158 | { | - |
159 | if (!dTRUE | evaluated 2 times by 1 testEvaluated by:- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 66 times by 6 testsEvaluated 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 | returnexecuted 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 | returnexecuted 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 | | - |
166 | void QDBusPendingCall::waitForFinished() | - |
167 | { | - |
168 | if (dTRUE | evaluated 111 times by 22 testsEvaluated 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
| FALSE | evaluated 4 times by 2 testsEvaluated 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 |
170 | bool QDBusPendingCall::isValid() const | - |
171 | { | - |
172 | if (!dTRUE | evaluated 4 times by 1 testEvaluated by:- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 12 times by 3 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
) | 4-12 |
173 | returnexecuted 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 | returnexecuted 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 | } | - |
177 | bool QDBusPendingCall::isError() const | - |
178 | { | - |
179 | if (!dTRUE | evaluated 4 times by 1 testEvaluated by:- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 208 times by 22 testsEvaluated 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 | returnexecuted 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 | returnexecuted 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 | } | - |
184 | QDBusError QDBusPendingCall::error() const | - |
185 | { | - |
186 | if (dTRUE | evaluated 33 times by 6 testsEvaluated 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
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qdbusreply - unknown status
|
) { | 2-33 |
187 | QMutexLocker locker(&d->mutex); | - |
188 | returnexecuted 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 | returnexecuted 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 | } | - |
196 | QDBusMessage QDBusPendingCall::reply() const | - |
197 | { | - |
198 | if (!dTRUE | evaluated 2 times by 1 testEvaluated by:- tst_qdbusreply - unknown status
| FALSE | evaluated 40 times by 6 testsEvaluated 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 | returnexecuted 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 | returnexecuted 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 | } | - |
203 | QDBusPendingCall QDBusPendingCall::fromError(const QDBusError &error) | - |
204 | { | - |
205 | returnexecuted 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 | } | - |
207 | QDBusPendingCall QDBusPendingCall::fromCompletedCall(const QDBusMessage &msg) | - |
208 | { | - |
209 | QDBusPendingCallPrivate *d = 0; | - |
210 | if (msg.type() == QDBusMessage::ErrorMessageTRUE | evaluated 14 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | never evaluated |
|| | 0-14 |
211 | msg.type() == QDBusMessage::ReplyMessageTRUE | never evaluated | FALSE | never 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 | returnexecuted 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 | | - |
221 | class QDBusPendingCallWatcherPrivate: public QObjectPrivate | - |
222 | { | - |
223 | public: | - |
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 | | - |
229 | inline 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 | | - |
240 | QDBusPendingCallWatcher::QDBusPendingCallWatcher(const QDBusPendingCall &call, QObject *parent) | - |
241 | : QObject(*new QDBusPendingCallWatcherPrivate, parent), QDBusPendingCall(call) | - |
242 | { | - |
243 | if (dTRUE | evaluated 45 times by 18 testsEvaluated 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
| FALSE | never evaluated |
) { | 0-45 |
244 | QMutexLocker locker(&d->mutex); | - |
245 | if (!d->watcherHelperTRUE | evaluated 45 times by 18 testsEvaluated 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
| FALSE | never evaluated |
) { | 0-45 |
246 | d->watcherHelper = new QDBusPendingCallWatcherHelper; | - |
247 | if (d->replyMessage.type() != QDBusMessage::InvalidMessageTRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QNetworkAccessManager_And_QProgressDialog
- tst_qdbuspendingcall - unknown status
| FALSE | evaluated 40 times by 17 testsEvaluated 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 | | - |
261 | QDBusPendingCallWatcher::~QDBusPendingCallWatcher() | - |
262 | { | - |
263 | } | - |
264 | void QDBusPendingCallWatcher::waitForFinished() | - |
265 | { | - |
266 | if (dTRUE | evaluated 5 times by 1 testEvaluated by:- tst_qdbuspendingcall - unknown status
| FALSE | never 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 | | - |
| | |