qdbusmarshaller.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmarshaller.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8static void qIterAppend(DBusMessageIter *it, QByteArray *ba, int type, const void *arg)-
9{-
10 if (ba
baDescription
TRUEevaluated 2243 times by 24 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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
FALSEevaluated 3255 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
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-
16QDBusMarshaller::~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-
21inline QString QDBusMarshaller::currentSignature()-
22{-
23 if (message
messageDescription
TRUEnever evaluated
FALSEnever 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-
28inline void QDBusMarshaller::append(uchar arg)-
29{-
30 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 21 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever 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-
34inline void QDBusMarshaller::append(bool arg)-
35{-
36 dbus_bool_t cast = arg;-
37 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 57 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever 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-
41inline void QDBusMarshaller::append(short arg)-
42{-
43 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 43 times by 2 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusmarshall - unknown status
FALSEnever 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-
47inline void QDBusMarshaller::append(ushort arg)-
48{-
49 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 32 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever 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-
53inline void QDBusMarshaller::append(int arg)-
54{-
55 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 2022 times by 12 tests
Evaluated 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
FALSEnever 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-
59inline void QDBusMarshaller::append(uint arg)-
60{-
61 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 78 times by 11 tests
Evaluated 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
FALSEnever 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-
65inline void QDBusMarshaller::append(qlonglong arg)-
66{-
67 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 47 times by 5 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
FALSEnever 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-
71inline void QDBusMarshaller::append(qulonglong arg)-
72{-
73 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 29 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever 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-
77inline void QDBusMarshaller::append(double arg)-
78{-
79 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 724 times by 3 tests
Evaluated by:
  • tst_qdbuscpp2xml - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
FALSEnever 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-
83void QDBusMarshaller::append(const QString &arg)-
84{-
85 QByteArray data = arg.toUtf8();-
86 const char *cdata = data.constData();-
87 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 2373 times by 158 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
FALSEevaluated 3 times by 1 test
Evaluated 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-
91inline void QDBusMarshaller::append(const QDBusObjectPath &arg)-
92{-
93 QByteArray data = arg.path().toUtf8();-
94 if (!ba
!baDescription
TRUEevaluated 24 times by 2 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbusreply - unknown status
FALSEevaluated 19 times by 17 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusmetatype - unknown status
&& data.isEmpty()
data.isEmpty()Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 21 times by 2 tests
Evaluated 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 (!skipSignature
!skipSignatureDescription
TRUEevaluated 40 times by 19 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_qdbusmarshall - unknown status
  • tst_qdbusmetatype - unknown status
  • tst_qdbusreply - unknown status
FALSEnever 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-
103inline void QDBusMarshaller::append(const QDBusSignature &arg)-
104{-
105 QByteArray data = arg.signature().toUtf8();-
106 if (!ba
!baDescription
TRUEevaluated 23 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever evaluated
&& data.isEmpty()
data.isEmpty()Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 20 times by 1 test
Evaluated 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 (!skipSignature
!skipSignatureDescription
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever 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-
115inline void QDBusMarshaller::append(const QDBusUnixFileDescriptor &arg)-
116{-
117 int fd = arg.fileDescriptor();-
118 if (!ba
!baDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
&& fd == -1
fd == -1Description
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 11 times by 1 test
Evaluated 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 (!skipSignature
!skipSignatureDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever 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-
126inline void QDBusMarshaller::append(const QByteArray &arg)-
127{-
128 if (ba
baDescription
TRUEevaluated 3 times by 2 tests
Evaluated by:
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
FALSEevaluated 26 times by 4 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
) {
3-26
129 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 3 times by 2 tests
Evaluated by:
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
FALSEnever 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-
142inline bool QDBusMarshaller::append(const QDBusVariant &arg)-
143{-
144 if (ba
baDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_qdbusmetatype - unknown status
FALSEevaluated 382 times by 7 tests
Evaluated 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 (!skipSignature
!skipSignatureDescription
TRUEnever evaluated
FALSEevaluated 3 times by 1 test
Evaluated by:
  • tst_qdbusmetatype - unknown status
)
0-3
146 *
never executed: *ba += "v";
ba += "v";
never executed: *ba += "v";
0
147 return
executed 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::Invalid
id == QVariant::InvalidDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 381 times by 7 tests
Evaluated 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 return
executed 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()
id == QDBusMet...Id::argument()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
FALSEevaluated 379 times by 7 tests
Evaluated 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 (!signature
!signatureDescription
TRUEnever evaluated
FALSEevaluated 381 times by 7 tests
Evaluated 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 return
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
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-
186inline void QDBusMarshaller::append(const QStringList &arg)-
187{-
188 if (ba
baDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
FALSEevaluated 15 times by 3 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
) {
4-15
189 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qdbusmetaobject - unknown status
  • tst_qdbusmetatype - unknown status
FALSEnever 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 != end
it != endDescription
TRUEevaluated 27 times by 3 tests
Evaluated by:
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
FALSEevaluated 15 times by 3 tests
Evaluated 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-
203inline QDBusMarshaller *QDBusMarshaller::beginStructure()-
204{-
205 return
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
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-
208inline QDBusMarshaller *QDBusMarshaller::beginArray(int id)-
209{-
210 const char *signature = QDBusMetaType::typeToSignature( QVariant::Type(id) );-
211 if (!signature
!signatureDescription
TRUEnever evaluated
FALSEevaluated 871 times by 25 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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 return
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
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-
223inline QDBusMarshaller *QDBusMarshaller::beginMap(int kid, int vid)-
224{-
225 const char *ksignature = QDBusMetaType::typeToSignature( QVariant::Type(kid) );-
226 if (!ksignature
!ksignatureDescription
TRUEnever evaluated
FALSEevaluated 245 times by 30 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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] != 0
ksignature[1] != 0Description
TRUEnever evaluated
FALSEevaluated 245 times by 30 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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)
!QDBusUtil::is...e(*ksignature)Description
TRUEnever evaluated
FALSEevaluated 245 times by 30 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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 (!vsignature
!vsignatureDescription
TRUEnever evaluated
FALSEevaluated 245 times by 30 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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 return
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
  • ...
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-
261inline QDBusMarshaller *QDBusMarshaller::beginMapEntry()-
262{-
263 return
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
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-
266void 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 (ba
baDescription
TRUEevaluated 1909 times by 31 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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
  • ...
FALSEevaluated 1933 times by 7 tests
Evaluated 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 (!skipSignature
!skipSignatureDescription
TRUEevaluated 1903 times by 31 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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
  • ...
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qdbusmetatype - unknown status
) {
6-1903
276 switch (code) {-
277 case
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
  • ...
((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 case
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
((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-
298QDBusMarshaller *QDBusMarshaller::beginCommon(int code, const char *signature)-
299{-
300 QDBusMarshaller *d = new QDBusMarshaller(capabilities);-
301 open(*d, code, signature);-
302 return
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
  • ...
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-
305inline QDBusMarshaller *QDBusMarshaller::endStructure()-
306{ return
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
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-
308inline QDBusMarshaller *QDBusMarshaller::endArray()-
309{ return
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
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-
311inline QDBusMarshaller *QDBusMarshaller::endMap()-
312{ return
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
  • ...
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-
314inline QDBusMarshaller *QDBusMarshaller::endMapEntry()-
315{ return
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
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-
317QDBusMarshaller *QDBusMarshaller::endCommon()-
318{-
319 QDBusMarshaller *retval = parent;-
320 delete this;-
321 return
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
  • ...
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-
324void QDBusMarshaller::close()-
325{-
326 if (ba
baDescription
TRUEevaluated 3460 times by 31 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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
  • ...
FALSEevaluated 6436 times by 157 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
) {
3460-6436
327 if (!skipSignature
!skipSignatureDescription
TRUEevaluated 2540 times by 31 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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
  • ...
FALSEevaluated 920 times by 31 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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
  • ...
&& closeCode
closeCodeDescription
TRUEevaluated 989 times by 24 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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
FALSEevaluated 1551 times by 31 tests
Evaluated by:
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QFtp
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QNetworkAccessManager
  • tst_QNetworkAccessManager_And_QProgressDialog
  • tst_QNetworkConfiguration
  • tst_QNetworkConfigurationManager
  • tst_QNetworkDiskCache
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QTcpServer
  • tst_QUdpSocket
  • tst_QXmlInputSource
  • tst_QXmlStream
  • tst_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 (parent
parentDescription
TRUEevaluated 1933 times by 7 tests
Evaluated 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
FALSEevaluated 4503 times by 157 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
) {
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-
334void QDBusMarshaller::error(const QString &msg)-
335{-
336 ok = false;-
337 if (parent
parentDescription
TRUEnever evaluated
FALSEevaluated 11 times by 1 test
Evaluated 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-
343bool QDBusMarshaller::appendVariantInternal(const QVariant &arg)-
344{-
345 int id = arg.userType();-
346 if (id == QVariant::Invalid
id == QVariant::InvalidDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 3550 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
) {
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 return
executed 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()
id == QDBusMet...Id::argument()Description
TRUEevaluated 545 times by 2 tests
Evaluated by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 3005 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
) {
545-3005
354 QDBusArgument dbusargument = qvariant_cast<QDBusArgument>(arg);-
355 QDBusArgumentPrivate *d = QDBusArgumentPrivate::d(dbusargument);-
356 if (!d->message
!d->messageDescription
TRUEnever evaluated
FALSEevaluated 545 times by 2 tests
Evaluated 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 == Demarshalling
d->direction == DemarshallingDescription
TRUEevaluated 302 times by 2 tests
Evaluated by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 243 times by 1 test
Evaluated 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)
!q_dbus_messag...ller.iterator)Description
TRUEnever evaluated
FALSEevaluated 243 times by 1 test
Evaluated 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 return
executed 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 (!signature
!signatureDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 3003 times by 156 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
) {
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 return
executed 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 case
executed 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 return
executed 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 case
executed 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 return
executed 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 case
executed 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 return
executed 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 case
executed 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 return
executed 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 case
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
((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 return
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
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 case
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
((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 return
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
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 case
executed 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 return
executed 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 case
executed 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 return
executed 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 case
executed 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 return
executed 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 case
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
  • ...
((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 return
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
  • ...
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 case
executed 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 return
executed 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 case
executed 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 return
executed 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 case
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
((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 return
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
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 case
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
((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 case
executed 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 return
executed 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 case
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
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 return
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
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 default
executed 149 times by 7 tests: default:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbuslocalcalls - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbuspendingreply - unknown status
  • tst_qdbusreply - unknown status
:
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 case
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
((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 return
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
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 case
executed 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::UnixFileDescriptorPassing
capabilities &...criptorPassingDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever evaluated
|| ba
baDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0-7
457 append(qvariant_cast<QDBusUnixFileDescriptor>(arg));-
458 return
executed 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-
471bool QDBusMarshaller::appendRegisteredType(const QVariant &arg)-
472{-
473 ref.ref();-
474 QDBusArgument self(QDBusArgumentPrivate::create(this));-
475 return
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
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-
478bool QDBusMarshaller::appendCrossMarshalling(QDBusDemarshaller *demarshaller)-
479{-
480 int code = q_dbus_message_iter_get_arg_type(&demarshaller->iterator);-
481 if (QDBusUtil::isValidBasicType(code)
QDBusUtil::isV...asicType(code)Description
TRUEevaluated 814 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 845 times by 2 tests
Evaluated 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 return
executed 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')
code == ((int) 'a')Description
TRUEevaluated 185 times by 2 tests
Evaluated by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 660 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
185-660
494 int element = q_dbus_message_iter_get_element_type(&demarshaller->iterator);-
495 if (QDBusUtil::isValidFixedType(element)
QDBusUtil::isV...dType(element)Description
TRUEevaluated 91 times by 2 tests
Evaluated by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 94 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
&& element != ((int) 'h')
element != ((int) 'h')Description
TRUEevaluated 89 times by 2 tests
Evaluated by:
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
FALSEevaluated 2 times by 1 test
Evaluated 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 return
executed 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')
code == ((int) 'v')Description
TRUEevaluated 96 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 660 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
|| code == ((int) 'a')
code == ((int) 'a')Description
TRUEevaluated 96 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 564 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
96-660
521 subSignature = drecursed->currentSignature().toLatin1();-
522 if (!subSignature.isEmpty()
!subSignature.isEmpty()Description
TRUEevaluated 192 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEnever 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()
!drecursed->atEnd()Description
TRUEevaluated 1114 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
FALSEevaluated 756 times by 1 test
Evaluated by:
  • tst_qdbusmarshall - unknown status
) {
756-1114
528 if (!mrecursed.appendCrossMarshalling(drecursed)
!mrecursed.app...ing(drecursed)Description
TRUEnever evaluated
FALSEevaluated 1114 times by 1 test
Evaluated 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 return
executed 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-
Switch to Source codePreprocessed file

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