Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | static const char errorMessages_string[] = | - |
10 | "other\0" | - |
11 | "org.freedesktop.DBus.Error.Failed\0" | - |
12 | "org.freedesktop.DBus.Error.NoMemory\0" | - |
13 | "org.freedesktop.DBus.Error.ServiceUnknown\0" | - |
14 | "org.freedesktop.DBus.Error.NoReply\0" | - |
15 | "org.freedesktop.DBus.Error.BadAddress\0" | - |
16 | "org.freedesktop.DBus.Error.NotSupported\0" | - |
17 | "org.freedesktop.DBus.Error.LimitsExceeded\0" | - |
18 | "org.freedesktop.DBus.Error.AccessDenied\0" | - |
19 | "org.freedesktop.DBus.Error.NoServer\0" | - |
20 | "org.freedesktop.DBus.Error.Timeout\0" | - |
21 | "org.freedesktop.DBus.Error.NoNetwork\0" | - |
22 | "org.freedesktop.DBus.Error.AddressInUse\0" | - |
23 | "org.freedesktop.DBus.Error.Disconnected\0" | - |
24 | "org.freedesktop.DBus.Error.InvalidArgs\0" | - |
25 | "org.freedesktop.DBus.Error.UnknownMethod\0" | - |
26 | "org.freedesktop.DBus.Error.TimedOut\0" | - |
27 | "org.freedesktop.DBus.Error.InvalidSignature\0" | - |
28 | "org.freedesktop.DBus.Error.UnknownInterface\0" | - |
29 | "org.freedesktop.DBus.Error.UnknownObject\0" | - |
30 | "org.freedesktop.DBus.Error.UnknownProperty\0" | - |
31 | "org.freedesktop.DBus.Error.PropertyReadOnly\0" | - |
32 | "org.qtproject.QtDBus.Error.InternalError\0" | - |
33 | "org.qtproject.QtDBus.Error.InvalidService\0" | - |
34 | "org.qtproject.QtDBus.Error.InvalidObjectPath\0" | - |
35 | "org.qtproject.QtDBus.Error.InvalidInterface\0" | - |
36 | "org.qtproject.QtDBus.Error.InvalidMember\0" | - |
37 | "\0"; | - |
38 | | - |
39 | static const int errorMessages_indices[] = { | - |
40 | 0, 6, 40, 76, 118, 153, 191, 231, | - |
41 | 273, 313, 349, 384, 421, 461, 501, 540, | - |
42 | 581, 617, 661, 705, 746, 789, 833, 874, | - |
43 | 916, 961, 1005 | - |
44 | }; | - |
45 | | - |
46 | static const int errorMessages_count = sizeof errorMessages_indices / | - |
47 | sizeof errorMessages_indices[0]; | - |
48 | | - |
49 | static inline const char *get(QDBusError::ErrorType code) | - |
50 | { | - |
51 | int intcode = qBound(0, int(code) - int(QDBusError::Other), errorMessages_count); | - |
52 | returnexecuted 409 times by 13 tests: return errorMessages_string + errorMessages_indices[intcode]; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - 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
- tst_qdbusthreading - unknown status
errorMessages_string + errorMessages_indices[intcode];executed 409 times by 13 tests: return errorMessages_string + errorMessages_indices[intcode]; Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - 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
- tst_qdbusthreading - unknown status
| 409 |
53 | } | - |
54 | | - |
55 | | - |
56 | static inline QDBusError::ErrorType get(const char *name) | - |
57 | { | - |
58 | if (!nameTRUE | never evaluated | FALSE | evaluated 905 times by 32 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- ...
|
|| !*nameTRUE | never evaluated | FALSE | evaluated 905 times by 32 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- ...
|
) | 0-905 |
59 | return never executed: return QDBusError::NoError; QDBusError::NoError;never executed: return QDBusError::NoError; | 0 |
60 | for (int i = 0; i < errorMessages_countTRUE | evaluated 16421 times by 32 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- ...
| FALSE | evaluated 93 times by 24 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
|
; ++i) | 93-16421 |
61 | if (strcmp(name, errorMessages_string + errorMessages_indices[i]) == 0TRUE | evaluated 812 times by 31 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- ...
| FALSE | evaluated 15609 times by 32 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- ...
|
) | 812-15609 |
62 | returnexecuted 812 times by 31 tests: return QDBusError::ErrorType(i + int(QDBusError::Other)); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- ...
QDBusError::ErrorType(i + int(QDBusError::Other));executed 812 times by 31 tests: return QDBusError::ErrorType(i + int(QDBusError::Other)); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- ...
| 812 |
63 | returnexecuted 93 times by 24 tests: return QDBusError::Other; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
QDBusError::Other;executed 93 times by 24 tests: return QDBusError::Other; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| 93 |
64 | } | - |
65 | QDBusError::QDBusError() | - |
66 | : code(NoError) | - |
67 | { | - |
68 | | - |
69 | | - |
70 | (void)unused;; | - |
71 | }executed 10818 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
- ...
| 10818 |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | QDBusError::QDBusError(const DBusError *error) | - |
79 | : code(NoError) | - |
80 | { | - |
81 | if (!errorTRUE | never evaluated | FALSE | evaluated 11 times by 5 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
|| !q_dbus_error_is_set(error)TRUE | never evaluated | FALSE | evaluated 11 times by 5 testsEvaluated by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
|
) | 0-11 |
82 | return; never executed: return; | 0 |
83 | | - |
84 | code = ::get(error->name); | - |
85 | msg = QString::fromUtf8(error->message); | - |
86 | nm = QString::fromUtf8(error->name); | - |
87 | }executed 11 times by 5 tests: end of block Executed by:- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - unknown status
- tst_qdbusconnection_spyhook - unknown status
| 11 |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | QDBusError::QDBusError(const QDBusMessage &qdmsg) | - |
94 | : code(NoError) | - |
95 | { | - |
96 | if (qdmsg.type() != QDBusMessage::ErrorMessageTRUE | evaluated 2570 times by 158 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
| FALSE | evaluated 894 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- ...
|
) | 894-2570 |
97 | return;executed 2570 times by 158 tests: return; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
| 2570 |
98 | | - |
99 | code = ::get(qdmsg.errorName().toUtf8().constData()); | - |
100 | nm = qdmsg.errorName(); | - |
101 | msg = qdmsg.errorMessage(); | - |
102 | }executed 894 times by 30 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_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- ...
| 894 |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | QDBusError::QDBusError(ErrorType error, const QString &mess) | - |
110 | : code(error) | - |
111 | { | - |
112 | nm = QLatin1String(::get(error)); | - |
113 | msg = mess; | - |
114 | }executed 152 times by 12 tests: end of block Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_no_bus - unknown status
- tst_qdbusconnection_no_libdbus - 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
| 152 |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | QDBusError::QDBusError(const QDBusError &other) | - |
121 | : code(other.code), msg(other.msg), nm(other.nm) | - |
122 | { | - |
123 | }executed 459 times by 29 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_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- ...
| 459 |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | QDBusError &QDBusError::operator=(const QDBusError &other) | - |
131 | { | - |
132 | code = other.code; | - |
133 | msg = other.msg; | - |
134 | nm = other.nm; | - |
135 | returnexecuted 161 times by 29 tests: return *this; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
*this;executed 161 times by 29 tests: return *this; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- ...
| 161 |
136 | } | - |
137 | | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | QDBusError &QDBusError::operator=(const QDBusMessage &qdmsg) | - |
144 | { | - |
145 | if (qdmsg.type() == QDBusMessage::ErrorMessageTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
146 | code = ::get(qdmsg.errorName().toUtf8().constData()); | - |
147 | nm = qdmsg.errorName(); | - |
148 | msg = qdmsg.errorMessage(); | - |
149 | } never executed: end of block else { | 0 |
150 | code =NoError; | - |
151 | nm.clear(); | - |
152 | msg.clear(); | - |
153 | } never executed: end of block | 0 |
154 | return never executed: return *this; *this;never executed: return *this; | 0 |
155 | } | - |
156 | QDBusError::ErrorType QDBusError::type() const | - |
157 | { | - |
158 | returnexecuted 34 times by 9 tests: return code; Executed by:- tst_QSystemTrayIcon
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
code;executed 34 times by 9 tests: return code; Executed by:- tst_QSystemTrayIcon
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
| 34 |
159 | } | - |
160 | QString QDBusError::name() const | - |
161 | { | - |
162 | returnexecuted 130 times by 11 tests: return nm; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
nm;executed 130 times by 11 tests: return nm; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_delayed - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 130 |
163 | } | - |
164 | | - |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | QString QDBusError::message() const | - |
172 | { | - |
173 | returnexecuted 123 times by 9 tests: return msg; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusreply - unknown status
msg;executed 123 times by 9 tests: return msg; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusmetaobject - unknown status
- tst_qdbusreply - unknown status
| 123 |
174 | } | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
181 | bool QDBusError::isValid() const | - |
182 | { | - |
183 | returnexecuted 1617 times by 160 tests: return (code != NoError); 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
- ...
(code != NoError);executed 1617 times by 160 tests: return (code != NoError); 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
- ...
| 1617 |
184 | } | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
190 | QString QDBusError::errorString(ErrorType error) | - |
191 | { | - |
192 | returnexecuted 257 times by 8 tests: return QLatin1String(::get(error)); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
QLatin1String(::get(error));executed 257 times by 8 tests: return QLatin1String(::get(error)); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
| 257 |
193 | } | - |
194 | | - |
195 | | - |
196 | QDebug operator<<(QDebug dbg, const QDBusError &msg) | - |
197 | { | - |
198 | QDebugStateSaver saver(dbg); | - |
199 | dbg.nospace() << "QDBusError(" << msg.name() << ", " << msg.message() << ')'; | - |
200 | return never executed: return dbg; dbg;never executed: return dbg; | 0 |
201 | } | - |
202 | | - |
203 | | - |
204 | | - |
| | |