Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | namespace { | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | class DisconnectRelayEvent : public QMetaCallEvent | - |
18 | { | - |
19 | public: | - |
20 | DisconnectRelayEvent(QObject *sender, const QMetaMethod &m) | - |
21 | : QMetaCallEvent(0, 0, nullptr, sender, m.methodIndex()) | - |
22 | {}executed 102 times by 21 tests: end of block Executed by:- tst_QNetworkConfigurationManager
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| 102 |
23 | | - |
24 | void placeMetaCall(QObject *object) override | - |
25 | { | - |
26 | QDBusAbstractInterface *iface = static_cast<QDBusAbstractInterface *>(object); | - |
27 | QDBusAbstractInterfacePrivate::finishDisconnectNotify(iface, signalId()); | - |
28 | }executed 15 times by 2 tests: end of block Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| 15 |
29 | }; | - |
30 | } | - |
31 | | - |
32 | static QDBusError checkIfValid(const QString &service, const QString &path, | - |
33 | const QString &interface, bool isDynamic, bool isPeer) | - |
34 | { | - |
35 | | - |
36 | QDBusError error; | - |
37 | | - |
38 | | - |
39 | | - |
40 | if (!isDynamicTRUE | evaluated 914 times by 160 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 135 times by 12 testsEvaluated by:- tst_QSystemTrayIcon
- 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_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
|
) { | 135-914 |
41 | | - |
42 | ((!(!interface.isEmpty())) ? qt_assert_x("QDBusAbstractInterface", "Interface name cannot be empty",__FILE__,94) : qt_noop()); | - |
43 | }executed 914 times by 160 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
- ...
| 914 |
44 | if (!QDBusUtil::checkBusName(service, (isDynamic && !isPeer) ? QDBusUtil::EmptyNotAllowed : QDBusUtil::EmptyAllowed, &error)TRUE | evaluated 7 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 1042 times by 160 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
- ...
|
) | 7-1042 |
45 | returnexecuted 7 times by 1 test: return error; Executed by:- tst_qdbusabstractinterface - unknown status
error;executed 7 times by 1 test: return error; Executed by:- tst_qdbusabstractinterface - unknown status
| 7 |
46 | if (!QDBusUtil::checkObjectPath(path, isDynamic ? QDBusUtil::EmptyNotAllowed : QDBusUtil::EmptyAllowed, &error)TRUE | evaluated 15 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 1027 times by 160 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
- ...
|
) | 15-1027 |
47 | returnexecuted 15 times by 2 tests: return error; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
error;executed 15 times by 2 tests: return error; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| 15 |
48 | if (!QDBusUtil::checkInterfaceName(interface, QDBusUtil::EmptyAllowed, &error)TRUE | never evaluated | FALSE | evaluated 1027 times by 160 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
|
) | 0-1027 |
49 | return never executed: return error; error;never executed: return error; | 0 |
50 | | - |
51 | | - |
52 | returnexecuted 1027 times by 160 tests: return QDBusError(); 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
- ...
QDBusError();executed 1027 times by 160 tests: return QDBusError(); 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
- ...
| 1027 |
53 | } | - |
54 | | - |
55 | QDBusAbstractInterfacePrivate::QDBusAbstractInterfacePrivate(const QString &serv, | - |
56 | const QString &p, | - |
57 | const QString &iface, | - |
58 | const QDBusConnection& con, | - |
59 | bool isDynamic) | - |
60 | : connection(con), service(serv), path(p), interface(iface), | - |
61 | lastError(checkIfValid(serv, p, iface, isDynamic, (connectionPrivate() && | - |
62 | connectionPrivate()->mode == QDBusConnectionPrivate::PeerMode))), | - |
63 | timeout(-1), | - |
64 | isValid(!lastError.isValid()) | - |
65 | { | - |
66 | if (!isValidTRUE | evaluated 22 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 1027 times by 160 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
- ...
|
) | 22-1027 |
67 | return;executed 22 times by 2 tests: return; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| 22 |
68 | | - |
69 | if (!connection.isConnected()TRUE | evaluated 8 times by 8 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
- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 1019 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
- ...
|
) { | 8-1019 |
70 | lastError = QDBusError(QDBusError::Disconnected, | - |
71 | QDBusUtil::disconnectedErrorMessage()); | - |
72 | }executed 8 times by 8 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
- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
else if (!service.isEmpty()TRUE | evaluated 914 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 105 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
) { | 8-914 |
73 | currentOwner = connectionPrivate()->getNameOwner(service); | - |
74 | if (currentOwner.isEmpty()TRUE | evaluated 41 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 873 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
- ...
|
) { | 41-873 |
75 | lastError = connectionPrivate()->lastError; | - |
76 | }executed 41 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_QSystemTrayIcon
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| 41 |
77 | }executed 914 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
- ...
| 914 |
78 | }executed 1027 times by 160 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
- ...
| 1027 |
79 | | - |
80 | void QDBusAbstractInterfacePrivate::initOwnerTracking() | - |
81 | { | - |
82 | if (!isValidTRUE | evaluated 22 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 1027 times by 160 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
- ...
|
|| !connection.isConnected()TRUE | evaluated 8 times by 8 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
- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| FALSE | evaluated 1019 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
- ...
|
|| !connectionPrivate()->shouldWatchService(service)TRUE | evaluated 427 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 592 times by 154 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
- ...
|
) | 8-1027 |
83 | return;executed 457 times by 160 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
- ...
| 457 |
84 | QObject::connect(new QDBusServiceWatcher(service, connection, QDBusServiceWatcher::WatchForOwnerChange, q_func()), | - |
85 | qFlagLocation("2""serviceOwnerChanged(QString,QString,QString)" "\0" __FILE__ ":" "137"), | - |
86 | q_func(), qFlagLocation("1""_q_serviceOwnerChanged(QString,QString,QString)" "\0" __FILE__ ":" "138")); | - |
87 | }executed 592 times by 154 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
- ...
| 592 |
88 | | - |
89 | bool QDBusAbstractInterfacePrivate::canMakeCalls() const | - |
90 | { | - |
91 | | - |
92 | | - |
93 | if (service.isEmpty()TRUE | evaluated 114 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 916 times by 157 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
|
&& connectionPrivate()->mode != QDBusConnectionPrivate::PeerModeTRUE | evaluated 12 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 102 times by 3 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
) | 12-916 |
94 | returnexecuted 12 times by 1 test: return QDBusUtil::checkBusName(service, QDBusUtil::EmptyNotAllowed, &lastError); Executed by:- tst_qdbusabstractinterface - unknown status
QDBusUtil::checkBusName(service, QDBusUtil::EmptyNotAllowed, &lastError);executed 12 times by 1 test: return QDBusUtil::checkBusName(service, QDBusUtil::EmptyNotAllowed, &lastError); Executed by:- tst_qdbusabstractinterface - unknown status
| 12 |
95 | if (path.isEmpty()TRUE | evaluated 12 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 1006 times by 157 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
|
) | 12-1006 |
96 | returnexecuted 12 times by 1 test: return QDBusUtil::checkObjectPath(path, QDBusUtil::EmptyNotAllowed, &lastError); Executed by:- tst_qdbusabstractinterface - unknown status
QDBusUtil::checkObjectPath(path, QDBusUtil::EmptyNotAllowed, &lastError);executed 12 times by 1 test: return QDBusUtil::checkObjectPath(path, QDBusUtil::EmptyNotAllowed, &lastError); Executed by:- tst_qdbusabstractinterface - unknown status
| 12 |
97 | returnexecuted 1006 times by 157 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 1006 times by 157 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
- ...
| 1006 |
98 | } | - |
99 | | - |
100 | bool QDBusAbstractInterfacePrivate::property(const QMetaProperty &mp, void *returnValuePtr) const | - |
101 | { | - |
102 | if (!isValidTRUE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 204 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
|
|| !canMakeCalls()TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 196 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
|
) | 6-204 |
103 | returnexecuted 14 times by 1 test: return false; Executed by:- tst_qdbusabstractinterface - unknown status
false;executed 14 times by 1 test: return false; Executed by:- tst_qdbusabstractinterface - unknown status
| 14 |
104 | | - |
105 | const int type = mp.userType(); | - |
106 | | - |
107 | const char *expectedSignature = ""; | - |
108 | if (int(mp.type()) != QMetaType::QVariantTRUE | evaluated 196 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
) { | 0-196 |
109 | expectedSignature = QDBusMetaType::typeToSignature(type); | - |
110 | if (expectedSignature == 0TRUE | never evaluated | FALSE | evaluated 196 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
|
) { | 0-196 |
111 | QMessageLogger(__FILE__, 163, __PRETTY_FUNCTION__).warning("QDBusAbstractInterface: type %s must be registered with Qt D-Bus before it can be " | - |
112 | "used to read property %s.%s", | - |
113 | mp.typeName(), QString(interface).toLocal8Bit().constData(), mp.name()); | - |
114 | lastError = QDBusError(QDBusError::Failed, | - |
115 | QString::fromLatin1("Unregistered type %1 cannot be handled") | - |
116 | .arg(QLatin1String(mp.typeName()))); | - |
117 | return never executed: return false; false;never executed: return false; | 0 |
118 | } | - |
119 | }executed 196 times by 130 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
| 196 |
120 | | - |
121 | | - |
122 | QDBusMessage msg = QDBusMessage::createMethodCall(service, path, | - |
123 | QDBusUtil::dbusInterfaceProperties(), | - |
124 | ([]() -> QString { enum { Size = sizeof(u"" "Get")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Get" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 196 times by 130 tests: return qstring_literal_temp; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
qstring_literal_temp;executed 196 times by 130 tests: return qstring_literal_temp; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
}())); | 196 |
125 | QDBusMessagePrivate::setParametersValidated(msg, true); | - |
126 | msg << interface << QString::fromUtf8(mp.name()); | - |
127 | QDBusMessage reply = connection.call(msg, QDBus::Block, timeout); | - |
128 | | - |
129 | if (reply.type() != QDBusMessage::ReplyMessageTRUE | never evaluated | FALSE | evaluated 196 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
|
) { | 0-196 |
130 | lastError = QDBusError(reply); | - |
131 | return never executed: return false; false;never executed: return false; | 0 |
132 | } | - |
133 | if (reply.signature() != QLatin1String("v")TRUE | never evaluated | FALSE | evaluated 196 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
|
) { | 0-196 |
134 | QString errmsg = QLatin1String("Invalid signature `%1' in return from call to " | - |
135 | "org.freedesktop.DBus.Properties"); | - |
136 | lastError = QDBusError(QDBusError::InvalidSignature, std::move(errmsg).arg(reply.signature())); | - |
137 | return never executed: return false; false;never executed: return false; | 0 |
138 | } | - |
139 | | - |
140 | QByteArray foundSignature; | - |
141 | const char *foundType = 0; | - |
142 | QVariant value = qvariant_cast<QDBusVariant>(reply.arguments().at(0)).variant(); | - |
143 | | - |
144 | if (value.userType() == typeTRUE | evaluated 190 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
|| type == QMetaType::QVariantTRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
| 0-190 |
145 | || (expectedSignature[0] == 'v'TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
&& expectedSignature[1] == '\0'TRUE | never evaluated | FALSE | never evaluated |
)) { | 0-6 |
146 | | - |
147 | if (type == QMetaType::QVariantTRUE | never evaluated | FALSE | evaluated 190 times by 130 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
|
) { | 0-190 |
148 | *reinterpret_cast<QVariant*>(returnValuePtr) = value; | - |
149 | } never executed: end of block else { | 0 |
150 | QMetaType::destruct(type, returnValuePtr); | - |
151 | QMetaType::construct(type, returnValuePtr, value.constData()); | - |
152 | }executed 190 times by 130 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
| 190 |
153 | returnexecuted 190 times by 130 tests: return true; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
true;executed 190 times by 130 tests: return true; Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- 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
- tst_QDial
- tst_QDialog
- ...
| 190 |
154 | } | - |
155 | | - |
156 | if (value.userType() == qMetaTypeId<QDBusArgument>()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | never evaluated |
) { | 0-6 |
157 | QDBusArgument arg = qvariant_cast<QDBusArgument>(value); | - |
158 | | - |
159 | foundType = "user type"; | - |
160 | foundSignature = arg.currentSignature().toLatin1(); | - |
161 | if (foundSignature == expectedSignatureTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | never evaluated |
) { | 0-6 |
162 | | - |
163 | returnexecuted 6 times by 2 tests: return QDBusMetaType::demarshall(arg, type, returnValuePtr); Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
QDBusMetaType::demarshall(arg, type, returnValuePtr);executed 6 times by 2 tests: return QDBusMetaType::demarshall(arg, type, returnValuePtr); Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| 6 |
164 | } | - |
165 | } never executed: end of block else { | 0 |
166 | foundType = value.typeName(); | - |
167 | foundSignature = QDBusMetaType::typeToSignature(value.userType()); | - |
168 | } never executed: end of block | 0 |
169 | | - |
170 | | - |
171 | QString errmsg = QLatin1String("Unexpected `%1' (%2) when retrieving property `%3.%4' " | - |
172 | "(expected type `%5' (%6))"); | - |
173 | lastError = QDBusError(QDBusError::InvalidSignature, | - |
174 | errmsg.arg(QString::fromLatin1(foundType), | - |
175 | QString::fromLatin1(foundSignature), | - |
176 | interface, | - |
177 | QString::fromUtf8(mp.name()), | - |
178 | QString::fromLatin1(mp.typeName()), | - |
179 | QString::fromLatin1(expectedSignature))); | - |
180 | return never executed: return false; false;never executed: return false; | 0 |
181 | } | - |
182 | | - |
183 | bool QDBusAbstractInterfacePrivate::setProperty(const QMetaProperty &mp, const QVariant &value) | - |
184 | { | - |
185 | if (!isValidTRUE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
|| !canMakeCalls()TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
) | 6-24 |
186 | returnexecuted 14 times by 1 test: return false; Executed by:- tst_qdbusabstractinterface - unknown status
false;executed 14 times by 1 test: return false; Executed by:- tst_qdbusabstractinterface - unknown status
| 14 |
187 | | - |
188 | | - |
189 | QDBusMessage msg = QDBusMessage::createMethodCall(service, path, | - |
190 | QDBusUtil::dbusInterfaceProperties(), | - |
191 | ([]() -> QString { enum { Size = sizeof(u"" "Set")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Set" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 16 times by 2 tests: return qstring_literal_temp; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
qstring_literal_temp;executed 16 times by 2 tests: return qstring_literal_temp; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
}())); | 16 |
192 | QDBusMessagePrivate::setParametersValidated(msg, true); | - |
193 | msg << interface << QString::fromUtf8(mp.name()) << QVariant::fromValue(QDBusVariant(value)); | - |
194 | QDBusMessage reply = connection.call(msg, QDBus::Block, timeout); | - |
195 | | - |
196 | if (reply.type() != QDBusMessage::ReplyMessageTRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
) { | 0-16 |
197 | lastError = QDBusError(reply); | - |
198 | return never executed: return false; false;never executed: return false; | 0 |
199 | } | - |
200 | returnexecuted 16 times by 2 tests: return true; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
true;executed 16 times by 2 tests: return true; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| 16 |
201 | } | - |
202 | | - |
203 | void QDBusAbstractInterfacePrivate::_q_serviceOwnerChanged(const QString &name, | - |
204 | const QString &oldOwner, | - |
205 | const QString &newOwner) | - |
206 | { | - |
207 | (void)oldOwner;; | - |
208 | (void)name;; | - |
209 | | - |
210 | ((!(name == service)) ? qt_assert("name == service",__FILE__,262) : qt_noop()); | - |
211 | currentOwner = newOwner; | - |
212 | }executed 2 times by 2 tests: end of block Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| 2 |
213 | | - |
214 | QDBusAbstractInterfaceBase::QDBusAbstractInterfaceBase(QDBusAbstractInterfacePrivate &d, QObject *parent) | - |
215 | : QObject(d, parent) | - |
216 | { | - |
217 | }executed 1049 times by 160 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
- ...
| 1049 |
218 | | - |
219 | int QDBusAbstractInterfaceBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
220 | { | - |
221 | int saved_id = _id; | - |
222 | _id = QObject::qt_metacall(_c, _id, _a); | - |
223 | if (_id < 0) | - |
224 | return _id; | - |
225 | | - |
226 | if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty) { | - |
227 | QMetaProperty mp = metaObject()->property(saved_id); | - |
228 | int &status = *reinterpret_cast<int *>(_a[2]); | - |
229 | | - |
230 | if (_c == QMetaObject::WriteProperty) { | - |
231 | QVariant value; | - |
232 | if (mp.userType() == qMetaTypeId<QDBusVariant>()) | - |
233 | value = reinterpret_cast<const QDBusVariant*>(_a[0])->variant(); | - |
234 | else | - |
235 | value = QVariant(mp.userType(), _a[0]); | - |
236 | status = d_func()->setProperty(mp, value) ? 1 : 0; | - |
237 | } else { | - |
238 | bool readStatus = d_func()->property(mp, _a[0]); | - |
239 | | - |
240 | | - |
241 | if (!readStatus && _a[1]) { | - |
242 | status = 0; | - |
243 | reinterpret_cast<QVariant*>(_a[1])->clear(); | - |
244 | } | - |
245 | } | - |
246 | _id = -1; | - |
247 | } | - |
248 | return _id; | - |
249 | } | - |
250 | QDBusAbstractInterface::QDBusAbstractInterface(QDBusAbstractInterfacePrivate &d, QObject *parent) | - |
251 | : QDBusAbstractInterfaceBase(d, parent) | - |
252 | { | - |
253 | d.initOwnerTracking(); | - |
254 | }executed 135 times by 12 tests: end of block Executed by:- tst_QSystemTrayIcon
- 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_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdbusthreading - unknown status
| 135 |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | | - |
261 | QDBusAbstractInterface::QDBusAbstractInterface(const QString &service, const QString &path, | - |
262 | const char *interface, const QDBusConnection &con, | - |
263 | QObject *parent) | - |
264 | : QDBusAbstractInterfaceBase(*new QDBusAbstractInterfacePrivate(service, path, QString::fromLatin1(interface), | - |
265 | con, false), parent) | - |
266 | { | - |
267 | | - |
268 | d_func()->initOwnerTracking(); | - |
269 | }executed 914 times by 160 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
- ...
| 914 |
270 | | - |
271 | | - |
272 | | - |
273 | | - |
274 | QDBusAbstractInterface::~QDBusAbstractInterface() | - |
275 | { | - |
276 | } | - |
277 | bool QDBusAbstractInterface::isValid() const | - |
278 | { | - |
279 | const QDBusAbstractInterfacePrivate * const d = d_func(); | - |
280 | | - |
281 | if (d->connectionPrivate()TRUE | evaluated 243 times by 27 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_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- ...
| FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
&& d->connectionPrivate()->mode == QDBusConnectionPrivate::PeerModeTRUE | evaluated 7 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 236 times by 27 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_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- ...
|
) { | 4-243 |
282 | returnexecuted 7 times by 1 test: return d->isValid; Executed by:- tst_qdbusabstractinterface - unknown status
d->isValid;executed 7 times by 1 test: return d->isValid; Executed by:- tst_qdbusabstractinterface - unknown status
| 7 |
283 | } else { | - |
284 | returnexecuted 240 times by 27 tests: return !d->currentOwner.isEmpty(); 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_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- ...
!d->currentOwner.isEmpty();executed 240 times by 27 tests: return !d->currentOwner.isEmpty(); 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_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingcall - unknown status
- tst_qdbuspendingreply - unknown status
- ...
| 240 |
285 | } | - |
286 | } | - |
287 | | - |
288 | | - |
289 | | - |
290 | | - |
291 | QDBusConnection QDBusAbstractInterface::connection() const | - |
292 | { | - |
293 | returnexecuted 1 time by 1 test: return d_func()->connection; Executed by:- tst_qdbusabstractinterface - unknown status
d_func()->connection;executed 1 time by 1 test: return d_func()->connection; Executed by:- tst_qdbusabstractinterface - unknown status
| 1 |
294 | } | - |
295 | | - |
296 | | - |
297 | | - |
298 | | - |
299 | QString QDBusAbstractInterface::service() const | - |
300 | { | - |
301 | returnexecuted 888 times by 175 tests: return d_func()->service; 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
- ...
d_func()->service;executed 888 times by 175 tests: return d_func()->service; 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
- ...
| 888 |
302 | } | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | QString QDBusAbstractInterface::path() const | - |
308 | { | - |
309 | returnexecuted 1050 times by 178 tests: return d_func()->path; 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
- ...
d_func()->path;executed 1050 times by 178 tests: return d_func()->path; 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
- ...
| 1050 |
310 | } | - |
311 | | - |
312 | | - |
313 | | - |
314 | | - |
315 | QString QDBusAbstractInterface::interface() const | - |
316 | { | - |
317 | returnexecuted 794 times by 157 tests: return d_func()->interface; 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
- ...
d_func()->interface;executed 794 times by 157 tests: return d_func()->interface; 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
- ...
| 794 |
318 | } | - |
319 | | - |
320 | | - |
321 | | - |
322 | | - |
323 | | - |
324 | QDBusError QDBusAbstractInterface::lastError() const | - |
325 | { | - |
326 | returnexecuted 49 times by 1 test: return d_func()->lastError; Executed by:- tst_qdbusabstractinterface - unknown status
d_func()->lastError;executed 49 times by 1 test: return d_func()->lastError; Executed by:- tst_qdbusabstractinterface - unknown status
| 49 |
327 | } | - |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | | - |
333 | | - |
334 | | - |
335 | void QDBusAbstractInterface::setTimeout(int timeout) | - |
336 | { | - |
337 | d_func()->timeout = timeout; | - |
338 | }executed 3 times by 1 test: end of block Executed by:- tst_qdbusabstractinterface - unknown status
| 3 |
339 | | - |
340 | | - |
341 | | - |
342 | | - |
343 | | - |
344 | | - |
345 | | - |
346 | int QDBusAbstractInterface::timeout() const | - |
347 | { | - |
348 | return never executed: return d_func()->timeout; d_func()->timeout;never executed: return d_func()->timeout; | 0 |
349 | } | - |
350 | QDBusMessage QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode mode, | - |
351 | const QString& method, | - |
352 | const QList<QVariant>& args) | - |
353 | { | - |
354 | QDBusAbstractInterfacePrivate * const d = d_func(); | - |
355 | | - |
356 | if (!d->isValidTRUE | never evaluated | FALSE | evaluated 697 times by 156 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
|
|| !d->canMakeCalls()TRUE | never evaluated | FALSE | evaluated 697 times by 156 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
|
) | 0-697 |
357 | return never executed: return QDBusMessage::createError(d->lastError); QDBusMessage::createError(d->lastError);never executed: return QDBusMessage::createError(d->lastError); | 0 |
358 | | - |
359 | QString m = method; | - |
360 | | - |
361 | int pos = method.indexOf(QLatin1Char('.')); | - |
362 | if (pos != -1TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusabstractadaptor - unknown status
| FALSE | evaluated 693 times by 156 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- ...
|
) | 4-693 |
363 | m.truncate(pos);executed 4 times by 1 test: m.truncate(pos); Executed by:- tst_qdbusabstractadaptor - unknown status
| 4 |
364 | | - |
365 | if (mode == QDBus::AutoDetectTRUE | evaluated 369 times by 155 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 328 times by 23 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusreply - unknown status
|
) { | 328-369 |
366 | | - |
367 | mode = QDBus::Block; | - |
368 | const QMetaObject *mo = metaObject(); | - |
369 | QByteArray match = m.toLatin1(); | - |
370 | | - |
371 | for (int i = staticMetaObject.methodCount(); i < mo->methodCount()TRUE | evaluated 5318 times by 155 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 340 times by 153 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
- ...
|
; ++i) { | 340-5318 |
372 | QMetaMethod mm = mo->method(i); | - |
373 | if (mm.name() == matchTRUE | evaluated 29 times by 5 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 5289 times by 155 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
- ...
|
) { | 29-5289 |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | QList<QByteArray> tags = QByteArray(mm.tag()).split(' '); | - |
379 | if (tags.contains("Q_NOREPLY")TRUE | never evaluated | FALSE | evaluated 29 times by 5 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-29 |
380 | mode = QDBus::NoBlock; never executed: mode = QDBus::NoBlock; | 0 |
381 | | - |
382 | break;executed 29 times by 5 tests: break; Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusthreading - unknown status
| 29 |
383 | } | - |
384 | }executed 5289 times by 155 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
- ...
| 5289 |
385 | }executed 369 times by 155 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
- ...
| 369 |
386 | | - |
387 | | - |
388 | QDBusMessage msg = QDBusMessage::createMethodCall(service(), path(), interface(), m); | - |
389 | QDBusMessagePrivate::setParametersValidated(msg, true); | - |
390 | msg.setArguments(args); | - |
391 | | - |
392 | QDBusMessage reply = d->connection.call(msg, mode, d->timeout); | - |
393 | if (thread() == QThread::currentThread()TRUE | evaluated 411 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- ...
| FALSE | evaluated 286 times by 153 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
- ...
|
) | 286-411 |
394 | d->lastError = QDBusError(reply);executed 411 times by 26 tests: d->lastError = QDBusError(reply); 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_qdbusinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- ...
| 411 |
395 | | - |
396 | | - |
397 | if (reply.arguments().isEmpty()TRUE | evaluated 93 times by 7 testsEvaluated by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 604 times by 155 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
- ...
|
) | 93-604 |
398 | reply << QVariant();executed 93 times by 7 tests: reply << QVariant(); Executed by:- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusconnection - unknown status
- tst_qdbusconnection_no_app - unknown status
- tst_qdbusconnection_spyhook - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbusthreading - unknown status
| 93 |
399 | | - |
400 | returnexecuted 697 times by 156 tests: return reply; 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
- ...
reply;executed 697 times by 156 tests: return reply; 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
- ...
| 697 |
401 | } | - |
402 | QDBusPendingCall QDBusAbstractInterface::asyncCallWithArgumentList(const QString& method, | - |
403 | const QList<QVariant>& args) | - |
404 | { | - |
405 | QDBusAbstractInterfacePrivate * const d = d_func(); | - |
406 | | - |
407 | if (!d->isValidTRUE | evaluated 6 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 99 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
|| !d->canMakeCalls()TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 91 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
|
) | 6-99 |
408 | returnexecuted 14 times by 1 test: return QDBusPendingCall::fromError(d->lastError); Executed by:- tst_qdbusabstractinterface - unknown status
QDBusPendingCall::fromError(d->lastError);executed 14 times by 1 test: return QDBusPendingCall::fromError(d->lastError); Executed by:- tst_qdbusabstractinterface - unknown status
| 14 |
409 | | - |
410 | QDBusMessage msg = QDBusMessage::createMethodCall(service(), path(), interface(), method); | - |
411 | QDBusMessagePrivate::setParametersValidated(msg, true); | - |
412 | msg.setArguments(args); | - |
413 | returnexecuted 91 times by 19 tests: return d->connection.asyncCall(msg, d->timeout); 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_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
d->connection.asyncCall(msg, d->timeout);executed 91 times by 19 tests: return d->connection.asyncCall(msg, d->timeout); 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_qdbusabstractinterface - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 91 |
414 | } | - |
415 | bool QDBusAbstractInterface::callWithCallback(const QString &method, | - |
416 | const QList<QVariant> &args, | - |
417 | QObject *receiver, | - |
418 | const char *returnMethod, | - |
419 | const char *errorMethod) | - |
420 | { | - |
421 | QDBusAbstractInterfacePrivate * const d = d_func(); | - |
422 | | - |
423 | if (!d->isValidTRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
|
|| !d->canMakeCalls()TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-6 |
424 | return never executed: return false; false;never executed: return false; | 0 |
425 | | - |
426 | QDBusMessage msg = QDBusMessage::createMethodCall(service(), | - |
427 | path(), | - |
428 | interface(), | - |
429 | method); | - |
430 | QDBusMessagePrivate::setParametersValidated(msg, true); | - |
431 | msg.setArguments(args); | - |
432 | | - |
433 | d->lastError = QDBusError(); | - |
434 | returnexecuted 6 times by 2 tests: return d->connection.callWithCallback(msg, receiver, returnMethod, errorMethod, d->timeout); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
d->connection.callWithCallback(msg,executed 6 times by 2 tests: return d->connection.callWithCallback(msg, receiver, returnMethod, errorMethod, d->timeout); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
| 6 |
435 | receiver,executed 6 times by 2 tests: return d->connection.callWithCallback(msg, receiver, returnMethod, errorMethod, d->timeout); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
| 6 |
436 | returnMethod,executed 6 times by 2 tests: return d->connection.callWithCallback(msg, receiver, returnMethod, errorMethod, d->timeout); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
| 6 |
437 | errorMethod,executed 6 times by 2 tests: return d->connection.callWithCallback(msg, receiver, returnMethod, errorMethod, d->timeout); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
| 6 |
438 | d->timeout);executed 6 times by 2 tests: return d->connection.callWithCallback(msg, receiver, returnMethod, errorMethod, d->timeout); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
| 6 |
439 | } | - |
440 | bool QDBusAbstractInterface::callWithCallback(const QString &method, | - |
441 | const QList<QVariant> &args, | - |
442 | QObject *receiver, | - |
443 | const char *slot) | - |
444 | { | - |
445 | returnexecuted 5 times by 2 tests: return callWithCallback(method, args, receiver, slot, 0); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
callWithCallback(method, args, receiver, slot, 0);executed 5 times by 2 tests: return callWithCallback(method, args, receiver, slot, 0); Executed by:- tst_qdbuspendingcall - unknown status
- tst_qdbusthreading - unknown status
| 5 |
446 | } | - |
447 | | - |
448 | | - |
449 | | - |
450 | | - |
451 | | - |
452 | void QDBusAbstractInterface::connectNotify(const QMetaMethod &signal) | - |
453 | { | - |
454 | | - |
455 | QDBusAbstractInterfacePrivate * const d = d_func(); | - |
456 | if (!d->isValidTRUE | never evaluated | FALSE | evaluated 387 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
|
) | 0-387 |
457 | return; never executed: return; | 0 |
458 | | - |
459 | | - |
460 | static const QMetaMethod destroyedSignal = QMetaMethod::fromSignal(&QDBusAbstractInterface::destroyed); | - |
461 | if (signal == destroyedSignalTRUE | evaluated 200 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| FALSE | evaluated 187 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
|
) | 187-200 |
462 | return;executed 200 times by 19 tests: return; 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_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| 200 |
463 | | - |
464 | QDBusConnectionPrivate *conn = d->connectionPrivate(); | - |
465 | if (connTRUE | evaluated 187 times by 19 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| FALSE | never evaluated |
) { | 0-187 |
466 | conn->connectRelay(d->service, d->path, d->interface, | - |
467 | this, signal); | - |
468 | }executed 187 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_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| 187 |
469 | }executed 187 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_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusthreading - unknown status
| 187 |
470 | | - |
471 | | - |
472 | | - |
473 | | - |
474 | | - |
475 | void QDBusAbstractInterface::disconnectNotify(const QMetaMethod &signal) | - |
476 | { | - |
477 | | - |
478 | QDBusAbstractInterfacePrivate * const d = d_func(); | - |
479 | if (!d->isValidTRUE | never evaluated | FALSE | evaluated 102 times by 21 testsEvaluated by:- tst_QNetworkConfigurationManager
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
|
) | 0-102 |
480 | return; never executed: return; | 0 |
481 | | - |
482 | | - |
483 | | - |
484 | QCoreApplication::postEvent(this, new DisconnectRelayEvent(this, signal)); | - |
485 | }executed 102 times by 21 tests: end of block Executed by:- tst_QNetworkConfigurationManager
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| 102 |
486 | | - |
487 | | - |
488 | | - |
489 | | - |
490 | | - |
491 | void QDBusAbstractInterfacePrivate::finishDisconnectNotify(QDBusAbstractInterface *ptr, int signalId) | - |
492 | { | - |
493 | QDBusAbstractInterfacePrivate *d = ptr->d_func(); | - |
494 | QDBusConnectionPrivate *conn = d->connectionPrivate(); | - |
495 | if (!connTRUE | never evaluated | FALSE | evaluated 15 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
) | 0-15 |
496 | return; never executed: return; | 0 |
497 | | - |
498 | const QMetaObject *mo = ptr->metaObject(); | - |
499 | QMetaMethod signal = signalId >= 0TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
|
? mo->method(signalId) : QMetaMethod(); | 4-11 |
500 | if (signal.isValid()TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
|
) { | 4-11 |
501 | if (!ptr->isSignalConnected(signal)TRUE | never evaluated | FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
|
) | 0-11 |
502 | return never executed: return conn->disconnectRelay(d->service, d->path, d->interface, ptr, signal); conn->disconnectRelay(d->service, d->path, d->interface,never executed: return conn->disconnectRelay(d->service, d->path, d->interface, ptr, signal); | 0 |
503 | ptr, signal); never executed: return conn->disconnectRelay(d->service, d->path, d->interface, ptr, signal); | 0 |
504 | }executed 11 times by 2 tests: end of block Executed by:- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
else { | 11 |
505 | | - |
506 | | - |
507 | int midx = QObject::staticMetaObject.methodCount(); | - |
508 | const int end = mo->methodCount(); | - |
509 | for ( ; midx < endTRUE | evaluated 40 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
|
; ++midx) { | 4-40 |
510 | QMetaMethod mm = mo->method(midx); | - |
511 | if (mm.methodType() == QMetaMethod::SignalTRUE | evaluated 12 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 28 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
|
&& !ptr->isSignalConnected(mm)TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
| FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qdbusabstractinterface - unknown status
|
) | 4-28 |
512 | conn->disconnectRelay(d->service, d->path, d->interface, ptr, mm);executed 8 times by 1 test: conn->disconnectRelay(d->service, d->path, d->interface, ptr, mm); Executed by:- tst_qdbusabstractinterface - unknown status
| 8 |
513 | }executed 40 times by 1 test: end of block Executed by:- tst_qdbusabstractinterface - unknown status
| 40 |
514 | }executed 4 times by 1 test: end of block Executed by:- tst_qdbusabstractinterface - unknown status
| 4 |
515 | } | - |
516 | | - |
517 | | - |
518 | | - |
519 | | - |
520 | | - |
521 | QVariant QDBusAbstractInterface::internalPropGet(const char *propname) const | - |
522 | { | - |
523 | | - |
524 | | - |
525 | | - |
526 | return never executed: return property(propname); property(propname);never executed: return property(propname); | 0 |
527 | } | - |
528 | | - |
529 | | - |
530 | | - |
531 | | - |
532 | | - |
533 | void QDBusAbstractInterface::internalPropSet(const char *propname, const QVariant &value) | - |
534 | { | - |
535 | setProperty(propname, value); | - |
536 | } never executed: end of block | 0 |
537 | QDBusMessage QDBusAbstractInterface::call(const QString &method, const QVariant &arg1, | - |
538 | const QVariant &arg2, | - |
539 | const QVariant &arg3, | - |
540 | const QVariant &arg4, | - |
541 | const QVariant &arg5, | - |
542 | const QVariant &arg6, | - |
543 | const QVariant &arg7, | - |
544 | const QVariant &arg8) | - |
545 | { | - |
546 | returnexecuted 127 times by 28 tests: return call(QDBus::AutoDetect, method, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); 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_delayed - 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
- ...
call(QDBus::AutoDetect, method, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);executed 127 times by 28 tests: return call(QDBus::AutoDetect, method, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); 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_delayed - 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
- ...
| 127 |
547 | } | - |
548 | QDBusMessage QDBusAbstractInterface::call(QDBus::CallMode mode, const QString &method, | - |
549 | const QVariant &arg1, | - |
550 | const QVariant &arg2, | - |
551 | const QVariant &arg3, | - |
552 | const QVariant &arg4, | - |
553 | const QVariant &arg5, | - |
554 | const QVariant &arg6, | - |
555 | const QVariant &arg7, | - |
556 | const QVariant &arg8) | - |
557 | { | - |
558 | QList<QVariant> argList; | - |
559 | int count = 0 + arg1.isValid() + arg2.isValid() + arg3.isValid() + arg4.isValid() + | - |
560 | arg5.isValid() + arg6.isValid() + arg7.isValid() + arg8.isValid(); | - |
561 | | - |
562 | switch (count) { | - |
563 | case never executed: case 8: 8:never executed: case 8: | 0 |
564 | argList.prepend(arg8); | - |
565 | | - |
566 | case never executed: case 7: 7:never executed: case 7: code before this statement never executed: case 7: | 0 |
567 | argList.prepend(arg7); | - |
568 | | - |
569 | case never executed: case 6: 6:never executed: case 6: code before this statement never executed: case 6: | 0 |
570 | argList.prepend(arg6); | - |
571 | | - |
572 | case never executed: case 5: 5:never executed: case 5: code before this statement never executed: case 5: | 0 |
573 | argList.prepend(arg5); | - |
574 | | - |
575 | case never executed: case 4: 4:never executed: case 4: code before this statement never executed: case 4: | 0 |
576 | argList.prepend(arg4); | - |
577 | | - |
578 | caseexecuted 12 times by 1 test: case 3: Executed by:- tst_qdbusabstractadaptor - unknown status
code before this statement never executed: case 3: executed 12 times by 1 test: case 3: Executed by:- tst_qdbusabstractadaptor - unknown status
3:code before this statement never executed: case 3: executed 12 times by 1 test: case 3: Executed by:- tst_qdbusabstractadaptor - unknown status
| 0-12 |
579 | argList.prepend(arg3); | - |
580 | | - |
581 | caseexecuted 59 times by 9 tests: case 2: 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_qdbusservicewatcher - unknown status
2:executed 59 times by 9 tests: case 2: 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_qdbusservicewatcher - unknown status
code before this statement executed 12 times by 1 test: case 2: Executed by:- tst_qdbusabstractadaptor - unknown status
| 12-59 |
582 | argList.prepend(arg2); | - |
583 | | - |
584 | caseexecuted 118 times by 9 tests: case 1: 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_qdbusservicewatcher - unknown status
1:executed 118 times by 9 tests: case 1: 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_qdbusservicewatcher - unknown status
code before this statement executed 71 times by 9 tests: case 1: 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_qdbusservicewatcher - unknown status
| 71-118 |
585 | argList.prepend(arg1); | - |
586 | }executed 118 times by 9 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_qdbusservicewatcher - unknown status
| 118 |
587 | | - |
588 | returnexecuted 311 times by 29 tests: return callWithArgumentList(mode, method, argList); 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_delayed - 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
- ...
callWithArgumentList(mode, method, argList);executed 311 times by 29 tests: return callWithArgumentList(mode, method, argList); 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_delayed - 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
- ...
| 311 |
589 | } | - |
590 | QDBusPendingCall QDBusAbstractInterface::asyncCall(const QString &method, const QVariant &arg1, | - |
591 | const QVariant &arg2, | - |
592 | const QVariant &arg3, | - |
593 | const QVariant &arg4, | - |
594 | const QVariant &arg5, | - |
595 | const QVariant &arg6, | - |
596 | const QVariant &arg7, | - |
597 | const QVariant &arg8) | - |
598 | { | - |
599 | QList<QVariant> argList; | - |
600 | int count = 0 + arg1.isValid() + arg2.isValid() + arg3.isValid() + arg4.isValid() + | - |
601 | arg5.isValid() + arg6.isValid() + arg7.isValid() + arg8.isValid(); | - |
602 | | - |
603 | switch (count) { | - |
604 | case never executed: case 8: 8:never executed: case 8: | 0 |
605 | argList.prepend(arg8); | - |
606 | | - |
607 | case never executed: case 7: 7:never executed: case 7: code before this statement never executed: case 7: | 0 |
608 | argList.prepend(arg7); | - |
609 | | - |
610 | case never executed: case 6: 6:never executed: case 6: code before this statement never executed: case 6: | 0 |
611 | argList.prepend(arg6); | - |
612 | | - |
613 | case never executed: case 5: 5:never executed: case 5: code before this statement never executed: case 5: | 0 |
614 | argList.prepend(arg5); | - |
615 | | - |
616 | case never executed: case 4: 4:never executed: case 4: code before this statement never executed: case 4: | 0 |
617 | argList.prepend(arg4); | - |
618 | | - |
619 | case never executed: case 3: 3:never executed: case 3: code before this statement never executed: case 3: | 0 |
620 | argList.prepend(arg3); | - |
621 | | - |
622 | case never executed: case 2: 2:never executed: case 2: code before this statement never executed: case 2: | 0 |
623 | argList.prepend(arg2); | - |
624 | | - |
625 | case never executed: case 1: 1:never executed: case 1: code before this statement never executed: case 1: | 0 |
626 | argList.prepend(arg1); | - |
627 | } never executed: end of block | 0 |
628 | | - |
629 | returnexecuted 39 times by 2 tests: return asyncCallWithArgumentList(method, argList); Executed by:- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
asyncCallWithArgumentList(method, argList);executed 39 times by 2 tests: return asyncCallWithArgumentList(method, argList); Executed by:- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
| 39 |
630 | } | - |
631 | | - |
632 | | - |
633 | | - |
634 | | - |
635 | QDBusMessage QDBusAbstractInterface::internalConstCall(QDBus::CallMode mode, | - |
636 | const QString &method, | - |
637 | const QList<QVariant> &args) const | - |
638 | { | - |
639 | | - |
640 | returnexecuted 242 times by 150 tests: return const_cast<QDBusAbstractInterface*>(this)->callWithArgumentList(mode, method, args); 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
- ...
const_cast<QDBusAbstractInterface*>(this)->callWithArgumentList(mode, method, args);executed 242 times by 150 tests: return const_cast<QDBusAbstractInterface*>(this)->callWithArgumentList(mode, method, args); 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
- ...
| 242 |
641 | } | - |
642 | | - |
643 | | - |
644 | | - |
645 | | - |
646 | | - |
| | |