| 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 | #include "qeventdispatcher_glib_p.h" | - |
| 35 | #include "qeventdispatcher_unix_p.h" | - |
| 36 | | - |
| 37 | #include <private/qthread_p.h> | - |
| 38 | | - |
| 39 | #include "qcoreapplication.h" | - |
| 40 | #include "qsocketnotifier.h" | - |
| 41 | | - |
| 42 | #include <QtCore/qlist.h> | - |
| 43 | #include <QtCore/qpair.h> | - |
| 44 | | - |
| 45 | #include <glib.h> | - |
| 46 | | - |
| 47 | QT_BEGIN_NAMESPACE | - |
| 48 | | - |
| 49 | struct GPollFDWithQSocketNotifier | - |
| 50 | { | - |
| 51 | GPollFD pollfd; | - |
| 52 | QSocketNotifier *socketNotifier; | - |
| 53 | }; | - |
| 54 | | - |
| 55 | struct GSocketNotifierSource | - |
| 56 | { | - |
| 57 | GSource source; | - |
| 58 | QList<GPollFDWithQSocketNotifier *> pollfds; | - |
| 59 | }; | - |
| 60 | | - |
| 61 | static gboolean socketNotifierSourcePrepare(GSource *, gint *timeout) | - |
| 62 | { | - |
| 63 | if (timeout)| TRUE | evaluated 3697239 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-3697239 |
| 64 | *timeout = -1;executed 3697239 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
- ...
| 3697239 |
| 65 | return false;executed 3697239 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
- ...
| 3697239 |
| 66 | } | - |
| 67 | | - |
| 68 | static gboolean socketNotifierSourceCheck(GSource *source) | - |
| 69 | { | - |
| 70 | GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source); | - |
| 71 | | - |
| 72 | bool pending = false; | - |
| 73 | for (int i = 0; !pending && i < src->pollfds.count(); ++i) {| TRUE | evaluated 3958802 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 40422 times by 301 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 301979 times by 333 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 3656823 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
- ...
|
| 40422-3958802 |
| 74 | GPollFDWithQSocketNotifier *p = src->pollfds.at(i); | - |
| 75 | | - |
| 76 | if (p->pollfd.revents & G_IO_NVAL) {| TRUE | never evaluated | | FALSE | evaluated 301979 times by 333 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-301979 |
| 77 | | - |
| 78 | static const char *t[] = { "Read", "Write", "Exception" }; | - |
| 79 | qWarning("QSocketNotifier: Invalid socket %d and type '%s', disabling...", | - |
| 80 | p->pollfd.fd, t[int(p->socketNotifier->type())]); | - |
| 81 | | - |
| 82 | p->socketNotifier->setEnabled(false); | - |
| 83 | } never executed: end of block | 0 |
| 84 | | - |
| 85 | pending = ((p->pollfd.revents & p->pollfd.events) != 0); | - |
| 86 | }executed 301979 times by 333 tests: end of blockExecuted 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
- ...
| 301979 |
| 87 | | - |
| 88 | return pending;executed 3697245 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
- ...
| 3697245 |
| 89 | } | - |
| 90 | | - |
| 91 | static gboolean socketNotifierSourceDispatch(GSource *source, GSourceFunc, gpointer) | - |
| 92 | { | - |
| 93 | QEvent event(QEvent::SockAct); | - |
| 94 | | - |
| 95 | GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source); | - |
| 96 | for (int i = 0; i < src->pollfds.count(); ++i) {| TRUE | evaluated 83327 times by 301 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 40421 times by 301 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
- ...
|
| 40421-83327 |
| 97 | GPollFDWithQSocketNotifier *p = src->pollfds.at(i); | - |
| 98 | | - |
| 99 | if ((p->pollfd.revents & p->pollfd.events) != 0)| TRUE | evaluated 42047 times by 301 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 41280 times by 165 testsEvaluated by:- tst_QAbstractNetworkCache
- 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_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- ...
|
| 41280-42047 |
| 100 | QCoreApplication::sendEvent(p->socketNotifier, &event);executed 42047 times by 301 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
- ...
| 42047 |
| 101 | }executed 83326 times by 301 tests: end of blockExecuted 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
- ...
| 83326 |
| 102 | | - |
| 103 | return true; executed 40421 times by 301 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
- ...
| 40421 |
| 104 | } | - |
| 105 | | - |
| 106 | static GSourceFuncs socketNotifierSourceFuncs = { | - |
| 107 | socketNotifierSourcePrepare, | - |
| 108 | socketNotifierSourceCheck, | - |
| 109 | socketNotifierSourceDispatch, | - |
| 110 | NULL, | - |
| 111 | NULL, | - |
| 112 | NULL | - |
| 113 | }; | - |
| 114 | | - |
| 115 | struct GTimerSource | - |
| 116 | { | - |
| 117 | GSource source; | - |
| 118 | QTimerInfoList timerList; | - |
| 119 | QEventLoop::ProcessEventsFlags processEventsFlags; | - |
| 120 | bool runWithIdlePriority; | - |
| 121 | }; | - |
| 122 | | - |
| 123 | static gboolean timerSourcePrepareHelper(GTimerSource *src, gint *timeout) | - |
| 124 | { | - |
| 125 | timespec tv = { 0l, 0l }; | - |
| 126 | if (!(src->processEventsFlags & QEventLoop::X11ExcludeTimers) && src->timerList.timerWait(tv))| TRUE | evaluated 3696526 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 322405 times by 191 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 3374121 times by 358 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-3696526 |
| 127 | *timeout = (tv.tv_sec * 1000) + ((tv.tv_nsec + 999999) / 1000 / 1000);executed 322405 times by 191 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
- ...
| 322405 |
| 128 | else | - |
| 129 | *timeout = -1;executed 3374123 times by 358 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
- ...
| 3374123 |
| 130 | | - |
| 131 | return (*timeout == 0);executed 3696528 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
- ...
| 3696528 |
| 132 | } | - |
| 133 | | - |
| 134 | static gboolean timerSourceCheckHelper(GTimerSource *src) | - |
| 135 | { | - |
| 136 | if (src->timerList.isEmpty()| TRUE | evaluated 3354532 times by 363 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 277554 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
- ...
|
| 277554-3354532 |
| 137 | || (src->processEventsFlags & QEventLoop::X11ExcludeTimers)) | - |
| 138 | return false;executed 3354534 times by 363 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
- ...
| 3354534 |
| 139 | | - |
| 140 | if (src->timerList.updateCurrentTime() < src->timerList.first()->timeout)| TRUE | evaluated 275165 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
- ...
| | FALSE | evaluated 2387 times by 52 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_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
| 2387-275165 |
| 141 | return false;executed 275165 times by 206 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
- ...
| 275165 |
| 142 | | - |
| 143 | return true;executed 2387 times by 52 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_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QMovie
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 2387 |
| 144 | } | - |
| 145 | | - |
| 146 | static gboolean timerSourcePrepare(GSource *source, gint *timeout) | - |
| 147 | { | - |
| 148 | gint dummy; | - |
| 149 | if (!timeout)| TRUE | never evaluated | | FALSE | evaluated 3697239 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-3697239 |
| 150 | timeout = &dummy; never executed: timeout = &dummy; | 0 |
| 151 | | - |
| 152 | GTimerSource *src = reinterpret_cast<GTimerSource *>(source); | - |
| 153 | if (src->runWithIdlePriority) {| TRUE | evaluated 22130 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_QGraphicsProxyWidget
- 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
- ...
| | FALSE | evaluated 3675109 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
- ...
|
| 22130-3675109 |
| 154 | if (timeout)| TRUE | evaluated 22130 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_QGraphicsProxyWidget
- 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
- ...
| | FALSE | never evaluated |
| 0-22130 |
| 155 | *timeout = -1;executed 22130 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_QGraphicsProxyWidget
- 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
- ...
| 22130 |
| 156 | return false;executed 22130 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_QGraphicsProxyWidget
- 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
- ...
| 22130 |
| 157 | } | - |
| 158 | | - |
| 159 | return timerSourcePrepareHelper(src, timeout);executed 3675109 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
- ...
| 3675109 |
| 160 | } | - |
| 161 | | - |
| 162 | static gboolean timerSourceCheck(GSource *source) | - |
| 163 | { | - |
| 164 | GTimerSource *src = reinterpret_cast<GTimerSource *>(source); | - |
| 165 | if (src->runWithIdlePriority)| TRUE | evaluated 22130 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_QGraphicsProxyWidget
- 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
- ...
| | FALSE | evaluated 3630547 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
- ...
|
| 22130-3630547 |
| 166 | return false;executed 22130 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_QGraphicsProxyWidget
- 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
- ...
| 22130 |
| 167 | return timerSourceCheckHelper(src);executed 3630547 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
- ...
| 3630547 |
| 168 | } | - |
| 169 | | - |
| 170 | static gboolean timerSourceDispatch(GSource *source, GSourceFunc, gpointer) | - |
| 171 | { | - |
| 172 | GTimerSource *timerSource = reinterpret_cast<GTimerSource *>(source); | - |
| 173 | if (timerSource->processEventsFlags & QEventLoop::X11ExcludeTimers)| TRUE | never evaluated | | FALSE | evaluated 46996 times by 114 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-46996 |
| 174 | return true; never executed: return true; | 0 |
| 175 | timerSource->runWithIdlePriority = true; | - |
| 176 | (void) timerSource->timerList.activateTimers(); | - |
| 177 | return true; executed 46995 times by 114 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
- ...
| 46995 |
| 178 | } | - |
| 179 | | - |
| 180 | static GSourceFuncs timerSourceFuncs = { | - |
| 181 | timerSourcePrepare, | - |
| 182 | timerSourceCheck, | - |
| 183 | timerSourceDispatch, | - |
| 184 | NULL, | - |
| 185 | NULL, | - |
| 186 | NULL | - |
| 187 | }; | - |
| 188 | | - |
| 189 | struct GIdleTimerSource | - |
| 190 | { | - |
| 191 | GSource source; | - |
| 192 | GTimerSource *timerSource; | - |
| 193 | }; | - |
| 194 | | - |
| 195 | static gboolean idleTimerSourcePrepare(GSource *source, gint *timeout) | - |
| 196 | { | - |
| 197 | GIdleTimerSource *idleTimerSource = reinterpret_cast<GIdleTimerSource *>(source); | - |
| 198 | GTimerSource *timerSource = idleTimerSource->timerSource; | - |
| 199 | if (!timerSource->runWithIdlePriority) {| TRUE | evaluated 3398156 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 21419 times by 24 testsEvaluated by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- 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
|
| 21419-3398156 |
| 200 | | - |
| 201 | if (timeout)| TRUE | evaluated 3398156 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-3398156 |
| 202 | *timeout = -1;executed 3398156 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
- ...
| 3398156 |
| 203 | return false;executed 3398156 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
- ...
| 3398156 |
| 204 | } | - |
| 205 | | - |
| 206 | return timerSourcePrepareHelper(timerSource, timeout);executed 21419 times by 24 tests: return timerSourcePrepareHelper(timerSource, timeout);Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- 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
| 21419 |
| 207 | } | - |
| 208 | | - |
| 209 | static gboolean idleTimerSourceCheck(GSource *source) | - |
| 210 | { | - |
| 211 | GIdleTimerSource *idleTimerSource = reinterpret_cast<GIdleTimerSource *>(source); | - |
| 212 | GTimerSource *timerSource = idleTimerSource->timerSource; | - |
| 213 | if (!timerSource->runWithIdlePriority) {| TRUE | evaluated 3250917 times by 331 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 1539 times by 20 testsEvaluated by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
|
| 1539-3250917 |
| 214 | | - |
| 215 | return false;executed 3250917 times by 331 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
- ...
| 3250917 |
| 216 | } | - |
| 217 | return timerSourceCheckHelper(timerSource);executed 1539 times by 20 tests: return timerSourceCheckHelper(timerSource);Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSslSocket
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
| 1539 |
| 218 | } | - |
| 219 | | - |
| 220 | static gboolean idleTimerSourceDispatch(GSource *source, GSourceFunc, gpointer) | - |
| 221 | { | - |
| 222 | GTimerSource *timerSource = reinterpret_cast<GIdleTimerSource *>(source)->timerSource; | - |
| 223 | (void) timerSourceDispatch(&timerSource->source, 0, 0); | - |
| 224 | return true;executed 1567 times by 19 tests: return true;Executed by:- tst_QApplication
- tst_QButtonGroup
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QMenu
- tst_QMovie
- tst_QNetworkReply
- tst_QObject
- tst_QProgressBar
- tst_QSslSocket
- tst_QStateMachine
- tst_QThread
- tst_QTimeLine
- tst_QTimer
- tst_languageChange
| 1567 |
| 225 | } | - |
| 226 | | - |
| 227 | static GSourceFuncs idleTimerSourceFuncs = { | - |
| 228 | idleTimerSourcePrepare, | - |
| 229 | idleTimerSourceCheck, | - |
| 230 | idleTimerSourceDispatch, | - |
| 231 | NULL, | - |
| 232 | NULL, | - |
| 233 | NULL | - |
| 234 | }; | - |
| 235 | | - |
| 236 | struct GPostEventSource | - |
| 237 | { | - |
| 238 | GSource source; | - |
| 239 | QAtomicInt serialNumber; | - |
| 240 | int lastSerialNumber; | - |
| 241 | QEventDispatcherGlibPrivate *d; | - |
| 242 | }; | - |
| 243 | | - |
| 244 | static gboolean postEventSourcePrepare(GSource *s, gint *timeout) | - |
| 245 | { | - |
| 246 | QThreadData *data = QThreadData::current(); | - |
| 247 | if (!data)| TRUE | never evaluated | | FALSE | evaluated 7139746 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-7139746 |
| 248 | return false; never executed: return false; | 0 |
| 249 | | - |
| 250 | gint dummy; | - |
| 251 | if (!timeout)| TRUE | evaluated 3442507 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 3697239 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
- ...
|
| 3442507-3697239 |
| 252 | timeout = &dummy;executed 3442507 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
- ...
| 3442507 |
| 253 | const bool canWait = data->canWaitLocked(); | - |
| 254 | *timeout = canWait ? -1 : 0;| TRUE | evaluated 6762992 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 376754 times by 355 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
- ...
|
| 376754-6762992 |
| 255 | | - |
| 256 | GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s); | - |
| 257 | return (!canWaitexecuted 7139746 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
- ...
| TRUE | evaluated 376754 times by 355 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 6762992 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
- ...
|
| 376754-7139746 |
| 258 | || (source->serialNumber.load() != source->lastSerialNumber));executed 7139746 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
- ...
| TRUE | evaluated 7325 times by 309 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusConnection
- tst_QDBusConnection_SpyHook
- tst_QDBusMarshall
- tst_QDBusPendingCall
- tst_QDBusServiceWatcher
- tst_QDBusThreading
- tst_QDesktopWidget
- ...
| | FALSE | evaluated 6755667 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
- ...
|
| 7325-7139746 |
| 259 | } | - |
| 260 | | - |
| 261 | static gboolean postEventSourceCheck(GSource *source) | - |
| 262 | { | - |
| 263 | return postEventSourcePrepare(source, 0);executed 3442507 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
- ...
| 3442507 |
| 264 | } | - |
| 265 | | - |
| 266 | static gboolean postEventSourceDispatch(GSource *s, GSourceFunc, gpointer) | - |
| 267 | { | - |
| 268 | GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s); | - |
| 269 | source->lastSerialNumber = source->serialNumber.load(); | - |
| 270 | QCoreApplication::sendPostedEvents(); | - |
| 271 | source->d->runTimersOnceWithNormalPriority(); | - |
| 272 | return true; executed 384079 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
- ...
| 384079 |
| 273 | } | - |
| 274 | | - |
| 275 | static GSourceFuncs postEventSourceFuncs = { | - |
| 276 | postEventSourcePrepare, | - |
| 277 | postEventSourceCheck, | - |
| 278 | postEventSourceDispatch, | - |
| 279 | NULL, | - |
| 280 | NULL, | - |
| 281 | NULL | - |
| 282 | }; | - |
| 283 | | - |
| 284 | | - |
| 285 | QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(GMainContext *context) | - |
| 286 | : mainContext(context) | - |
| 287 | { | - |
| 288 | #if GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 32 | - |
| 289 | if (qEnvironmentVariableIsEmpty("QT_NO_THREADED_GLIB")) { | - |
| 290 | static QBasicMutex mutex; | - |
| 291 | QMutexLocker locker(&mutex); | - |
| 292 | if (!g_thread_supported()) | - |
| 293 | g_thread_init(NULL); | - |
| 294 | } | - |
| 295 | #endif | - |
| 296 | | - |
| 297 | if (mainContext) {| TRUE | never evaluated | | FALSE | evaluated 639945 times by 549 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-639945 |
| 298 | g_main_context_ref(mainContext); | - |
| 299 | } else { never executed: end of block | 0 |
| 300 | QCoreApplication *app = QCoreApplication::instance(); | - |
| 301 | if (app && QThread::currentThread() == app->thread()) {| TRUE | evaluated 639410 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 535 times by 133 testsEvaluated by:- tst_Collections
- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAtomicInteger_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- tst_QAtomicInteger_Gcc_qlonglong
- tst_QAtomicInteger_Gcc_qptrdiff
- tst_QAtomicInteger_Gcc_quintptr
- tst_QAtomicInteger_Gcc_qulonglong
- tst_QAtomicInteger_Gcc_schar
- tst_QAtomicInteger_Gcc_short
- tst_QAtomicInteger_Gcc_uchar
- tst_QAtomicInteger_Gcc_uint
- tst_QAtomicInteger_Gcc_ulong
- tst_QAtomicInteger_Gcc_ushort
- tst_QAtomicInteger_Gcc_wchar_t
- tst_QAtomicInteger_NoCxx11_char
- tst_QAtomicInteger_NoCxx11_char16_t
- ...
|
| TRUE | evaluated 865 times by 22 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_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 638545 times by 421 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
- ...
|
| 535-639410 |
| 302 | mainContext = g_main_context_default(); | - |
| 303 | g_main_context_ref(mainContext); | - |
| 304 | } else {executed 865 times by 22 tests: end of blockExecuted 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_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| 865 |
| 305 | mainContext = g_main_context_new(); | - |
| 306 | }executed 639080 times by 545 tests: end of blockExecuted 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
- ...
| 639080 |
| 307 | } | - |
| 308 | | - |
| 309 | #if GLIB_CHECK_VERSION (2, 22, 0) | - |
| 310 | g_main_context_push_thread_default (mainContext); | - |
| 311 | #endif | - |
| 312 | | - |
| 313 | | - |
| 314 | postEventSource = reinterpret_cast<GPostEventSource *>(g_source_new(&postEventSourceFuncs, | - |
| 315 | sizeof(GPostEventSource))); | - |
| 316 | postEventSource->serialNumber.store(1); | - |
| 317 | postEventSource->d = this; | - |
| 318 | g_source_set_can_recurse(&postEventSource->source, true); | - |
| 319 | g_source_attach(&postEventSource->source, mainContext); | - |
| 320 | | - |
| 321 | | - |
| 322 | socketNotifierSource = | - |
| 323 | reinterpret_cast<GSocketNotifierSource *>(g_source_new(&socketNotifierSourceFuncs, | - |
| 324 | sizeof(GSocketNotifierSource))); | - |
| 325 | (void) new (&socketNotifierSource->pollfds) QList<GPollFDWithQSocketNotifier *>(); | - |
| 326 | g_source_set_can_recurse(&socketNotifierSource->source, true); | - |
| 327 | g_source_attach(&socketNotifierSource->source, mainContext); | - |
| 328 | | - |
| 329 | | - |
| 330 | timerSource = reinterpret_cast<GTimerSource *>(g_source_new(&timerSourceFuncs, | - |
| 331 | sizeof(GTimerSource))); | - |
| 332 | (void) new (&timerSource->timerList) QTimerInfoList(); | - |
| 333 | timerSource->processEventsFlags = QEventLoop::AllEvents; | - |
| 334 | timerSource->runWithIdlePriority = false; | - |
| 335 | g_source_set_can_recurse(&timerSource->source, true); | - |
| 336 | g_source_attach(&timerSource->source, mainContext); | - |
| 337 | | - |
| 338 | idleTimerSource = reinterpret_cast<GIdleTimerSource *>(g_source_new(&idleTimerSourceFuncs, | - |
| 339 | sizeof(GIdleTimerSource))); | - |
| 340 | idleTimerSource->timerSource = timerSource; | - |
| 341 | g_source_set_can_recurse(&idleTimerSource->source, true); | - |
| 342 | g_source_set_priority(&idleTimerSource->source, G_PRIORITY_DEFAULT_IDLE); | - |
| 343 | g_source_attach(&idleTimerSource->source, mainContext); | - |
| 344 | }executed 639945 times by 549 tests: end of blockExecuted 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
- ...
| 639945 |
| 345 | | - |
| 346 | void QEventDispatcherGlibPrivate::runTimersOnceWithNormalPriority() | - |
| 347 | { | - |
| 348 | timerSource->runWithIdlePriority = false; | - |
| 349 | }executed 384079 times by 371 tests: end of blockExecuted 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
- ...
| 384079 |
| 350 | | - |
| 351 | QEventDispatcherGlib::QEventDispatcherGlib(QObject *parent) | - |
| 352 | : QAbstractEventDispatcher(*(new QEventDispatcherGlibPrivate), parent) | - |
| 353 | { | - |
| 354 | }executed 639816 times by 549 tests: end of blockExecuted 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
- ...
| 639816 |
| 355 | | - |
| 356 | QEventDispatcherGlib::QEventDispatcherGlib(GMainContext *mainContext, QObject *parent) | - |
| 357 | : QAbstractEventDispatcher(*(new QEventDispatcherGlibPrivate(mainContext)), parent) | - |
| 358 | { never executed: end of block }never executed: end of block | 0 |
| 359 | | - |
| 360 | QEventDispatcherGlib::~QEventDispatcherGlib() | - |
| 361 | { | - |
| 362 | Q_D(QEventDispatcherGlib); | - |
| 363 | | - |
| 364 | | - |
| 365 | qDeleteAll(d->timerSource->timerList); | - |
| 366 | d->timerSource->timerList.~QTimerInfoList(); | - |
| 367 | g_source_destroy(&d->timerSource->source); | - |
| 368 | g_source_unref(&d->timerSource->source); | - |
| 369 | d->timerSource = 0; | - |
| 370 | g_source_destroy(&d->idleTimerSource->source); | - |
| 371 | g_source_unref(&d->idleTimerSource->source); | - |
| 372 | d->idleTimerSource = 0; | - |
| 373 | | - |
| 374 | | - |
| 375 | 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 640444 times by 617 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-640444 |
| 376 | GPollFDWithQSocketNotifier *p = d->socketNotifierSource->pollfds[i]; | - |
| 377 | g_source_remove_poll(&d->socketNotifierSource->source, &p->pollfd); | - |
| 378 | delete p; | - |
| 379 | }executed 4 times by 4 tests: end of blockExecuted by:- tst_QApplication
- tst_qfiledialog2 - unknown status
- tst_qfilesystemwatcher - unknown status
- tst_qsslsocket - unknown status
| 4 |
| 380 | d->socketNotifierSource->pollfds.~QList<GPollFDWithQSocketNotifier *>(); | - |
| 381 | g_source_destroy(&d->socketNotifierSource->source); | - |
| 382 | g_source_unref(&d->socketNotifierSource->source); | - |
| 383 | d->socketNotifierSource = 0; | - |
| 384 | | - |
| 385 | | - |
| 386 | g_source_destroy(&d->postEventSource->source); | - |
| 387 | g_source_unref(&d->postEventSource->source); | - |
| 388 | d->postEventSource = 0; | - |
| 389 | | - |
| 390 | Q_ASSERT(d->mainContext != 0); | - |
| 391 | #if GLIB_CHECK_VERSION (2, 22, 0) | - |
| 392 | g_main_context_pop_thread_default (d->mainContext); | - |
| 393 | #endif | - |
| 394 | g_main_context_unref(d->mainContext); | - |
| 395 | d->mainContext = 0; | - |
| 396 | }executed 640444 times by 617 tests: end of blockExecuted 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
- ...
| 640444 |
| 397 | | - |
| 398 | bool QEventDispatcherGlib::processEvents(QEventLoop::ProcessEventsFlags flags) | - |
| 399 | { | - |
| 400 | Q_D(QEventDispatcherGlib); | - |
| 401 | | - |
| 402 | const bool canWait = (flags & QEventLoop::WaitForMoreEvents); | - |
| 403 | if (canWait)| TRUE | evaluated 256090 times by 341 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 3419299 times by 161 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
- ...
|
| 256090-3419299 |
| 404 | emit aboutToBlock();executed 256090 times by 341 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
- ...
| 256090 |
| 405 | else | - |
| 406 | emit awake();executed 3419299 times by 161 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
- ...
| 3419299 |
| 407 | | - |
| 408 | | - |
| 409 | QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags; | - |
| 410 | d->timerSource->processEventsFlags = flags; | - |
| 411 | | - |
| 412 | if (!(flags & QEventLoop::EventLoopExec)) {| TRUE | evaluated 3456263 times by 161 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 219126 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
- ...
|
| 219126-3456263 |
| 413 | | - |
| 414 | d->timerSource->runWithIdlePriority = false; | - |
| 415 | }executed 3456263 times by 161 tests: end of blockExecuted 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
- ...
| 3456263 |
| 416 | | - |
| 417 | bool result = g_main_context_iteration(d->mainContext, canWait); | - |
| 418 | while (!result && canWait)| TRUE | evaluated 3250926 times by 331 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 446317 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 21850 times by 303 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- 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
- tst_QDBusConnection
- ...
| | FALSE | evaluated 3229076 times by 150 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
- ...
|
| 21850-3250926 |
| 419 | result = g_main_context_iteration(d->mainContext, canWait);executed 21850 times by 303 tests: result = g_main_context_iteration(d->mainContext, canWait);Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- 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
- tst_QDBusConnection
- ...
| 21850 |
| 420 | | - |
| 421 | d->timerSource->processEventsFlags = savedFlags; | - |
| 422 | | - |
| 423 | if (canWait)| TRUE | evaluated 256094 times by 347 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 3419299 times by 161 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
- ...
|
| 256094-3419299 |
| 424 | emit awake();executed 256094 times by 347 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
- ...
| 256094 |
| 425 | | - |
| 426 | return result;executed 3675393 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
- ...
| 3675393 |
| 427 | } | - |
| 428 | | - |
| 429 | bool QEventDispatcherGlib::hasPendingEvents() | - |
| 430 | { | - |
| 431 | Q_D(QEventDispatcherGlib); | - |
| 432 | return g_main_context_pending(d->mainContext); never executed: return g_main_context_pending(d->mainContext); | 0 |
| 433 | } | - |
| 434 | | - |
| 435 | void QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier *notifier) | - |
| 436 | { | - |
| 437 | Q_ASSERT(notifier); | - |
| 438 | int sockfd = notifier->socket(); | - |
| 439 | int type = notifier->type(); | - |
| 440 | #ifndef QT_NO_DEBUG | - |
| 441 | if (sockfd < 0) {| TRUE | never evaluated | | FALSE | evaluated 43144 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-43144 |
| 442 | qWarning("QSocketNotifier: Internal error"); | - |
| 443 | return; never executed: return; | 0 |
| 444 | } else if (notifier->thread() != thread()| TRUE | never evaluated | | FALSE | evaluated 43144 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-43144 |
| 445 | || thread() != QThread::currentThread()) {| TRUE | never evaluated | | FALSE | evaluated 43144 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-43144 |
| 446 | qWarning("QSocketNotifier: socket notifiers cannot be enabled from another thread"); | - |
| 447 | return; never executed: return; | 0 |
| 448 | } | - |
| 449 | #endif | - |
| 450 | | - |
| 451 | Q_D(QEventDispatcherGlib); | - |
| 452 | | - |
| 453 | | - |
| 454 | GPollFDWithQSocketNotifier *p = new GPollFDWithQSocketNotifier; | - |
| 455 | p->pollfd.fd = sockfd; | - |
| 456 | switch (type) { | - |
| 457 | case QSocketNotifier::Read:executed 19891 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
- ...
| 19891 |
| 458 | p->pollfd.events = G_IO_IN | G_IO_HUP | G_IO_ERR; | - |
| 459 | break;executed 19891 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
- ...
| 19891 |
| 460 | case QSocketNotifier::Write:executed 23252 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
- ...
| 23252 |
| 461 | p->pollfd.events = G_IO_OUT | G_IO_ERR; | - |
| 462 | break;executed 23252 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
- ...
| 23252 |
| 463 | case QSocketNotifier::Exception:executed 1 time by 1 test: case QSocketNotifier::Exception: | 1 |
| 464 | p->pollfd.events = G_IO_PRI | G_IO_ERR; | - |
| 465 | break;executed 1 time by 1 test: break; | 1 |
| 466 | } | - |
| 467 | p->socketNotifier = notifier; | - |
| 468 | | - |
| 469 | d->socketNotifierSource->pollfds.append(p); | - |
| 470 | | - |
| 471 | g_source_add_poll(&d->socketNotifierSource->source, &p->pollfd); | - |
| 472 | }executed 43144 times by 202 tests: end of blockExecuted 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
- ...
| 43144 |
| 473 | | - |
| 474 | void QEventDispatcherGlib::unregisterSocketNotifier(QSocketNotifier *notifier) | - |
| 475 | { | - |
| 476 | Q_ASSERT(notifier); | - |
| 477 | #ifndef QT_NO_DEBUG | - |
| 478 | int sockfd = notifier->socket(); | - |
| 479 | if (sockfd < 0) {| TRUE | never evaluated | | FALSE | evaluated 43146 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-43146 |
| 480 | qWarning("QSocketNotifier: Internal error"); | - |
| 481 | return; never executed: return; | 0 |
| 482 | } else if (notifier->thread() != thread()| TRUE | never evaluated | | FALSE | evaluated 43146 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-43146 |
| 483 | || thread() != QThread::currentThread()) {| TRUE | never evaluated | | FALSE | evaluated 43146 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-43146 |
| 484 | qWarning("QSocketNotifier: socket notifiers cannot be disabled from another thread"); | - |
| 485 | return; never executed: return; | 0 |
| 486 | } | - |
| 487 | #endif | - |
| 488 | | - |
| 489 | Q_D(QEventDispatcherGlib); | - |
| 490 | | - |
| 491 | for (int i = 0; i < d->socketNotifierSource->pollfds.count(); ++i) {| TRUE | evaluated 96064 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-96064 |
| 492 | GPollFDWithQSocketNotifier *p = d->socketNotifierSource->pollfds.at(i); | - |
| 493 | if (p->socketNotifier == notifier) {| TRUE | evaluated 43146 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 52918 times by 252 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
- ...
|
| 43146-52918 |
| 494 | | - |
| 495 | g_source_remove_poll(&d->socketNotifierSource->source, &p->pollfd); | - |
| 496 | | - |
| 497 | d->socketNotifierSource->pollfds.removeAt(i); | - |
| 498 | delete p; | - |
| 499 | | - |
| 500 | return;executed 43146 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
- ...
| 43146 |
| 501 | } | - |
| 502 | }executed 52918 times by 252 tests: end of blockExecuted 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
- ...
| 52918 |
| 503 | } never executed: end of block | 0 |
| 504 | | - |
| 505 | void QEventDispatcherGlib::registerTimer(int timerId, int interval, Qt::TimerType timerType, QObject *object) | - |
| 506 | { | - |
| 507 | #ifndef QT_NO_DEBUG | - |
| 508 | if (timerId < 1 || interval < 0 || !object) {| TRUE | never evaluated | | FALSE | evaluated 185312 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 185312 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 185312 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-185312 |
| 509 | qWarning("QEventDispatcherGlib::registerTimer: invalid arguments"); | - |
| 510 | return; never executed: return; | 0 |
| 511 | } else if (object->thread() != thread() || thread() != QThread::currentThread()) {| TRUE | never evaluated | | FALSE | evaluated 185312 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 185312 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-185312 |
| 512 | qWarning("QEventDispatcherGlib::registerTimer: timers cannot be started from another thread"); | - |
| 513 | return; never executed: return; | 0 |
| 514 | } | - |
| 515 | #endif | - |
| 516 | | - |
| 517 | Q_D(QEventDispatcherGlib); | - |
| 518 | d->timerSource->timerList.registerTimer(timerId, interval, timerType, object); | - |
| 519 | }executed 185312 times by 206 tests: end of blockExecuted 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
- ...
| 185312 |
| 520 | | - |
| 521 | bool QEventDispatcherGlib::unregisterTimer(int timerId) | - |
| 522 | { | - |
| 523 | #ifndef QT_NO_DEBUG | - |
| 524 | if (timerId < 1) {| TRUE | never evaluated | | FALSE | evaluated 161101 times by 217 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-161101 |
| 525 | qWarning("QEventDispatcherGlib::unregisterTimer: invalid argument"); | - |
| 526 | return false; never executed: return false; | 0 |
| 527 | } else if (thread() != QThread::currentThread()) {| TRUE | never evaluated | | FALSE | evaluated 161101 times by 217 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-161101 |
| 528 | qWarning("QEventDispatcherGlib::unregisterTimer: timers cannot be stopped from another thread"); | - |
| 529 | return false; never executed: return false; | 0 |
| 530 | } | - |
| 531 | #endif | - |
| 532 | | - |
| 533 | Q_D(QEventDispatcherGlib); | - |
| 534 | return d->timerSource->timerList.unregisterTimer(timerId);executed 161101 times by 217 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
- ...
| 161101 |
| 535 | } | - |
| 536 | | - |
| 537 | bool QEventDispatcherGlib::unregisterTimers(QObject *object) | - |
| 538 | { | - |
| 539 | #ifndef QT_NO_DEBUG | - |
| 540 | if (!object) {| TRUE | never evaluated | | FALSE | evaluated 22418 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- 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
- ...
|
| 0-22418 |
| 541 | qWarning("QEventDispatcherGlib::unregisterTimers: invalid argument"); | - |
| 542 | return false; never executed: return false; | 0 |
| 543 | } else if (object->thread() != thread() || thread() != QThread::currentThread()) {| TRUE | never evaluated | | FALSE | evaluated 22418 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- 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
- ...
|
| TRUE | never evaluated | | FALSE | evaluated 22418 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- 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
- ...
|
| 0-22418 |
| 544 | qWarning("QEventDispatcherGlib::unregisterTimers: timers cannot be stopped from another thread"); | - |
| 545 | return false; never executed: return false; | 0 |
| 546 | } | - |
| 547 | #endif | - |
| 548 | | - |
| 549 | Q_D(QEventDispatcherGlib); | - |
| 550 | return d->timerSource->timerList.unregisterTimers(object);executed 22418 times by 65 tests: return d->timerSource->timerList.unregisterTimers(object);Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- 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
- ...
| 22418 |
| 551 | } | - |
| 552 | | - |
| 553 | QList<QEventDispatcherGlib::TimerInfo> QEventDispatcherGlib::registeredTimers(QObject *object) const | - |
| 554 | { | - |
| 555 | if (!object) {| TRUE | never evaluated | | FALSE | evaluated 65826 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-65826 |
| 556 | qWarning("QEventDispatcherUNIX:registeredTimers: invalid argument"); | - |
| 557 | return QList<TimerInfo>(); never executed: return QList<TimerInfo>(); | 0 |
| 558 | } | - |
| 559 | | - |
| 560 | Q_D(const QEventDispatcherGlib); | - |
| 561 | return d->timerSource->timerList.registeredTimers(object);executed 65826 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
- ...
| 65826 |
| 562 | } | - |
| 563 | | - |
| 564 | int QEventDispatcherGlib::remainingTime(int timerId) | - |
| 565 | { | - |
| 566 | #ifndef QT_NO_DEBUG | - |
| 567 | if (timerId < 1) {| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 test |
| 0-4 |
| 568 | qWarning("QEventDispatcherGlib::remainingTimeTime: invalid argument"); | - |
| 569 | return -1; never executed: return -1; | 0 |
| 570 | } | - |
| 571 | #endif | - |
| 572 | | - |
| 573 | Q_D(QEventDispatcherGlib); | - |
| 574 | return d->timerSource->timerList.timerRemainingTime(timerId);executed 4 times by 1 test: return d->timerSource->timerList.timerRemainingTime(timerId); | 4 |
| 575 | } | - |
| 576 | | - |
| 577 | void QEventDispatcherGlib::interrupt() | - |
| 578 | { | - |
| 579 | wakeUp(); | - |
| 580 | }executed 4384 times by 238 tests: end of blockExecuted 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 |
| 581 | | - |
| 582 | void QEventDispatcherGlib::wakeUp() | - |
| 583 | { | - |
| 584 | Q_D(QEventDispatcherGlib); | - |
| 585 | d->postEventSource->serialNumber.ref(); | - |
| 586 | g_main_context_wakeup(d->mainContext); | - |
| 587 | }executed 725584 times by 404 tests: end of blockExecuted 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
- ...
| 725584 |
| 588 | | - |
| 589 | void QEventDispatcherGlib::flush() | - |
| 590 | { | - |
| 591 | } | - |
| 592 | | - |
| 593 | bool QEventDispatcherGlib::versionSupported() | - |
| 594 | { | - |
| 595 | #if !defined(GLIB_MAJOR_VERSION) || !defined(GLIB_MINOR_VERSION) || !defined(GLIB_MICRO_VERSION) | - |
| 596 | return false; | - |
| 597 | #else | - |
| 598 | return ((GLIB_MAJOR_VERSION << 16) + (GLIB_MINOR_VERSION << 8) + GLIB_MICRO_VERSION) >= 0x020301;executed 639945 times by 549 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
- ...
| 639945 |
| 599 | #endif | - |
| 600 | } | - |
| 601 | | - |
| 602 | QEventDispatcherGlib::QEventDispatcherGlib(QEventDispatcherGlibPrivate &dd, QObject *parent) | - |
| 603 | : QAbstractEventDispatcher(dd, parent) | - |
| 604 | { | - |
| 605 | }executed 129 times by 5 tests: end of blockExecuted by:- tst_QApplication
- tst_QGuiApplication
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 129 |
| 606 | | - |
| 607 | QT_END_NAMESPACE | - |
| | |