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 "qdbusargument_p.h" | - |
41 | #include "qdbusconnection.h" | - |
42 | #include "qdbusmetatype_p.h" | - |
43 | #include "qdbusutil_p.h" | - |
44 | | - |
45 | #ifndef QT_NO_DBUS | - |
46 | | - |
47 | QT_BEGIN_NAMESPACE | - |
48 | | - |
49 | static void qIterAppend(DBusMessageIter *it, QByteArray *ba, int type, const void *arg) | - |
50 | { | - |
51 | if (ba)TRUE | evaluated 2243 times by 24 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 3255 times by 156 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
- ...
|
| 2243-3255 |
52 | *ba += char(type);executed 2243 times by 24 tests: *ba += char(type); 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 2243 |
53 | else | - |
54 | q_dbus_message_iter_append_basic(it, type, arg);executed 3255 times by 156 tests: q_dbus_message_iter_append_basic(it, type, arg); 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
- ...
| 3255 |
55 | } | - |
56 | | - |
57 | QDBusMarshaller::~QDBusMarshaller() | - |
58 | { | - |
59 | close(); | - |
60 | }executed 9896 times by 161 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
- ...
| 9896 |
61 | | - |
62 | inline QString QDBusMarshaller::currentSignature() | - |
63 | { | - |
64 | if (message)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
65 | return QString::fromUtf8(q_dbus_message_get_signature(message)); never executed: return QString::fromUtf8(q_dbus_message_get_signature(message)); | 0 |
66 | return QString(); never executed: return QString(); | 0 |
67 | } | - |
68 | | - |
69 | inline void QDBusMarshaller::append(uchar arg) | - |
70 | { | - |
71 | if (!skipSignature)TRUE | evaluated 21 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-21 |
72 | qIterAppend(&iterator, ba, DBUS_TYPE_BYTE, &arg);executed 21 times by 1 test: qIterAppend(&iterator, ba, ((int) 'y'), &arg); Executed by:- tst_qdbusmarshall - unknown status
| 21 |
73 | }executed 21 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 21 |
74 | | - |
75 | inline void QDBusMarshaller::append(bool arg) | - |
76 | { | - |
77 | dbus_bool_t cast = arg; | - |
78 | if (!skipSignature)TRUE | evaluated 57 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-57 |
79 | qIterAppend(&iterator, ba, DBUS_TYPE_BOOLEAN, &cast);executed 57 times by 1 test: qIterAppend(&iterator, ba, ((int) 'b'), &cast); Executed by:- tst_qdbusmarshall - unknown status
| 57 |
80 | }executed 57 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 57 |
81 | | - |
82 | inline void QDBusMarshaller::append(short arg) | - |
83 | { | - |
84 | if (!skipSignature)TRUE | evaluated 43 times by 2 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-43 |
85 | qIterAppend(&iterator, ba, DBUS_TYPE_INT16, &arg);executed 43 times by 2 tests: qIterAppend(&iterator, ba, ((int) 'n'), &arg); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
| 43 |
86 | }executed 43 times by 2 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
| 43 |
87 | | - |
88 | inline void QDBusMarshaller::append(ushort arg) | - |
89 | { | - |
90 | if (!skipSignature)TRUE | evaluated 32 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-32 |
91 | qIterAppend(&iterator, ba, DBUS_TYPE_UINT16, &arg);executed 32 times by 1 test: qIterAppend(&iterator, ba, ((int) 'q'), &arg); Executed by:- tst_qdbusmarshall - unknown status
| 32 |
92 | }executed 32 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 32 |
93 | | - |
94 | inline void QDBusMarshaller::append(int arg) | - |
95 | { | - |
96 | if (!skipSignature)TRUE | evaluated 2022 times by 12 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | never evaluated |
| 0-2022 |
97 | qIterAppend(&iterator, ba, DBUS_TYPE_INT32, &arg);executed 2022 times by 12 tests: qIterAppend(&iterator, ba, ((int) 'i'), &arg); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 2022 |
98 | }executed 2022 times by 12 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 2022 |
99 | | - |
100 | inline void QDBusMarshaller::append(uint arg) | - |
101 | { | - |
102 | if (!skipSignature)TRUE | evaluated 78 times by 11 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_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusservicewatcher - unknown status
| FALSE | never evaluated |
| 0-78 |
103 | qIterAppend(&iterator, ba, DBUS_TYPE_UINT32, &arg);executed 78 times by 11 tests: qIterAppend(&iterator, ba, ((int) 'u'), &arg); 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_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusservicewatcher - unknown status
| 78 |
104 | }executed 78 times by 11 tests: end of block 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_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusservicewatcher - unknown status
| 78 |
105 | | - |
106 | inline void QDBusMarshaller::append(qlonglong arg) | - |
107 | { | - |
108 | if (!skipSignature)TRUE | evaluated 47 times by 5 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| FALSE | never evaluated |
| 0-47 |
109 | qIterAppend(&iterator, ba, DBUS_TYPE_INT64, &arg);executed 47 times by 5 tests: qIterAppend(&iterator, ba, ((int) 'x'), &arg); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| 47 |
110 | }executed 47 times by 5 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| 47 |
111 | | - |
112 | inline void QDBusMarshaller::append(qulonglong arg) | - |
113 | { | - |
114 | if (!skipSignature)TRUE | evaluated 29 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-29 |
115 | qIterAppend(&iterator, ba, DBUS_TYPE_UINT64, &arg);executed 29 times by 1 test: qIterAppend(&iterator, ba, ((int) 't'), &arg); Executed by:- tst_qdbusmarshall - unknown status
| 29 |
116 | }executed 29 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 29 |
117 | | - |
118 | inline void QDBusMarshaller::append(double arg) | - |
119 | { | - |
120 | if (!skipSignature)TRUE | evaluated 724 times by 3 testsEvaluated by:- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
| FALSE | never evaluated |
| 0-724 |
121 | qIterAppend(&iterator, ba, DBUS_TYPE_DOUBLE, &arg);executed 724 times by 3 tests: qIterAppend(&iterator, ba, ((int) 'd'), &arg); Executed by:- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
| 724 |
122 | }executed 724 times by 3 tests: end of block Executed by:- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
| 724 |
123 | | - |
124 | void QDBusMarshaller::append(const QString &arg) | - |
125 | { | - |
126 | QByteArray data = arg.toUtf8(); | - |
127 | const char *cdata = data.constData(); | - |
128 | if (!skipSignature)TRUE | evaluated 2373 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 3 times by 1 testEvaluated by:- tst_qdbusmetatype - unknown status
|
| 3-2373 |
129 | qIterAppend(&iterator, ba, DBUS_TYPE_STRING, &cdata);executed 2373 times by 158 tests: qIterAppend(&iterator, ba, ((int) 's'), &cdata); 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
- ...
| 2373 |
130 | }executed 2376 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
- ...
| 2376 |
131 | | - |
132 | inline void QDBusMarshaller::append(const QDBusObjectPath &arg) | - |
133 | { | - |
134 | QByteArray data = arg.path().toUtf8(); | - |
135 | if (!ba && data.isEmpty()) {TRUE | evaluated 24 times by 2 testsEvaluated by:- tst_qdbusmarshall - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 19 times by 17 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_qdbusmetatype - unknown status
|
TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 21 times by 2 testsEvaluated by:- tst_qdbusmarshall - unknown status
- tst_qdbusreply - unknown status
|
| 3-24 |
136 | error(QLatin1String("Invalid object path passed in arguments")); | - |
137 | } else {executed 3 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 3 |
138 | const char *cdata = data.constData(); | - |
139 | if (!skipSignature)TRUE | evaluated 40 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_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbusreply - unknown status
| FALSE | never evaluated |
| 0-40 |
140 | qIterAppend(&iterator, ba, DBUS_TYPE_OBJECT_PATH, &cdata);executed 40 times by 19 tests: qIterAppend(&iterator, ba, ((int) 'o'), &cdata); 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_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbusreply - unknown status
| 40 |
141 | }executed 40 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_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbusreply - unknown status
| 40 |
142 | } | - |
143 | | - |
144 | inline void QDBusMarshaller::append(const QDBusSignature &arg) | - |
145 | { | - |
146 | QByteArray data = arg.signature().toUtf8(); | - |
147 | if (!ba && data.isEmpty()) {TRUE | evaluated 23 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 20 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 0-23 |
148 | error(QLatin1String("Invalid signature passed in arguments")); | - |
149 | } else {executed 3 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 3 |
150 | const char *cdata = data.constData(); | - |
151 | if (!skipSignature)TRUE | evaluated 20 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-20 |
152 | qIterAppend(&iterator, ba, DBUS_TYPE_SIGNATURE, &cdata);executed 20 times by 1 test: qIterAppend(&iterator, ba, ((int) 'g'), &cdata); Executed by:- tst_qdbusmarshall - unknown status
| 20 |
153 | }executed 20 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 20 |
154 | } | - |
155 | | - |
156 | inline void QDBusMarshaller::append(const QDBusUnixFileDescriptor &arg) | - |
157 | { | - |
158 | int fd = arg.fileDescriptor(); | - |
159 | if (!ba && fd == -1) {TRUE | evaluated 12 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 11 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 1-12 |
160 | error(QLatin1String("Invalid file descriptor passed in arguments")); | - |
161 | } else {executed 1 time by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 1 |
162 | if (!skipSignature)TRUE | evaluated 12 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-12 |
163 | qIterAppend(&iterator, ba, DBUS_TYPE_UNIX_FD, &fd);executed 12 times by 1 test: qIterAppend(&iterator, ba, ((int) 'h'), &fd); Executed by:- tst_qdbusmarshall - unknown status
| 12 |
164 | }executed 12 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 12 |
165 | } | - |
166 | | - |
167 | inline void QDBusMarshaller::append(const QByteArray &arg) | - |
168 | { | - |
169 | if (ba) {TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| FALSE | evaluated 26 times by 4 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 3-26 |
170 | if (!skipSignature)TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| FALSE | never evaluated |
| 0-3 |
171 | *ba += DBUS_TYPE_ARRAY_AS_STRING DBUS_TYPE_BYTE_AS_STRING;executed 3 times by 2 tests: *ba += "a" "y"; Executed by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| 3 |
172 | return;executed 3 times by 2 tests: return; Executed by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| 3 |
173 | } | - |
174 | | - |
175 | const char* cdata = arg.constData(); | - |
176 | DBusMessageIter subiterator; | - |
177 | q_dbus_message_iter_open_container(&iterator, DBUS_TYPE_ARRAY, DBUS_TYPE_BYTE_AS_STRING, | - |
178 | &subiterator); | - |
179 | q_dbus_message_iter_append_fixed_array(&subiterator, DBUS_TYPE_BYTE, &cdata, arg.length()); | - |
180 | q_dbus_message_iter_close_container(&iterator, &subiterator); | - |
181 | }executed 26 times by 4 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 26 |
182 | | - |
183 | inline bool QDBusMarshaller::append(const QDBusVariant &arg) | - |
184 | { | - |
185 | if (ba) {TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qdbusmetatype - unknown status
| FALSE | evaluated 382 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 3-382 |
186 | if (!skipSignature)TRUE | never evaluated | FALSE | evaluated 3 times by 1 testEvaluated by:- tst_qdbusmetatype - unknown status
|
| 0-3 |
187 | *ba += DBUS_TYPE_VARIANT_AS_STRING; never executed: *ba += "v"; | 0 |
188 | return true;executed 3 times by 1 test: return true; Executed by:- tst_qdbusmetatype - unknown status
| 3 |
189 | } | - |
190 | | - |
191 | const QVariant &value = arg.variant(); | - |
192 | int id = value.userType(); | - |
193 | if (id == QVariant::Invalid) {TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 381 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 1-381 |
194 | qWarning("QDBusMarshaller: cannot add a null QDBusVariant"); | - |
195 | error(QLatin1String("Variant containing QVariant::Invalid passed in arguments")); | - |
196 | return false;executed 1 time by 1 test: return false; Executed by:- tst_qdbusmarshall - unknown status
| 1 |
197 | } | - |
198 | | - |
199 | QByteArray tmpSignature; | - |
200 | const char *signature = 0; | - |
201 | if (id == QDBusMetaTypeId::argument()) {TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qdbusinterface - unknown status
| FALSE | evaluated 379 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 2-379 |
202 | | - |
203 | tmpSignature = | - |
204 | qvariant_cast<QDBusArgument>(value).currentSignature().toLatin1(); | - |
205 | signature = tmpSignature.constData(); | - |
206 | } else {executed 2 times by 1 test: end of block Executed by:- tst_qdbusinterface - unknown status
| 2 |
207 | | - |
208 | signature = QDBusMetaType::typeToSignature(id); | - |
209 | }executed 379 times by 7 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 379 |
210 | if (!signature) {TRUE | never evaluated | FALSE | evaluated 381 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 0-381 |
211 | qWarning("QDBusMarshaller: type `%s' (%d) is not registered with D-BUS. " | - |
212 | "Use qDBusRegisterMetaType to register it", | - |
213 | QMetaType::typeName(id), id); | - |
214 | error(QString::fromLatin1("Unregistered type %1 passed in arguments") | - |
215 | .arg(QLatin1String(QMetaType::typeName(id)))); | - |
216 | return false; never executed: return false; | 0 |
217 | } | - |
218 | | - |
219 | QDBusMarshaller sub(capabilities); | - |
220 | open(sub, DBUS_TYPE_VARIANT, signature); | - |
221 | bool isOk = sub.appendVariantInternal(value); | - |
222 | | - |
223 | | - |
224 | return isOk;executed 381 times by 7 tests: return isOk; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 381 |
225 | } | - |
226 | | - |
227 | inline void QDBusMarshaller::append(const QStringList &arg) | - |
228 | { | - |
229 | if (ba) {TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| FALSE | evaluated 15 times by 3 testsEvaluated by:- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 4-15 |
230 | if (!skipSignature)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| FALSE | never evaluated |
| 0-4 |
231 | *ba += DBUS_TYPE_ARRAY_AS_STRING DBUS_TYPE_STRING_AS_STRING;executed 4 times by 2 tests: *ba += "a" "s"; Executed by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| 4 |
232 | return;executed 4 times by 2 tests: return; Executed by:- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
| 4 |
233 | } | - |
234 | | - |
235 | QDBusMarshaller sub(capabilities); | - |
236 | open(sub, DBUS_TYPE_ARRAY, DBUS_TYPE_STRING_AS_STRING); | - |
237 | QStringList::ConstIterator it = arg.constBegin(); | - |
238 | QStringList::ConstIterator end = arg.constEnd(); | - |
239 | for ( ; it != end; ++it)TRUE | evaluated 27 times by 3 testsEvaluated by:- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 15 times by 3 testsEvaluated by:- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 15-27 |
240 | sub.append(*it);executed 27 times by 3 tests: sub.append(*it); Executed by:- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 27 |
241 | | - |
242 | }executed 15 times by 3 tests: end of block Executed by:- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 15 |
243 | | - |
244 | inline QDBusMarshaller *QDBusMarshaller::beginStructure() | - |
245 | { | - |
246 | return beginCommon(DBUS_TYPE_STRUCT, 0);executed 1412 times by 24 tests: return beginCommon(((int) 'r'), 0); 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 1412 |
247 | } | - |
248 | | - |
249 | inline QDBusMarshaller *QDBusMarshaller::beginArray(int id) | - |
250 | { | - |
251 | const char *signature = QDBusMetaType::typeToSignature( QVariant::Type(id) ); | - |
252 | if (!signature) {TRUE | never evaluated | FALSE | evaluated 871 times by 25 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_qdbusabstractadaptor - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 0-871 |
253 | qWarning("QDBusMarshaller: type `%s' (%d) is not registered with D-BUS. " | - |
254 | "Use qDBusRegisterMetaType to register it", | - |
255 | QMetaType::typeName(id), id); | - |
256 | error(QString::fromLatin1("Unregistered type %1 passed in arguments") | - |
257 | .arg(QLatin1String(QMetaType::typeName(id)))); | - |
258 | return this; never executed: return this; | 0 |
259 | } | - |
260 | | - |
261 | return beginCommon(DBUS_TYPE_ARRAY, signature);executed 871 times by 25 tests: return beginCommon(((int) 'a'), signature); 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_qdbusabstractadaptor - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 871 |
262 | } | - |
263 | | - |
264 | inline QDBusMarshaller *QDBusMarshaller::beginMap(int kid, int vid) | - |
265 | { | - |
266 | const char *ksignature = QDBusMetaType::typeToSignature( QVariant::Type(kid) ); | - |
267 | if (!ksignature) {TRUE | never evaluated | FALSE | evaluated 245 times by 30 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_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
- ...
|
| 0-245 |
268 | qWarning("QDBusMarshaller: type `%s' (%d) is not registered with D-BUS. " | - |
269 | "Use qDBusRegisterMetaType to register it", | - |
270 | QMetaType::typeName(kid), kid); | - |
271 | error(QString::fromLatin1("Unregistered type %1 passed in arguments") | - |
272 | .arg(QLatin1String(QMetaType::typeName(kid)))); | - |
273 | return this; never executed: return this; | 0 |
274 | } | - |
275 | if (ksignature[1] != 0 || !QDBusUtil::isValidBasicType(*ksignature)) {TRUE | never evaluated | FALSE | evaluated 245 times by 30 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_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
- ...
|
TRUE | never evaluated | FALSE | evaluated 245 times by 30 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_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
- ...
|
| 0-245 |
276 | qWarning("QDBusMarshaller: type '%s' (%d) cannot be used as the key type in a D-BUS map.", | - |
277 | QMetaType::typeName(kid), kid); | - |
278 | error(QString::fromLatin1("Type %1 passed in arguments cannot be used as a key in a map") | - |
279 | .arg(QLatin1String(QMetaType::typeName(kid)))); | - |
280 | return this; never executed: return this; | 0 |
281 | } | - |
282 | | - |
283 | const char *vsignature = QDBusMetaType::typeToSignature( QVariant::Type(vid) ); | - |
284 | if (!vsignature) {TRUE | never evaluated | FALSE | evaluated 245 times by 30 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_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
- ...
|
| 0-245 |
285 | const char *typeName = QMetaType::typeName(vid); | - |
286 | qWarning("QDBusMarshaller: type `%s' (%d) is not registered with D-BUS. " | - |
287 | "Use qDBusRegisterMetaType to register it", | - |
288 | typeName, vid); | - |
289 | error(QString::fromLatin1("Unregistered type %1 passed in arguments") | - |
290 | .arg(QLatin1String(typeName))); | - |
291 | return this; never executed: return this; | 0 |
292 | } | - |
293 | | - |
294 | QByteArray signature; | - |
295 | signature = DBUS_DICT_ENTRY_BEGIN_CHAR_AS_STRING; | - |
296 | signature += ksignature; | - |
297 | signature += vsignature; | - |
298 | signature += DBUS_DICT_ENTRY_END_CHAR_AS_STRING; | - |
299 | return beginCommon(DBUS_TYPE_ARRAY, signature);executed 245 times by 30 tests: return beginCommon(((int) 'a'), signature); 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_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
- ...
| 245 |
300 | } | - |
301 | | - |
302 | inline QDBusMarshaller *QDBusMarshaller::beginMapEntry() | - |
303 | { | - |
304 | return beginCommon(DBUS_TYPE_DICT_ENTRY, 0);executed 162 times by 6 tests: return beginCommon(((int) 'e'), 0); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 162 |
305 | } | - |
306 | | - |
307 | void QDBusMarshaller::open(QDBusMarshaller &sub, int code, const char *signature) | - |
308 | { | - |
309 | sub.parent = this; | - |
310 | sub.ba = ba; | - |
311 | sub.ok = true; | - |
312 | sub.capabilities = capabilities; | - |
313 | sub.skipSignature = skipSignature; | - |
314 | | - |
315 | if (ba) {TRUE | evaluated 1909 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
| FALSE | evaluated 1933 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
| 1909-1933 |
316 | if (!skipSignature) {TRUE | evaluated 1903 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
| FALSE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusmetatype - unknown status
|
| 6-1903 |
317 | switch (code) { | - |
318 | case DBUS_TYPE_ARRAY:executed 914 times by 31 tests: case ((int) 'a'): 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_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_qdbuslocalcalls - unknown status
- ...
| 914 |
319 | *ba += char(code); | - |
320 | *ba += signature; | - |
321 | | - |
322 | | - |
323 | case DBUS_TYPE_DICT_ENTRY:code before this statement executed 914 times by 31 tests: case ((int) 'e'): 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_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_qdbuslocalcalls - unknown status
- ...
never executed: case ((int) 'e'): | 0-914 |
324 | sub.closeCode = 0; | - |
325 | sub.skipSignature = true; | - |
326 | break;executed 914 times by 31 tests: break; 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_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_qdbuslocalcalls - unknown status
- ...
| 914 |
327 | | - |
328 | case DBUS_TYPE_STRUCT:executed 989 times by 24 tests: case ((int) 'r'): 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 989 |
329 | *ba += DBUS_STRUCT_BEGIN_CHAR; | - |
330 | sub.closeCode = DBUS_STRUCT_END_CHAR; | - |
331 | break;executed 989 times by 24 tests: break; 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 989 |
332 | } | - |
333 | }executed 1903 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
| 1903 |
334 | } else {executed 1909 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
| 1909 |
335 | q_dbus_message_iter_open_container(&iterator, code, signature, &sub.iterator); | - |
336 | }executed 1933 times by 7 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 1933 |
337 | } | - |
338 | | - |
339 | QDBusMarshaller *QDBusMarshaller::beginCommon(int code, const char *signature) | - |
340 | { | - |
341 | QDBusMarshaller *d = new QDBusMarshaller(capabilities); | - |
342 | open(*d, code, signature); | - |
343 | return d;executed 2690 times by 31 tests: return d; 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_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_qdbuslocalcalls - unknown status
- ...
| 2690 |
344 | } | - |
345 | | - |
346 | inline QDBusMarshaller *QDBusMarshaller::endStructure() | - |
347 | {executed 1412 times by 24 tests: return endCommon(); 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
return endCommon(); }executed 1412 times by 24 tests: return endCommon(); 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 1412 |
348 | | - |
349 | inline QDBusMarshaller *QDBusMarshaller::endArray() | - |
350 | {executed 871 times by 25 tests: return endCommon(); 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_qdbusabstractadaptor - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
return endCommon(); }executed 871 times by 25 tests: return endCommon(); 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_qdbusabstractadaptor - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 871 |
351 | | - |
352 | inline QDBusMarshaller *QDBusMarshaller::endMap() | - |
353 | {executed 245 times by 30 tests: return endCommon(); 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_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
- ...
return endCommon(); }executed 245 times by 30 tests: return endCommon(); 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_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
- ...
| 245 |
354 | | - |
355 | inline QDBusMarshaller *QDBusMarshaller::endMapEntry() | - |
356 | {executed 162 times by 6 tests: return endCommon(); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
return endCommon(); }executed 162 times by 6 tests: return endCommon(); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 162 |
357 | | - |
358 | QDBusMarshaller *QDBusMarshaller::endCommon() | - |
359 | { | - |
360 | QDBusMarshaller *retval = parent; | - |
361 | delete this; | - |
362 | return retval;executed 2690 times by 31 tests: return retval; 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_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_qdbuslocalcalls - unknown status
- ...
| 2690 |
363 | } | - |
364 | | - |
365 | void QDBusMarshaller::close() | - |
366 | { | - |
367 | if (ba) {TRUE | evaluated 3460 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
| FALSE | evaluated 6436 times by 157 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
- ...
|
| 3460-6436 |
368 | if (!skipSignature && closeCode)TRUE | evaluated 2540 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
| FALSE | evaluated 920 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
|
TRUE | evaluated 989 times by 24 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 1551 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
|
| 920-2540 |
369 | *ba += closeCode;executed 989 times by 24 tests: *ba += closeCode; 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_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusmetatype - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 989 |
370 | } else if (parent) {executed 3460 times by 31 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_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_qdbuslocalcalls - unknown status
- ...
TRUE | evaluated 1933 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 4503 times by 157 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
- ...
|
| 1933-4503 |
371 | q_dbus_message_iter_close_container(&parent->iterator, &iterator); | - |
372 | }executed 1933 times by 7 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 1933 |
373 | }executed 9896 times by 161 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
- ...
| 9896 |
374 | | - |
375 | void QDBusMarshaller::error(const QString &msg) | - |
376 | { | - |
377 | ok = false; | - |
378 | if (parent)TRUE | never evaluated | FALSE | evaluated 11 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 0-11 |
379 | parent->error(msg); never executed: parent->error(msg); | 0 |
380 | else | - |
381 | errorString = msg;executed 11 times by 1 test: errorString = msg; Executed by:- tst_qdbusmarshall - unknown status
| 11 |
382 | } | - |
383 | | - |
384 | bool QDBusMarshaller::appendVariantInternal(const QVariant &arg) | - |
385 | { | - |
386 | int id = arg.userType(); | - |
387 | if (id == QVariant::Invalid) {TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 3550 times by 156 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
- ...
|
| 1-3550 |
388 | qWarning("QDBusMarshaller: cannot add an invalid QVariant"); | - |
389 | error(QLatin1String("Variant containing QVariant::Invalid passed in arguments")); | - |
390 | return false;executed 1 time by 1 test: return false; Executed by:- tst_qdbusmarshall - unknown status
| 1 |
391 | } | - |
392 | | - |
393 | | - |
394 | if (id == QDBusMetaTypeId::argument()) {TRUE | evaluated 545 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | evaluated 3005 times by 156 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
- ...
|
| 545-3005 |
395 | QDBusArgument dbusargument = qvariant_cast<QDBusArgument>(arg); | - |
396 | QDBusArgumentPrivate *d = QDBusArgumentPrivate::d(dbusargument); | - |
397 | if (!d->message)TRUE | never evaluated | FALSE | evaluated 545 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
| 0-545 |
398 | return false; never executed: return false; | 0 |
399 | | - |
400 | QDBusDemarshaller demarshaller(capabilities); | - |
401 | demarshaller.message = q_dbus_message_ref(d->message); | - |
402 | | - |
403 | if (d->direction == Demarshalling) {TRUE | evaluated 302 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | evaluated 243 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 243-302 |
404 | | - |
405 | demarshaller.iterator = static_cast<QDBusDemarshaller *>(d)->iterator; | - |
406 | } else {executed 302 times by 2 tests: end of block Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 302 |
407 | | - |
408 | if (!q_dbus_message_iter_init(demarshaller.message, &demarshaller.iterator))TRUE | never evaluated | FALSE | evaluated 243 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 0-243 |
409 | return false; never executed: return false; | 0 |
410 | }executed 243 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 243 |
411 | | - |
412 | return appendCrossMarshalling(&demarshaller);executed 545 times by 2 tests: return appendCrossMarshalling(&demarshaller); Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 545 |
413 | } | - |
414 | | - |
415 | const char *signature = QDBusMetaType::typeToSignature( QVariant::Type(id) ); | - |
416 | if (!signature) {TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 3003 times by 156 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
- ...
|
| 2-3003 |
417 | qWarning("QDBusMarshaller: type `%s' (%d) is not registered with D-BUS. " | - |
418 | "Use qDBusRegisterMetaType to register it", | - |
419 | QMetaType::typeName(id), id); | - |
420 | error(QString::fromLatin1("Unregistered type %1 passed in arguments") | - |
421 | .arg(QLatin1String(QMetaType::typeName(id)))); | - |
422 | return false;executed 2 times by 1 test: return false; Executed by:- tst_qdbusmarshall - unknown status
| 2 |
423 | } | - |
424 | | - |
425 | switch (*signature) { | - |
426 | #ifdef __OPTIMIZE__ | - |
427 | case DBUS_TYPE_BYTE: | - |
428 | case DBUS_TYPE_INT16: | - |
429 | case DBUS_TYPE_UINT16: | - |
430 | case DBUS_TYPE_INT32: | - |
431 | case DBUS_TYPE_UINT32: | - |
432 | case DBUS_TYPE_INT64: | - |
433 | case DBUS_TYPE_UINT64: | - |
434 | case DBUS_TYPE_DOUBLE: | - |
435 | qIterAppend(&iterator, ba, *signature, arg.constData()); | - |
436 | return true; | - |
437 | case DBUS_TYPE_BOOLEAN: | - |
438 | append( arg.toBool() ); | - |
439 | return true; | - |
440 | #else | - |
441 | case DBUS_TYPE_BYTE:executed 20 times by 1 test: case ((int) 'y'): Executed by:- tst_qdbusmarshall - unknown status
| 20 |
442 | append( qvariant_cast<uchar>(arg) ); | - |
443 | return true;executed 20 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 20 |
444 | case DBUS_TYPE_BOOLEAN:executed 42 times by 1 test: case ((int) 'b'): Executed by:- tst_qdbusmarshall - unknown status
| 42 |
445 | append( arg.toBool() ); | - |
446 | return true;executed 42 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 42 |
447 | case DBUS_TYPE_INT16:executed 29 times by 2 tests: case ((int) 'n'): Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
| 29 |
448 | append( qvariant_cast<short>(arg) ); | - |
449 | return true;executed 29 times by 2 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
| 29 |
450 | case DBUS_TYPE_UINT16:executed 20 times by 1 test: case ((int) 'q'): Executed by:- tst_qdbusmarshall - unknown status
| 20 |
451 | append( qvariant_cast<ushort>(arg) ); | - |
452 | return true;executed 20 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 20 |
453 | case DBUS_TYPE_INT32:executed 236 times by 10 tests: case ((int) 'i'): Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 236 |
454 | append( static_cast<dbus_int32_t>(arg.toInt()) ); | - |
455 | return true;executed 236 times by 10 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 236 |
456 | case DBUS_TYPE_UINT32:executed 66 times by 11 tests: case ((int) 'u'): 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_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusservicewatcher - unknown status
| 66 |
457 | append( static_cast<dbus_uint32_t>(arg.toUInt()) ); | - |
458 | return true;executed 66 times by 11 tests: return true; 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_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusservicewatcher - unknown status
| 66 |
459 | case DBUS_TYPE_INT64:executed 26 times by 2 tests: case ((int) 'x'): Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
| 26 |
460 | append( arg.toLongLong() ); | - |
461 | return true;executed 26 times by 2 tests: return true; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
| 26 |
462 | case DBUS_TYPE_UINT64:executed 22 times by 1 test: case ((int) 't'): Executed by:- tst_qdbusmarshall - unknown status
| 22 |
463 | append( arg.toULongLong() ); | - |
464 | return true;executed 22 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 22 |
465 | case DBUS_TYPE_DOUBLE:executed 24 times by 1 test: case ((int) 'd'): Executed by:- tst_qdbusmarshall - unknown status
| 24 |
466 | append( arg.toDouble() ); | - |
467 | return true;executed 24 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 24 |
468 | #endif | - |
469 | | - |
470 | case DBUS_TYPE_STRING:executed 1921 times by 156 tests: case ((int) 's'): 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
- ...
| 1921 |
471 | append( arg.toString() ); | - |
472 | return true;executed 1921 times by 156 tests: return true; 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
- ...
| 1921 |
473 | case DBUS_TYPE_OBJECT_PATH:executed 13 times by 1 test: case ((int) 'o'): Executed by:- tst_qdbusmarshall - unknown status
| 13 |
474 | append( qvariant_cast<QDBusObjectPath>(arg) ); | - |
475 | return true;executed 13 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 13 |
476 | case DBUS_TYPE_SIGNATURE:executed 13 times by 1 test: case ((int) 'g'): Executed by:- tst_qdbusmarshall - unknown status
| 13 |
477 | append( qvariant_cast<QDBusSignature>(arg) ); | - |
478 | return true;executed 13 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 13 |
479 | | - |
480 | | - |
481 | case DBUS_TYPE_VARIANT:executed 226 times by 7 tests: case ((int) 'v'): Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 226 |
482 | | - |
483 | return append( qvariant_cast<QDBusVariant>(arg) );executed 226 times by 7 tests: return append( qvariant_cast<QDBusVariant>(arg) ); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 226 |
484 | | - |
485 | case DBUS_TYPE_ARRAY:executed 178 times by 7 tests: case ((int) 'a'): Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 178 |
486 | | - |
487 | | - |
488 | switch (arg.type()) { | - |
489 | case QVariant::StringList:executed 10 times by 3 tests: case QVariant::StringList: Executed by:- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 10 |
490 | append( arg.toStringList() ); | - |
491 | return true;executed 10 times by 3 tests: return true; Executed by:- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 10 |
492 | | - |
493 | case QVariant::ByteArray:executed 19 times by 4 tests: case QVariant::ByteArray: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 19 |
494 | append( arg.toByteArray() ); | - |
495 | return true;executed 19 times by 4 tests: return true; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 19 |
496 | | - |
497 | default:executed 149 times by 7 tests: default: Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 149 |
498 | ; | - |
499 | }executed 149 times by 7 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 149 |
500 | | - |
501 | | - |
502 | case DBUS_TYPE_STRUCT:code before this statement executed 149 times by 7 tests: case ((int) 'r'): Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
never executed: case ((int) 'r'): | 0-149 |
503 | case DBUS_STRUCT_BEGIN_CHAR:executed 160 times by 5 tests: case ((int) '('): Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 160 |
504 | return appendRegisteredType( arg );executed 309 times by 7 tests: return appendRegisteredType( arg ); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 309 |
505 | | - |
506 | case DBUS_TYPE_DICT_ENTRY: never executed: case ((int) 'e'): | 0 |
507 | case DBUS_DICT_ENTRY_BEGIN_CHAR: never executed: case ((int) '{'): | 0 |
508 | qFatal("QDBusMarshaller::appendVariantInternal got a DICT_ENTRY!"); | - |
509 | return false; never executed: return false; | 0 |
510 | | - |
511 | case DBUS_TYPE_UNIX_FD:executed 7 times by 1 test: case ((int) 'h'): Executed by:- tst_qdbusmarshall - unknown status
| 7 |
512 | if (capabilities & QDBusConnection::UnixFileDescriptorPassing || ba) {TRUE | evaluated 7 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-7 |
513 | append(qvariant_cast<QDBusUnixFileDescriptor>(arg)); | - |
514 | return true;executed 7 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 7 |
515 | } | - |
516 | | - |
517 | | - |
518 | default: code before this statement never executed: default: never executed: default: | 0 |
519 | qWarning("QDBusMarshaller::appendVariantInternal: Found unknown D-BUS type '%s'", | - |
520 | signature); | - |
521 | return false; never executed: return false; | 0 |
522 | } | - |
523 | | - |
524 | return true; never executed: return true; | 0 |
525 | } | - |
526 | | - |
527 | bool QDBusMarshaller::appendRegisteredType(const QVariant &arg) | - |
528 | { | - |
529 | ref.ref(); | - |
530 | QDBusArgument self(QDBusArgumentPrivate::create(this)); | - |
531 | return QDBusMetaType::marshall(self, arg.userType(), arg.constData());executed 309 times by 7 tests: return QDBusMetaType::marshall(self, arg.userType(), arg.constData()); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 309 |
532 | } | - |
533 | | - |
534 | bool QDBusMarshaller::appendCrossMarshalling(QDBusDemarshaller *demarshaller) | - |
535 | { | - |
536 | int code = q_dbus_message_iter_get_arg_type(&demarshaller->iterator); | - |
537 | if (QDBusUtil::isValidBasicType(code)) {TRUE | evaluated 814 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 845 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
|
| 814-845 |
538 | | - |
539 | | - |
540 | | - |
541 | | - |
542 | qlonglong value; | - |
543 | q_dbus_message_iter_get_basic(&demarshaller->iterator, &value); | - |
544 | q_dbus_message_iter_next(&demarshaller->iterator); | - |
545 | q_dbus_message_iter_append_basic(&iterator, code, &value); | - |
546 | return true;executed 814 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 814 |
547 | } | - |
548 | | - |
549 | if (code == DBUS_TYPE_ARRAY) {TRUE | evaluated 185 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | evaluated 660 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 185-660 |
550 | int element = q_dbus_message_iter_get_element_type(&demarshaller->iterator); | - |
551 | if (QDBusUtil::isValidFixedType(element) && element != DBUS_TYPE_UNIX_FD) {TRUE | evaluated 91 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | evaluated 94 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
TRUE | evaluated 89 times by 2 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 2-94 |
552 | | - |
553 | | - |
554 | DBusMessageIter sub; | - |
555 | q_dbus_message_iter_recurse(&demarshaller->iterator, &sub); | - |
556 | q_dbus_message_iter_next(&demarshaller->iterator); | - |
557 | int len; | - |
558 | void* data; | - |
559 | q_dbus_message_iter_get_fixed_array(&sub,&data,&len); | - |
560 | | - |
561 | char signature[2] = { char(element), 0 }; | - |
562 | q_dbus_message_iter_open_container(&iterator, DBUS_TYPE_ARRAY, signature, &sub); | - |
563 | q_dbus_message_iter_append_fixed_array(&sub, element, &data, len); | - |
564 | q_dbus_message_iter_close_container(&iterator, &sub); | - |
565 | | - |
566 | return true;executed 89 times by 2 tests: return true; Executed by:- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
| 89 |
567 | } | - |
568 | }executed 96 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 96 |
569 | | - |
570 | | - |
571 | QDBusDemarshaller *drecursed = demarshaller->beginCommon(); | - |
572 | | - |
573 | QDBusMarshaller mrecursed(capabilities); | - |
574 | QByteArray subSignature; | - |
575 | const char *sig = 0; | - |
576 | if (code == DBUS_TYPE_VARIANT || code == DBUS_TYPE_ARRAY) {TRUE | evaluated 96 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 660 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
TRUE | evaluated 96 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 564 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 96-660 |
577 | subSignature = drecursed->currentSignature().toLatin1(); | - |
578 | if (!subSignature.isEmpty())TRUE | evaluated 192 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | never evaluated |
| 0-192 |
579 | sig = subSignature.constData();executed 192 times by 1 test: sig = subSignature.constData(); Executed by:- tst_qdbusmarshall - unknown status
| 192 |
580 | }executed 192 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 192 |
581 | open(mrecursed, code, sig); | - |
582 | | - |
583 | while (!drecursed->atEnd()) {TRUE | evaluated 1114 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
| FALSE | evaluated 756 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 756-1114 |
584 | if (!mrecursed.appendCrossMarshalling(drecursed)) {TRUE | never evaluated | FALSE | evaluated 1114 times by 1 testEvaluated by:- tst_qdbusmarshall - unknown status
|
| 0-1114 |
585 | delete drecursed; | - |
586 | return false; never executed: return false; | 0 |
587 | } | - |
588 | }executed 1114 times by 1 test: end of block Executed by:- tst_qdbusmarshall - unknown status
| 1114 |
589 | | - |
590 | delete drecursed; | - |
591 | return true;executed 756 times by 1 test: return true; Executed by:- tst_qdbusmarshall - unknown status
| 756 |
592 | } | - |
593 | | - |
594 | QT_END_NAMESPACE | - |
595 | | - |
596 | #endif // QT_NO_DBUS | - |
| | |