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