Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include "qeventdispatcher_glib_p.h" | - |
41 | #include "qeventdispatcher_unix_p.h" | - |
42 | | - |
43 | #include <private/qthread_p.h> | - |
44 | | - |
45 | #include "qcoreapplication.h" | - |
46 | #include "qsocketnotifier.h" | - |
47 | | - |
48 | #include <QtCore/qlist.h> | - |
49 | #include <QtCore/qpair.h> | - |
50 | | - |
51 | #include <glib.h> | - |
52 | | - |
53 | QT_BEGIN_NAMESPACE | - |
54 | | - |
55 | struct GPollFDWithQSocketNotifier | - |
56 | { | - |
57 | GPollFD pollfd; | - |
58 | QSocketNotifier *socketNotifier; | - |
59 | }; | - |
60 | | - |
61 | struct GSocketNotifierSource | - |
62 | { | - |
63 | GSource source; | - |
64 | QList<GPollFDWithQSocketNotifier *> pollfds; | - |
65 | }; | - |
66 | | - |
67 | static gboolean socketNotifierSourcePrepare(GSource *, gint *timeout) | - |
68 | { | - |
69 | if (timeout)TRUE | evaluated 3478019 times by 365 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| FALSE | never evaluated |
| 0-3478019 |
70 | *timeout = -1;executed 3478019 times by 365 tests: *timeout = -1; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3478019 |
71 | return false;executed 3478019 times by 365 tests: return false; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3478019 |
72 | } | - |
73 | | - |
74 | static gboolean socketNotifierSourceCheck(GSource *source) | - |
75 | { | - |
76 | GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source); | - |
77 | | - |
78 | bool pending = false; | - |
79 | for (int i = 0; !pending && i < src->pollfds.count(); ++i) {TRUE | evaluated 3654248 times by 370 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| FALSE | evaluated 40289 times by 300 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
TRUE | evaluated 216512 times by 331 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| FALSE | evaluated 3437736 times by 370 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 40289-3654248 |
80 | GPollFDWithQSocketNotifier *p = src->pollfds.at(i); | - |
81 | | - |
82 | if (p->pollfd.revents & G_IO_NVAL) {TRUE | never evaluated | FALSE | evaluated 216512 times by 331 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
| 0-216512 |
83 | | - |
84 | static const char *t[] = { "Read", "Write", "Exception" }; | - |
85 | qWarning("QSocketNotifier: Invalid socket %d and type '%s', disabling...", | - |
86 | p->pollfd.fd, t[int(p->socketNotifier->type())]); | - |
87 | | - |
88 | p->socketNotifier->setEnabled(false); | - |
89 | } never executed: end of block | 0 |
90 | | - |
91 | pending = ((p->pollfd.revents & p->pollfd.events) != 0); | - |
92 | }executed 216512 times by 331 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 216512 |
93 | | - |
94 | return pending;executed 3478025 times by 370 tests: return pending; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3478025 |
95 | } | - |
96 | | - |
97 | static gboolean socketNotifierSourceDispatch(GSource *source, GSourceFunc, gpointer) | - |
98 | { | - |
99 | QEvent event(QEvent::SockAct); | - |
100 | | - |
101 | GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source); | - |
102 | for (int i = 0; i < src->pollfds.count(); ++i) {TRUE | evaluated 82525 times by 300 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| FALSE | evaluated 40287 times by 300 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
| 40287-82525 |
103 | GPollFDWithQSocketNotifier *p = src->pollfds.at(i); | - |
104 | | - |
105 | if ((p->pollfd.revents & p->pollfd.events) != 0)TRUE | evaluated 41935 times by 300 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| FALSE | evaluated 40590 times by 168 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_NoApplication
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QLocalSocket
- tst_QMdiSubWindow
- tst_QMenu
- ...
|
| 40590-41935 |
106 | QCoreApplication::sendEvent(p->socketNotifier, &event);executed 41935 times by 300 tests: QCoreApplication::sendEvent(p->socketNotifier, &event); 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 41935 |
107 | }executed 82524 times by 300 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 82524 |
108 | | - |
109 | return true; executed 40287 times by 300 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_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 40287 |
110 | } | - |
111 | | - |
112 | static GSourceFuncs socketNotifierSourceFuncs = { | - |
113 | socketNotifierSourcePrepare, | - |
114 | socketNotifierSourceCheck, | - |
115 | socketNotifierSourceDispatch, | - |
116 | NULL, | - |
117 | NULL, | - |
118 | NULL | - |
119 | }; | - |
120 | | - |
121 | struct GTimerSource | - |
122 | { | - |
123 | GSource source; | - |
124 | QTimerInfoList timerList; | - |
125 | QEventLoop::ProcessEventsFlags processEventsFlags; | - |
126 | bool runWithIdlePriority; | - |
127 | }; | - |
128 | | - |
129 | static gboolean timerSourcePrepareHelper(GTimerSource *src, gint *timeout) | - |
130 | { | - |
131 | timespec tv = { 0l, 0l }; | - |
132 | if (!(src->processEventsFlags & QEventLoop::X11ExcludeTimers) && src->timerList.timerWait(tv))TRUE | evaluated 3477299 times by 365 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QEventLoop
- tst_QGuiEventLoop
|
TRUE | evaluated 331209 times by 192 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 3146090 times by 357 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 2-3477299 |
133 | *timeout = (tv.tv_sec * 1000) + ((tv.tv_nsec + 999999) / 1000 / 1000);executed 331209 times by 192 tests: *timeout = (tv.tv_sec * 1000) + ((tv.tv_nsec + 999999) / 1000 / 1000); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 331209 |
134 | else | - |
135 | *timeout = -1;executed 3146092 times by 357 tests: *timeout = -1; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3146092 |
136 | | - |
137 | return (*timeout == 0);executed 3477300 times by 365 tests: return (*timeout == 0); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3477300 |
138 | } | - |
139 | | - |
140 | static gboolean timerSourceCheckHelper(GTimerSource *src) | - |
141 | { | - |
142 | if (src->timerList.isEmpty()TRUE | evaluated 3126615 times by 362 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 287220 times by 208 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 287220-3126615 |
143 | || (src->processEventsFlags & QEventLoop::X11ExcludeTimers)) | - |
144 | return false;executed 3126617 times by 362 tests: return false; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3126617 |
145 | | - |
146 | if (src->timerList.updateCurrentTime() < src->timerList.constFirst()->timeout)TRUE | evaluated 284855 times by 208 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 2363 times by 53 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
| 2363-284855 |
147 | return false;executed 284855 times by 208 tests: return false; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 284855 |
148 | | - |
149 | return true;executed 2363 times by 53 tests: return true; Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QItemDelegate
- tst_QKeySequenceEdit
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 2363 |
150 | } | - |
151 | | - |
152 | static gboolean timerSourcePrepare(GSource *source, gint *timeout) | - |
153 | { | - |
154 | gint dummy; | - |
155 | if (!timeout)TRUE | never evaluated | FALSE | evaluated 3478019 times by 365 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 0-3478019 |
156 | timeout = &dummy; never executed: timeout = &dummy; | 0 |
157 | | - |
158 | GTimerSource *src = reinterpret_cast<GTimerSource *>(source); | - |
159 | if (src->runWithIdlePriority) {TRUE | evaluated 21997 times by 44 testsEvaluated by:- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- ...
| FALSE | evaluated 3456022 times by 365 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 21997-3456022 |
160 | if (timeout)TRUE | evaluated 21997 times by 44 testsEvaluated by:- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- ...
| FALSE | never evaluated |
| 0-21997 |
161 | *timeout = -1;executed 21997 times by 44 tests: *timeout = -1; Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- ...
| 21997 |
162 | return false;executed 21997 times by 44 tests: return false; Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- ...
| 21997 |
163 | } | - |
164 | | - |
165 | return timerSourcePrepareHelper(src, timeout);executed 3456022 times by 365 tests: return timerSourcePrepareHelper(src, timeout); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3456022 |
166 | } | - |
167 | | - |
168 | static gboolean timerSourceCheck(GSource *source) | - |
169 | { | - |
170 | GTimerSource *src = reinterpret_cast<GTimerSource *>(source); | - |
171 | if (src->runWithIdlePriority)TRUE | evaluated 21997 times by 44 testsEvaluated by:- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- ...
| FALSE | evaluated 3412324 times by 370 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 21997-3412324 |
172 | return false;executed 21997 times by 44 tests: return false; Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontDialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QObject
- ...
| 21997 |
173 | return timerSourceCheckHelper(src);executed 3412324 times by 370 tests: return timerSourceCheckHelper(src); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3412324 |
174 | } | - |
175 | | - |
176 | static gboolean timerSourceDispatch(GSource *source, GSourceFunc, gpointer) | - |
177 | { | - |
178 | GTimerSource *timerSource = reinterpret_cast<GTimerSource *>(source); | - |
179 | if (timerSource->processEventsFlags & QEventLoop::X11ExcludeTimers)TRUE | never evaluated | FALSE | evaluated 46109 times by 115 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
|
| 0-46109 |
180 | return true; never executed: return true; | 0 |
181 | timerSource->runWithIdlePriority = true; | - |
182 | (void) timerSource->timerList.activateTimers(); | - |
183 | return true; executed 46108 times by 115 tests: return true; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusMarshall
- tst_QDialog
- tst_QDialogButtonBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 46108 |
184 | } | - |
185 | | - |
186 | static GSourceFuncs timerSourceFuncs = { | - |
187 | timerSourcePrepare, | - |
188 | timerSourceCheck, | - |
189 | timerSourceDispatch, | - |
190 | NULL, | - |
191 | NULL, | - |
192 | NULL | - |
193 | }; | - |
194 | | - |
195 | struct GIdleTimerSource | - |
196 | { | - |
197 | GSource source; | - |
198 | GTimerSource *timerSource; | - |
199 | }; | - |
200 | | - |
201 | static gboolean idleTimerSourcePrepare(GSource *source, gint *timeout) | - |
202 | { | - |
203 | GIdleTimerSource *idleTimerSource = reinterpret_cast<GIdleTimerSource *>(source); | - |
204 | GTimerSource *timerSource = idleTimerSource->timerSource; | - |
205 | if (!timerSource->runWithIdlePriority) {TRUE | evaluated 3179952 times by 359 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 21279 times by 25 testsEvaluated by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QItemDelegate
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
- tst_qmouseevent_modal
|
| 21279-3179952 |
206 | | - |
207 | if (timeout)TRUE | evaluated 3179952 times by 359 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | never evaluated |
| 0-3179952 |
208 | *timeout = -1;executed 3179952 times by 359 tests: *timeout = -1; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3179952 |
209 | return false;executed 3179952 times by 359 tests: return false; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3179952 |
210 | } | - |
211 | | - |
212 | return timerSourcePrepareHelper(timerSource, timeout);executed 21279 times by 25 tests: return timerSourcePrepareHelper(timerSource, timeout); Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QItemDelegate
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
- tst_qmouseevent_modal
| 21279 |
213 | } | - |
214 | | - |
215 | static gboolean idleTimerSourceCheck(GSource *source) | - |
216 | { | - |
217 | GIdleTimerSource *idleTimerSource = reinterpret_cast<GIdleTimerSource *>(source); | - |
218 | GTimerSource *timerSource = idleTimerSource->timerSource; | - |
219 | if (!timerSource->runWithIdlePriority) {TRUE | evaluated 3031796 times by 334 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 1511 times by 20 testsEvaluated by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QMenu
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
|
| 1511-3031796 |
220 | | - |
221 | return false;executed 3031796 times by 334 tests: return false; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3031796 |
222 | } | - |
223 | return timerSourceCheckHelper(timerSource);executed 1511 times by 20 tests: return timerSourceCheckHelper(timerSource); Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QMenu
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
| 1511 |
224 | } | - |
225 | | - |
226 | static gboolean idleTimerSourceDispatch(GSource *source, GSourceFunc, gpointer) | - |
227 | { | - |
228 | GTimerSource *timerSource = reinterpret_cast<GIdleTimerSource *>(source)->timerSource; | - |
229 | (void) timerSourceDispatch(&timerSource->source, 0, 0); | - |
230 | return true;executed 1540 times by 19 tests: return true; Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QMenu
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSslSocket
- tst_QStateMachine
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
| 1540 |
231 | } | - |
232 | | - |
233 | static GSourceFuncs idleTimerSourceFuncs = { | - |
234 | idleTimerSourcePrepare, | - |
235 | idleTimerSourceCheck, | - |
236 | idleTimerSourceDispatch, | - |
237 | NULL, | - |
238 | NULL, | - |
239 | NULL | - |
240 | }; | - |
241 | | - |
242 | struct GPostEventSource | - |
243 | { | - |
244 | GSource source; | - |
245 | QAtomicInt serialNumber; | - |
246 | int lastSerialNumber; | - |
247 | QEventDispatcherGlibPrivate *d; | - |
248 | }; | - |
249 | | - |
250 | static gboolean postEventSourcePrepare(GSource *s, gint *timeout) | - |
251 | { | - |
252 | QThreadData *data = QThreadData::current(); | - |
253 | if (!data)TRUE | never evaluated | FALSE | evaluated 6702017 times by 370 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 0-6702017 |
254 | return false; never executed: return false; | 0 |
255 | | - |
256 | gint dummy; | - |
257 | if (!timeout)TRUE | evaluated 3223998 times by 364 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 3478019 times by 365 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 3223998-3478019 |
258 | timeout = &dummy;executed 3223998 times by 364 tests: timeout = &dummy; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3223998 |
259 | const bool canWait = data->canWaitLocked(); | - |
260 | *timeout = canWait ? -1 : 0;TRUE | evaluated 6324450 times by 364 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 377567 times by 353 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
| 377567-6324450 |
261 | | - |
262 | GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s); | - |
263 | return (!canWaitexecuted 6702017 times by 370 tests: return (!canWait || (source->serialNumber.load() != source->lastSerialNumber)); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 6702017 |
264 | || (source->serialNumber.load() != source->lastSerialNumber));executed 6702017 times by 370 tests: return (!canWait || (source->serialNumber.load() != source->lastSerialNumber)); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 6702017 |
265 | } | - |
266 | | - |
267 | static gboolean postEventSourceCheck(GSource *source) | - |
268 | { | - |
269 | return postEventSourcePrepare(source, 0);executed 3223998 times by 364 tests: return postEventSourcePrepare(source, 0); Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 3223998 |
270 | } | - |
271 | | - |
272 | static gboolean postEventSourceDispatch(GSource *s, GSourceFunc, gpointer) | - |
273 | { | - |
274 | GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s); | - |
275 | source->lastSerialNumber = source->serialNumber.load(); | - |
276 | QCoreApplication::sendPostedEvents(); | - |
277 | source->d->runTimersOnceWithNormalPriority(); | - |
278 | return true; executed 384816 times by 371 tests: return true; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 384816 |
279 | } | - |
280 | | - |
281 | static GSourceFuncs postEventSourceFuncs = { | - |
282 | postEventSourcePrepare, | - |
283 | postEventSourceCheck, | - |
284 | postEventSourceDispatch, | - |
285 | NULL, | - |
286 | NULL, | - |
287 | NULL | - |
288 | }; | - |
289 | | - |
290 | | - |
291 | QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(GMainContext *context) | - |
292 | : mainContext(context) | - |
293 | { | - |
294 | #if GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 32 | - |
295 | if (qEnvironmentVariableIsEmpty("QT_NO_THREADED_GLIB")) { | - |
296 | static QBasicMutex mutex; | - |
297 | QMutexLocker locker(&mutex); | - |
298 | if (!g_thread_supported()) | - |
299 | g_thread_init(NULL); | - |
300 | } | - |
301 | #endif | - |
302 | | - |
303 | if (mainContext) {TRUE | never evaluated | FALSE | evaluated 621759 times by 517 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
| 0-621759 |
304 | g_main_context_ref(mainContext); | - |
305 | } else { never executed: end of block | 0 |
306 | QCoreApplication *app = QCoreApplication::instance(); | - |
307 | if (app && QThread::currentThread() == app->thread()) {TRUE | evaluated 621226 times by 428 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QAsn1Element
- tst_QAtomicInt
- ...
| FALSE | evaluated 533 times by 101 testsEvaluated by:- tst_Collections
- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- tst_QAtomicInteger_qlonglong
- tst_QAtomicInteger_qptrdiff
- tst_QAtomicInteger_quintptr
- tst_QAtomicInteger_qulonglong
- tst_QAtomicInteger_schar
- tst_QAtomicInteger_short
- tst_QAtomicInteger_uchar
- tst_QAtomicInteger_uint
- tst_QAtomicInteger_ulong
- tst_QAtomicInteger_ushort
- tst_QAtomicInteger_wchar_t
- tst_QAtomicPointer
- tst_QBitArray
- ...
|
TRUE | evaluated 1075 times by 23 testsEvaluated by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 620151 times by 420 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QAsn1Element
- tst_QAtomicInt
- ...
|
| 533-621226 |
308 | mainContext = g_main_context_default(); | - |
309 | g_main_context_ref(mainContext); | - |
310 | } else {executed 1075 times by 23 tests: end of block Executed by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| 1075 |
311 | mainContext = g_main_context_new(); | - |
312 | }executed 620684 times by 512 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 620684 |
313 | } | - |
314 | | - |
315 | #if GLIB_CHECK_VERSION (2, 22, 0) | - |
316 | g_main_context_push_thread_default (mainContext); | - |
317 | #endif | - |
318 | | - |
319 | | - |
320 | postEventSource = reinterpret_cast<GPostEventSource *>(g_source_new(&postEventSourceFuncs, | - |
321 | sizeof(GPostEventSource))); | - |
322 | postEventSource->serialNumber.store(1); | - |
323 | postEventSource->d = this; | - |
324 | g_source_set_can_recurse(&postEventSource->source, true); | - |
325 | g_source_attach(&postEventSource->source, mainContext); | - |
326 | | - |
327 | | - |
328 | socketNotifierSource = | - |
329 | reinterpret_cast<GSocketNotifierSource *>(g_source_new(&socketNotifierSourceFuncs, | - |
330 | sizeof(GSocketNotifierSource))); | - |
331 | (void) new (&socketNotifierSource->pollfds) QList<GPollFDWithQSocketNotifier *>(); | - |
332 | g_source_set_can_recurse(&socketNotifierSource->source, true); | - |
333 | g_source_attach(&socketNotifierSource->source, mainContext); | - |
334 | | - |
335 | | - |
336 | timerSource = reinterpret_cast<GTimerSource *>(g_source_new(&timerSourceFuncs, | - |
337 | sizeof(GTimerSource))); | - |
338 | (void) new (&timerSource->timerList) QTimerInfoList(); | - |
339 | timerSource->processEventsFlags = QEventLoop::AllEvents; | - |
340 | timerSource->runWithIdlePriority = false; | - |
341 | g_source_set_can_recurse(&timerSource->source, true); | - |
342 | g_source_attach(&timerSource->source, mainContext); | - |
343 | | - |
344 | idleTimerSource = reinterpret_cast<GIdleTimerSource *>(g_source_new(&idleTimerSourceFuncs, | - |
345 | sizeof(GIdleTimerSource))); | - |
346 | idleTimerSource->timerSource = timerSource; | - |
347 | g_source_set_can_recurse(&idleTimerSource->source, true); | - |
348 | g_source_set_priority(&idleTimerSource->source, G_PRIORITY_DEFAULT_IDLE); | - |
349 | g_source_attach(&idleTimerSource->source, mainContext); | - |
350 | }executed 621759 times by 517 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 621759 |
351 | | - |
352 | void QEventDispatcherGlibPrivate::runTimersOnceWithNormalPriority() | - |
353 | { | - |
354 | timerSource->runWithIdlePriority = false; | - |
355 | }executed 384816 times by 371 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 384816 |
356 | | - |
357 | QEventDispatcherGlib::QEventDispatcherGlib(QObject *parent) | - |
358 | : QAbstractEventDispatcher(*(new QEventDispatcherGlibPrivate), parent) | - |
359 | { | - |
360 | }executed 621624 times by 517 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 621624 |
361 | | - |
362 | QEventDispatcherGlib::QEventDispatcherGlib(GMainContext *mainContext, QObject *parent) | - |
363 | : QAbstractEventDispatcher(*(new QEventDispatcherGlibPrivate(mainContext)), parent) | - |
364 | { never executed: end of block }never executed: end of block | 0 |
365 | | - |
366 | QEventDispatcherGlib::~QEventDispatcherGlib() | - |
367 | { | - |
368 | Q_D(QEventDispatcherGlib); | - |
369 | | - |
370 | | - |
371 | qDeleteAll(d->timerSource->timerList); | - |
372 | d->timerSource->timerList.~QTimerInfoList(); | - |
373 | g_source_destroy(&d->timerSource->source); | - |
374 | g_source_unref(&d->timerSource->source); | - |
375 | d->timerSource = 0; | - |
376 | g_source_destroy(&d->idleTimerSource->source); | - |
377 | g_source_unref(&d->idleTimerSource->source); | - |
378 | d->idleTimerSource = 0; | - |
379 | | - |
380 | | - |
381 | for (int i = 0; i < d->socketNotifierSource->pollfds.count(); ++i) {TRUE | evaluated 4 times by 4 testsEvaluated by:- tst_QApplication
- tst_qfiledialog2 - unknown status
- tst_qfilesystemwatcher - unknown status
- tst_qsslsocket - unknown status
| FALSE | evaluated 622238 times by 584 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFreeList
- tst_QFtp
- tst_QFuture
- tst_QGlobal
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- ...
|
| 4-622238 |
382 | GPollFDWithQSocketNotifier *p = d->socketNotifierSource->pollfds[i]; | - |
383 | g_source_remove_poll(&d->socketNotifierSource->source, &p->pollfd); | - |
384 | delete p; | - |
385 | }executed 4 times by 4 tests: end of block Executed by:- tst_QApplication
- tst_qfiledialog2 - unknown status
- tst_qfilesystemwatcher - unknown status
- tst_qsslsocket - unknown status
| 4 |
386 | d->socketNotifierSource->pollfds.~QList<GPollFDWithQSocketNotifier *>(); | - |
387 | g_source_destroy(&d->socketNotifierSource->source); | - |
388 | g_source_unref(&d->socketNotifierSource->source); | - |
389 | d->socketNotifierSource = 0; | - |
390 | | - |
391 | | - |
392 | g_source_destroy(&d->postEventSource->source); | - |
393 | g_source_unref(&d->postEventSource->source); | - |
394 | d->postEventSource = 0; | - |
395 | | - |
396 | Q_ASSERT(d->mainContext != 0); | - |
397 | #if GLIB_CHECK_VERSION (2, 22, 0) | - |
398 | g_main_context_pop_thread_default (d->mainContext); | - |
399 | #endif | - |
400 | g_main_context_unref(d->mainContext); | - |
401 | d->mainContext = 0; | - |
402 | }executed 622238 times by 584 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFreeList
- tst_QFtp
- tst_QFuture
- tst_QGlobal
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- ...
| 622238 |
403 | | - |
404 | bool QEventDispatcherGlib::processEvents(QEventLoop::ProcessEventsFlags flags) | - |
405 | { | - |
406 | Q_D(QEventDispatcherGlib); | - |
407 | | - |
408 | const bool canWait = (flags & QEventLoop::WaitForMoreEvents); | - |
409 | if (canWait)TRUE | evaluated 257380 times by 340 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| FALSE | evaluated 3197606 times by 163 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
|
| 257380-3197606 |
410 | emit aboutToBlock();executed 257380 times by 340 tests: aboutToBlock(); 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 257380 |
411 | else | - |
412 | emit awake();executed 3197606 times by 163 tests: awake(); Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| 3197606 |
413 | | - |
414 | | - |
415 | QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags; | - |
416 | d->timerSource->processEventsFlags = flags; | - |
417 | | - |
418 | if (!(flags & QEventLoop::EventLoopExec)) {TRUE | evaluated 3234932 times by 163 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| FALSE | evaluated 220054 times by 339 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
|
| 220054-3234932 |
419 | | - |
420 | d->timerSource->runWithIdlePriority = false; | - |
421 | }executed 3234932 times by 163 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
| 3234932 |
422 | | - |
423 | bool result = g_main_context_iteration(d->mainContext, canWait); | - |
424 | while (!result && canWait)TRUE | evaluated 3031809 times by 334 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 446214 times by 371 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
|
TRUE | evaluated 23033 times by 306 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| FALSE | evaluated 3008776 times by 152 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDBusAbstractAdaptor
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusThreading
- tst_QDataWidgetMapper
- ...
|
| 23033-3031809 |
425 | result = g_main_context_iteration(d->mainContext, canWait);executed 23033 times by 306 tests: result = g_main_context_iteration(d->mainContext, canWait); 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 23033 |
426 | | - |
427 | d->timerSource->processEventsFlags = savedFlags; | - |
428 | | - |
429 | if (canWait)TRUE | evaluated 257384 times by 346 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| FALSE | evaluated 3197606 times by 163 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- ...
|
| 257384-3197606 |
430 | emit awake();executed 257384 times by 346 tests: awake(); 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 257384 |
431 | | - |
432 | return result;executed 3454990 times by 371 tests: return result; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- ...
| 3454990 |
433 | } | - |
434 | | - |
435 | bool QEventDispatcherGlib::hasPendingEvents() | - |
436 | { | - |
437 | Q_D(QEventDispatcherGlib); | - |
438 | return g_main_context_pending(d->mainContext); never executed: return g_main_context_pending(d->mainContext); | 0 |
439 | } | - |
440 | | - |
441 | void QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier *notifier) | - |
442 | { | - |
443 | Q_ASSERT(notifier); | - |
444 | int sockfd = notifier->socket(); | - |
445 | int type = notifier->type(); | - |
446 | #ifndef QT_NO_DEBUG | - |
447 | if (sockfd < 0) {TRUE | never evaluated | FALSE | evaluated 49361 times by 202 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-49361 |
448 | qWarning("QSocketNotifier: Internal error"); | - |
449 | return; never executed: return; | 0 |
450 | } else if (notifier->thread() != thread()TRUE | never evaluated | FALSE | evaluated 49361 times by 202 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-49361 |
451 | || thread() != QThread::currentThread()) {TRUE | never evaluated | FALSE | evaluated 49361 times by 202 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-49361 |
452 | qWarning("QSocketNotifier: socket notifiers cannot be enabled from another thread"); | - |
453 | return; never executed: return; | 0 |
454 | } | - |
455 | #endif | - |
456 | | - |
457 | Q_D(QEventDispatcherGlib); | - |
458 | | - |
459 | | - |
460 | GPollFDWithQSocketNotifier *p = new GPollFDWithQSocketNotifier; | - |
461 | p->pollfd.fd = sockfd; | - |
462 | switch (type) { | - |
463 | case QSocketNotifier::Read:executed 22735 times by 202 tests: case QSocketNotifier::Read: Executed by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 22735 |
464 | p->pollfd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; | - |
465 | break;executed 22735 times by 202 tests: break; Executed by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 22735 |
466 | case QSocketNotifier::Write:executed 26625 times by 200 tests: case QSocketNotifier::Write: Executed by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- ...
| 26625 |
467 | p->pollfd.events = G_IO_OUT | G_IO_ERR; | - |
468 | break;executed 26625 times by 200 tests: break; Executed by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- ...
| 26625 |
469 | case QSocketNotifier::Exception:executed 1 time by 1 test: case QSocketNotifier::Exception: | 1 |
470 | p->pollfd.events = G_IO_PRI | G_IO_ERR; | - |
471 | break;executed 1 time by 1 test: break; | 1 |
472 | } | - |
473 | p->socketNotifier = notifier; | - |
474 | | - |
475 | d->socketNotifierSource->pollfds.append(p); | - |
476 | | - |
477 | g_source_add_poll(&d->socketNotifierSource->source, &p->pollfd); | - |
478 | }executed 49361 times by 202 tests: end of block Executed by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 49361 |
479 | | - |
480 | void QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier *notifier) | - |
481 | { | - |
482 | Q_ASSERT(notifier); | - |
483 | #ifndef QT_NO_DEBUG | - |
484 | int sockfd = notifier->socket(); | - |
485 | if (sockfd < 0) {TRUE | never evaluated | FALSE | evaluated 49361 times by 359 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-49361 |
486 | qWarning("QSocketNotifier: Internal error"); | - |
487 | return; never executed: return; | 0 |
488 | } else if (notifier->thread() != thread()TRUE | never evaluated | FALSE | evaluated 49361 times by 359 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-49361 |
489 | || thread() != QThread::currentThread()) {TRUE | never evaluated | FALSE | evaluated 49361 times by 359 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-49361 |
490 | qWarning("QSocketNotifier: socket notifiers cannot be disabled from another thread"); | - |
491 | return; never executed: return; | 0 |
492 | } | - |
493 | #endif | - |
494 | | - |
495 | Q_D(QEventDispatcherGlib); | - |
496 | | - |
497 | for (int i = 0; i < d->socketNotifierSource->pollfds.count(); ++i) {TRUE | evaluated 112983 times by 359 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | never evaluated |
| 0-112983 |
498 | GPollFDWithQSocketNotifier *p = d->socketNotifierSource->pollfds.at(i); | - |
499 | if (p->socketNotifier == notifier) {TRUE | evaluated 49361 times by 359 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| FALSE | evaluated 63622 times by 246 testsEvaluated by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
| 49361-63622 |
500 | | - |
501 | g_source_remove_poll(&d->socketNotifierSource->source, &p->pollfd); | - |
502 | | - |
503 | d->socketNotifierSource->pollfds.removeAt(i); | - |
504 | delete p; | - |
505 | | - |
506 | return;executed 49361 times by 359 tests: return; Executed by:- tst_Gestures
- tst_Lancelot
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 49361 |
507 | } | - |
508 | }executed 63622 times by 246 tests: end of block Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 63622 |
509 | } never executed: end of block | 0 |
510 | | - |
511 | void QEventDispatcherGlib::registerTimer(int timerId, int interval, Qt::TimerType timerType, QObject *object) | - |
512 | { | - |
513 | #ifndef QT_NO_DEBUG | - |
514 | if (timerId < 1 || interval < 0 || !object) {TRUE | never evaluated | FALSE | evaluated 186652 times by 206 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
TRUE | never evaluated | FALSE | evaluated 186652 times by 206 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
TRUE | never evaluated | FALSE | evaluated 186652 times by 206 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-186652 |
515 | qWarning("QEventDispatcherGlib::registerTimer: invalid arguments"); | - |
516 | return; never executed: return; | 0 |
517 | } else if (object->thread() != thread() || thread() != QThread::currentThread()) {TRUE | never evaluated | FALSE | evaluated 186652 times by 206 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
TRUE | never evaluated | FALSE | evaluated 186652 times by 206 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
|
| 0-186652 |
518 | qWarning("QEventDispatcherGlib::registerTimer: timers cannot be started from another thread"); | - |
519 | return; never executed: return; | 0 |
520 | } | - |
521 | #endif | - |
522 | | - |
523 | Q_D(QEventDispatcherGlib); | - |
524 | d->timerSource->timerList.registerTimer(timerId, interval, timerType, object); | - |
525 | }executed 186652 times by 206 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- ...
| 186652 |
526 | | - |
527 | bool QEventDispatcherGlib::unregisterTimer(int timerId) | - |
528 | { | - |
529 | #ifndef QT_NO_DEBUG | - |
530 | if (timerId < 1) {TRUE | never evaluated | FALSE | evaluated 162794 times by 218 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
|
| 0-162794 |
531 | qWarning("QEventDispatcherGlib::unregisterTimer: invalid argument"); | - |
532 | return false; never executed: return false; | 0 |
533 | } else if (thread() != QThread::currentThread()) {TRUE | never evaluated | FALSE | evaluated 162794 times by 218 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
|
| 0-162794 |
534 | qWarning("QEventDispatcherGlib::unregisterTimer: timers cannot be stopped from another thread"); | - |
535 | return false; never executed: return false; | 0 |
536 | } | - |
537 | #endif | - |
538 | | - |
539 | Q_D(QEventDispatcherGlib); | - |
540 | return d->timerSource->timerList.unregisterTimer(timerId);executed 162794 times by 218 tests: return d->timerSource->timerList.unregisterTimer(timerId); 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_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 162794 |
541 | } | - |
542 | | - |
543 | bool QEventDispatcherGlib::unregisterTimers(QObject *object) | - |
544 | { | - |
545 | #ifndef QT_NO_DEBUG | - |
546 | if (!object) {TRUE | never evaluated | FALSE | evaluated 22064 times by 63 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
|
| 0-22064 |
547 | qWarning("QEventDispatcherGlib::unregisterTimers: invalid argument"); | - |
548 | return false; never executed: return false; | 0 |
549 | } else if (object->thread() != thread() || thread() != QThread::currentThread()) {TRUE | never evaluated | FALSE | evaluated 22064 times by 63 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
|
TRUE | never evaluated | FALSE | evaluated 22064 times by 63 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
|
| 0-22064 |
550 | qWarning("QEventDispatcherGlib::unregisterTimers: timers cannot be stopped from another thread"); | - |
551 | return false; never executed: return false; | 0 |
552 | } | - |
553 | #endif | - |
554 | | - |
555 | Q_D(QEventDispatcherGlib); | - |
556 | return d->timerSource->timerList.unregisterTimers(object);executed 22064 times by 63 tests: return d->timerSource->timerList.unregisterTimers(object); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDoubleSpinBox
- tst_QEventDispatcher
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsAnchorLayout
- tst_QGraphicsEffect
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsPixmapItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- ...
| 22064 |
557 | } | - |
558 | | - |
559 | QList<QEventDispatcherGlib::TimerInfo> QEventDispatcherGlib::registeredTimers(QObject *object) const | - |
560 | { | - |
561 | if (!object) {TRUE | never evaluated | FALSE | evaluated 65830 times by 331 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
|
| 0-65830 |
562 | qWarning("QEventDispatcherUNIX:registeredTimers: invalid argument"); | - |
563 | return QList<TimerInfo>(); never executed: return QList<TimerInfo>(); | 0 |
564 | } | - |
565 | | - |
566 | Q_D(const QEventDispatcherGlib); | - |
567 | return d->timerSource->timerList.registeredTimers(object);executed 65830 times by 331 tests: return d->timerSource->timerList.registeredTimers(object); 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 65830 |
568 | } | - |
569 | | - |
570 | int QEventDispatcherGlib::remainingTime(int timerId) | - |
571 | { | - |
572 | #ifndef QT_NO_DEBUG | - |
573 | if (timerId < 1) {TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
574 | qWarning("QEventDispatcherGlib::remainingTimeTime: invalid argument"); | - |
575 | return -1; never executed: return -1; | 0 |
576 | } | - |
577 | #endif | - |
578 | | - |
579 | Q_D(QEventDispatcherGlib); | - |
580 | return d->timerSource->timerList.timerRemainingTime(timerId);executed 4 times by 1 test: return d->timerSource->timerList.timerRemainingTime(timerId); | 4 |
581 | } | - |
582 | | - |
583 | void QEventDispatcherGlib::interrupt() | - |
584 | { | - |
585 | wakeUp(); | - |
586 | }executed 4384 times by 239 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QApplication
- tst_QBuffer
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_Delayed
- tst_QDBusConnection_SpyHook
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDialog
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QFiledialog
- ...
| 4384 |
587 | | - |
588 | void QEventDispatcherGlib::wakeUp() | - |
589 | { | - |
590 | Q_D(QEventDispatcherGlib); | - |
591 | d->postEventSource->serialNumber.ref(); | - |
592 | g_main_context_wakeup(d->mainContext); | - |
593 | }executed 723955 times by 406 tests: end of block Executed by:- tst_Gestures
- tst_Lancelot
- tst_ModelTest
- tst_NetworkSelfTest
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAnimationGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBuffer
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- ...
| 723955 |
594 | | - |
595 | void QEventDispatcherGlib::flush() | - |
596 | { | - |
597 | } | - |
598 | | - |
599 | bool QEventDispatcherGlib::versionSupported() | - |
600 | { | - |
601 | #if !defined(GLIB_MAJOR_VERSION) || !defined(GLIB_MINOR_VERSION) || !defined(GLIB_MICRO_VERSION) | - |
602 | return false; | - |
603 | #else | - |
604 | return ((GLIB_MAJOR_VERSION << 16) + (GLIB_MINOR_VERSION << 8) + GLIB_MICRO_VERSION) >= 0x020301;executed 621759 times by 517 tests: return ((2 << 16) + (42 << 8) + 1) >= 0x020301; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 621759 |
605 | #endif | - |
606 | } | - |
607 | | - |
608 | QEventDispatcherGlib::QEventDispatcherGlib(QEventDispatcherGlibPrivate &dd, QObject *parent) | - |
609 | : QAbstractEventDispatcher(dd, parent) | - |
610 | { | - |
611 | }executed 135 times by 5 tests: end of block Executed by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 135 |
612 | | - |
613 | QT_END_NAMESPACE | - |
| | |