Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include <string.h> | - |
41 | | - |
42 | #ifndef QT_BOOTSTRAPPED | - |
43 | #include <QtCore/qcoreapplication.h> | - |
44 | #include <QtCore/qvariant.h> | - |
45 | #include <QtCore/qmetaobject.h> | - |
46 | | - |
47 | #include "qdbusutil_p.h" | - |
48 | #include "qdbusconnection_p.h" | - |
49 | #include "qdbusabstractadaptor_p.h" // for QCLASSINFO_DBUS_* | - |
50 | #endif | - |
51 | #include <QtCore/qvector.h> | - |
52 | #include "qdbusmetatype_p.h" | - |
53 | | - |
54 | #ifndef QT_NO_DBUS | - |
55 | | - |
56 | QT_BEGIN_NAMESPACE | - |
57 | | - |
58 | bool qDBusCheckAsyncTag(const char *tag) | - |
59 | { | - |
60 | static const char noReplyTag[] = "Q_NOREPLY"; | - |
61 | if (!tag || !*tag)TRUE | never evaluated | FALSE | evaluated 3570 times by 15 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
TRUE | evaluated 3569 times by 15 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
|
| 0-3570 |
62 | return false;executed 3569 times by 15 tests: return false; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 3569 |
63 | | - |
64 | const char *p = strstr(tag, noReplyTag); | - |
65 | if (p != NULL &&TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
| FALSE | never evaluated |
| 0-1 |
66 | (p == tag || *(p-1) == ' ') &&TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-1 |
67 | (p[sizeof noReplyTag - 1] == '\0' || p[sizeof noReplyTag - 1] == ' '))TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-1 |
68 | return true;executed 1 time by 1 test: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
| 1 |
69 | | - |
70 | return false; never executed: return false; | 0 |
71 | } | - |
72 | | - |
73 | #ifndef QT_BOOTSTRAPPED | - |
74 | | - |
75 | QString qDBusInterfaceFromMetaObject(const QMetaObject *mo) | - |
76 | { | - |
77 | QString interface; | - |
78 | | - |
79 | int idx = mo->indexOfClassInfo(QCLASSINFO_DBUS_INTERFACE); | - |
80 | if (idx >= mo->classInfoOffset()) {TRUE | evaluated 1977 times by 10 testsEvaluated by:- 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_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
| 6-1977 |
81 | interface = QLatin1String(mo->classInfo(idx).value()); | - |
82 | } else {executed 1977 times by 10 tests: end of block Executed by:- 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_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusthreading - unknown status
| 1977 |
83 | interface = QLatin1String(mo->className()); | - |
84 | interface.replace(QLatin1String("::"), QLatin1String(".")); | - |
85 | | - |
86 | if (interface.startsWith(QLatin1String("QDBus"))) {TRUE | never evaluated | FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
| 0-6 |
87 | interface.prepend(QLatin1String("org.qtproject.QtDBus.")); | - |
88 | } else if (interface.startsWith(QLatin1Char('Q')) && never executed: end of block TRUE | never evaluated | FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
| 0-6 |
89 | interface.length() >= 2 && interface.at(1).isUpper()) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
90 | | - |
91 | interface.prepend(QLatin1String("org.qtproject.Qt.")); | - |
92 | } else if (!QCoreApplication::instance()|| never executed: end of block TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qdbusconnection_no_app - unknown status
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
| 0-4 |
93 | QCoreApplication::instance()->applicationName().isEmpty()) {TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
| 0-4 |
94 | interface.prepend(QLatin1String("local.")); | - |
95 | } else {executed 2 times by 1 test: end of block Executed by:- tst_qdbusconnection_no_app - unknown status
| 2 |
96 | interface.prepend(QLatin1Char('.')).prepend(QCoreApplication::instance()->applicationName()); | - |
97 | const QString organizationDomain = QCoreApplication::instance()->organizationDomain(); | - |
98 | const auto domainName = organizationDomain.splitRef(QLatin1Char('.'), QString::SkipEmptyParts); | - |
99 | if (domainName.isEmpty()) {TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
| FALSE | never evaluated |
| 0-4 |
100 | interface.prepend(QLatin1String("local.")); | - |
101 | } else {executed 4 times by 2 tests: end of block Executed by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
| 4 |
102 | QString composedDomain; | - |
103 | | - |
104 | | - |
105 | composedDomain.reserve(organizationDomain.size() + 1); | - |
106 | for (auto it = domainName.rbegin(), end = domainName.rend(); it != end; ++it)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
107 | composedDomain += *it + QLatin1Char('.'); never executed: composedDomain += *it + QLatin1Char('.'); | 0 |
108 | | - |
109 | interface.prepend(composedDomain); | - |
110 | } never executed: end of block | 0 |
111 | } | - |
112 | } | - |
113 | | - |
114 | return interface;executed 1983 times by 10 tests: return interface; Executed by:- 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_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusthreading - unknown status
| 1983 |
115 | } | - |
116 | | - |
117 | bool qDBusInterfaceInObject(QObject *obj, const QString &interface_name) | - |
118 | { | - |
119 | const QMetaObject *mo = obj->metaObject(); | - |
120 | for ( ; mo != &QObject::staticMetaObject; mo = mo->superClass())TRUE | evaluated 941 times by 8 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusthreading - unknown status
| FALSE | never evaluated |
| 0-941 |
121 | if (interface_name == qDBusInterfaceFromMetaObject(mo))TRUE | evaluated 938 times by 8 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
| 3-938 |
122 | return true;executed 938 times by 8 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusthreading - unknown status
| 938 |
123 | return false; never executed: return false; | 0 |
124 | } | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | int qDBusParametersForMethod(const QMetaMethod &mm, QVector<int> &metaTypes, QString &errorMsg) | - |
139 | { | - |
140 | return qDBusParametersForMethod(mm.parameterTypes(), metaTypes, errorMsg);executed 4528 times by 177 tests: return qDBusParametersForMethod(mm.parameterTypes(), metaTypes, errorMsg); 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
- ...
| 4528 |
141 | } | - |
142 | | - |
143 | #endif // QT_BOOTSTRAPPED | - |
144 | | - |
145 | int qDBusParametersForMethod(const QList<QByteArray> ¶meterTypes, QVector<int>& metaTypes, QString &errorMsg) | - |
146 | { | - |
147 | QDBusMetaTypeId::init(); | - |
148 | metaTypes.clear(); | - |
149 | | - |
150 | metaTypes.append(0); | - |
151 | int inputCount = 0; | - |
152 | bool seenMessage = false; | - |
153 | QList<QByteArray>::ConstIterator it = parameterTypes.constBegin(); | - |
154 | QList<QByteArray>::ConstIterator end = parameterTypes.constEnd(); | - |
155 | for ( ; it != end; ++it) {TRUE | evaluated 10831 times by 176 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 5580 times by 177 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
- ...
|
| 5580-10831 |
156 | const QByteArray &type = *it; | - |
157 | if (type.endsWith('*')) {TRUE | evaluated 36 times by 16 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
| FALSE | evaluated 10795 times by 176 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
- ...
|
| 36-10795 |
158 | errorMsg = QLatin1String("Pointers are not supported: ") + QLatin1String(type); | - |
159 | return -1;executed 36 times by 16 tests: return -1; 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
| 36 |
160 | } | - |
161 | | - |
162 | if (type.endsWith('&')) {TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 10777 times by 176 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
- ...
|
| 18-10777 |
163 | QByteArray basictype = type; | - |
164 | basictype.truncate(type.length() - 1); | - |
165 | | - |
166 | int id = QMetaType::type(basictype); | - |
167 | if (id == 0) {TRUE | never evaluated | FALSE | evaluated 18 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
|
| 0-18 |
168 | errorMsg = QLatin1String("Unregistered output type in parameter list: ") + QLatin1String(type); | - |
169 | return -1; never executed: return -1; | 0 |
170 | } else if (QDBusMetaType::typeToSignature(id) == 0)TRUE | never evaluated | FALSE | evaluated 18 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
|
| 0-18 |
171 | return -1; never executed: return -1; | 0 |
172 | | - |
173 | metaTypes.append( id ); | - |
174 | seenMessage = true; | - |
175 | continue;executed 18 times by 4 tests: continue; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
| 18 |
176 | } | - |
177 | | - |
178 | if (seenMessage) { TRUE | never evaluated | FALSE | evaluated 10777 times by 176 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-10777 |
179 | errorMsg = QLatin1String("Invalid method, non-output parameters after message or after output parameters: ") + QLatin1String(type); | - |
180 | return -1; never executed: return -1; | 0 |
181 | } | - |
182 | | - |
183 | int id = QMetaType::type(type); | - |
184 | if (id == QMetaType::UnknownType) {TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbuslocalcalls - unknown status
| FALSE | evaluated 10771 times by 176 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
- ...
|
| 6-10771 |
185 | errorMsg = QLatin1String("Unregistered input type in parameter list: ") + QLatin1String(type); | - |
186 | return -1;executed 6 times by 2 tests: return -1; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbuslocalcalls - unknown status
| 6 |
187 | } | - |
188 | | - |
189 | if (id == QDBusMetaTypeId::message())TRUE | evaluated 434 times by 9 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| FALSE | evaluated 10337 times by 175 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
- ...
|
| 434-10337 |
190 | seenMessage = true;executed 434 times by 9 tests: seenMessage = true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| 434 |
191 | else if (QDBusMetaType::typeToSignature(id) == 0) {TRUE | never evaluated | FALSE | evaluated 10337 times by 175 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-10337 |
192 | errorMsg = QLatin1String("Type not registered with QtDBus in parameter list: ") + QLatin1String(type); | - |
193 | return -1; never executed: return -1; | 0 |
194 | } | - |
195 | | - |
196 | metaTypes.append(id); | - |
197 | ++inputCount; | - |
198 | }executed 10771 times by 176 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
- ...
| 10771 |
199 | | - |
200 | return inputCount;executed 5580 times by 177 tests: return inputCount; 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
- ...
| 5580 |
201 | } | - |
202 | | - |
203 | QT_END_NAMESPACE | - |
204 | | - |
205 | #endif // QT_NO_DBUS | - |
| | |