| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | QThreadData::QThreadData(int initialRefCount) | - |
| 11 | : _ref(initialRefCount), loopLevel(0), scopeLevel(0), thread(0), threadId(0), | - |
| 12 | eventDispatcher(0), | - |
| 13 | quitNow(false), canWait(true), isAdopted(false), requiresCoreApplication(true) | - |
| 14 | { | - |
| 15 | | - |
| 16 | }executed 582058 times by 680 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
- ...
| 582058 |
| 17 | | - |
| 18 | QThreadData::~QThreadData() | - |
| 19 | { | - |
| 20 | ((!(_ref.load() == 0)) ? qt_assert("_ref.load() == 0",__FILE__,68) : qt_noop()); | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | if (this->thread == QCoreApplicationPrivate::theMainThread| TRUE | evaluated 1087 times by 346 testsEvaluated by:- tst_compiler - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaction - unknown status
- tst_qasn1element - unknown status
- tst_qatomicint - unknown status
- tst_qauthenticator - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- ...
| | FALSE | evaluated 580368 times by 510 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- tst_QMutex
- tst_QMutexLocker
- ...
|
) { | 1087-580368 |
| 29 | QCoreApplicationPrivate::theMainThread = 0; | - |
| 30 | QThreadData::clearCurrentThreadData(); | - |
| 31 | }executed 1087 times by 346 tests: end of blockExecuted by:- tst_compiler - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaction - unknown status
- tst_qasn1element - unknown status
- tst_qatomicint - unknown status
- tst_qauthenticator - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- ...
| 1087 |
| 32 | | - |
| 33 | QThread *t = thread; | - |
| 34 | thread = 0; | - |
| 35 | delete t; | - |
| 36 | | - |
| 37 | for (int i = 0; i < postEventList.size()| TRUE | evaluated 1502 times by 49 testsEvaluated by:- tst_QDBusPendingCall
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QTcpSocket
- tst_QThread
- tst_Spdy
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdial - unknown status
- tst_qdirmodel - unknown status
- tst_qerrormessage - unknown status
- tst_qfontcombobox - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- ...
| | FALSE | evaluated 581455 times by 546 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- tst_QMutex
- tst_QMutexLocker
- ...
|
; ++i) { | 1502-581455 |
| 38 | const QPostEvent &pe = postEventList.at(i); | - |
| 39 | if (pe.event| TRUE | never evaluated | | FALSE | evaluated 1502 times by 49 testsEvaluated by:- tst_QDBusPendingCall
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QTcpSocket
- tst_QThread
- tst_Spdy
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdial - unknown status
- tst_qdirmodel - unknown status
- tst_qerrormessage - unknown status
- tst_qfontcombobox - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- ...
|
) { | 0-1502 |
| 40 | --pe.receiver->d_func()->postedEvents; | - |
| 41 | pe.event->posted = false; | - |
| 42 | delete pe.event; | - |
| 43 | } never executed: end of block | 0 |
| 44 | }executed 1502 times by 49 tests: end of blockExecuted by:- tst_QDBusPendingCall
- tst_QNetworkConfigurationManager
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QTcpSocket
- tst_QThread
- tst_Spdy
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qactiongroup - unknown status
- tst_qapplication - unknown status
- tst_qbackingstore - unknown status
- tst_qdatetimeedit - unknown status
- tst_qdbuscontext - unknown status
- tst_qdbuslocalcalls - unknown status
- tst_qdbuspendingreply - unknown status
- tst_qdbusreply - unknown status
- tst_qdial - unknown status
- tst_qdirmodel - unknown status
- tst_qerrormessage - unknown status
- tst_qfontcombobox - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- ...
| 1502 |
| 45 | | - |
| 46 | | - |
| 47 | }executed 581455 times by 546 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- tst_QMutex
- tst_QMutexLocker
- ...
| 581455 |
| 48 | | - |
| 49 | void QThreadData::ref() | - |
| 50 | { | - |
| 51 | | - |
| 52 | (void) _ref.ref(); | - |
| 53 | ((!(_ref.load() != 0)) ? qt_assert("_ref.load() != 0",__FILE__,101) : qt_noop()); | - |
| 54 | | - |
| 55 | }executed 2663175 times by 912 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
- ...
| 2663175 |
| 56 | | - |
| 57 | void QThreadData::deref() | - |
| 58 | { | - |
| 59 | | - |
| 60 | if (!_ref.deref()| TRUE | evaluated 581455 times by 546 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- tst_QMutex
- tst_QMutexLocker
- ...
| | FALSE | evaluated 2661634 times by 895 testsEvaluated by:- 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_QAnimationGroup
- tst_QApplication
- tst_QAsn1Element
- ...
|
) | 581455-2661634 |
| 61 | delete this;executed 581455 times by 546 tests: delete this;Executed by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- tst_QMutex
- tst_QMutexLocker
- ...
| 581455 |
| 62 | | - |
| 63 | }executed 3243089 times by 895 tests: end of blockExecuted by:- 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_QAnimationGroup
- tst_QApplication
- tst_QAsn1Element
- ...
| 3243089 |
| 64 | | - |
| 65 | | - |
| 66 | | - |
| 67 | | - |
| 68 | | - |
| 69 | QAdoptedThread::QAdoptedThread(QThreadData *data) | - |
| 70 | : QThread(*new QThreadPrivate(data)) | - |
| 71 | { | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | d_func()->running = true; | - |
| 76 | d_func()->finished = false; | - |
| 77 | init(); | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | }executed 1125 times by 19 tests: end of blockExecuted by:- tst_QThread
- tst_qapplication - unknown status
- tst_qcoreapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlockfile - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_qtextstream - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| 1125 |
| 82 | | - |
| 83 | QAdoptedThread::~QAdoptedThread() | - |
| 84 | { | - |
| 85 | | - |
| 86 | } | - |
| 87 | | - |
| 88 | void QAdoptedThread::run() | - |
| 89 | { | - |
| 90 | | - |
| 91 | QMessageLogger(__FILE__, 139, __PRETTY_FUNCTION__).fatal("QAdoptedThread::run(): Internal error, this implementation should never be called."); | - |
| 92 | } never executed: end of block | 0 |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | QThreadPrivate::QThreadPrivate(QThreadData *d) | - |
| 99 | : QObjectPrivate(), running(false), finished(false), | - |
| 100 | isInFinish(false), interruptionRequested(false), | - |
| 101 | exited(false), returnCode(-1), | - |
| 102 | stackSize(0), priority(QThread::InheritPriority), data(d) | - |
| 103 | { | - |
| 104 | if (!data| TRUE | evaluated 580705 times by 512 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
- ...
| | FALSE | evaluated 1125 times by 19 testsEvaluated by:- tst_QThread
- tst_qapplication - unknown status
- tst_qcoreapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlockfile - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_qtextstream - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
|
) | 1125-580705 |
| 105 | data = new QThreadData;executed 580705 times by 512 tests: data = new QThreadData;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
- ...
| 580705 |
| 106 | }executed 581830 times by 523 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
- ...
| 581830 |
| 107 | | - |
| 108 | QThreadPrivate::~QThreadPrivate() | - |
| 109 | { | - |
| 110 | data->deref(); | - |
| 111 | }executed 581949 times by 576 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFreeList
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- ...
| 581949 |
| 112 | QThread *QThread::currentThread() | - |
| 113 | { | - |
| 114 | QThreadData *data = QThreadData::current(); | - |
| 115 | ((!(data != 0)) ? qt_assert("data != 0",__FILE__,371) : qt_noop()); | - |
| 116 | returnexecuted 5073604 times by 735 tests: return data->thread;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
- ...
data->thread;executed 5073604 times by 735 tests: return data->thread;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
- ...
| 5073604 |
| 117 | } | - |
| 118 | QThread::QThread(QObject *parent) | - |
| 119 | : QObject(*(new QThreadPrivate), parent) | - |
| 120 | { | - |
| 121 | QThreadPrivate * const d = d_func(); | - |
| 122 | | - |
| 123 | d->data->thread = this; | - |
| 124 | }executed 580705 times by 512 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
- ...
| 580705 |
| 125 | | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | QThread::QThread(QThreadPrivate &dd, QObject *parent) | - |
| 130 | : QObject(dd, parent) | - |
| 131 | { | - |
| 132 | QThreadPrivate * const d = d_func(); | - |
| 133 | | - |
| 134 | d->data->thread = this; | - |
| 135 | }executed 1125 times by 19 tests: end of blockExecuted by:- tst_QThread
- tst_qapplication - unknown status
- tst_qcoreapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbuscpp2xml - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qdbusxml2cpp - unknown status
- tst_qlockfile - unknown status
- tst_qlogging - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_qtextstream - unknown status
- tst_quuid - unknown status
- tst_selftests - unknown status
| 1125 |
| 136 | QThread::~QThread() | - |
| 137 | { | - |
| 138 | QThreadPrivate * const d = d_func(); | - |
| 139 | { | - |
| 140 | QMutexLocker locker(&d->mutex); | - |
| 141 | if (d->isInFinish| TRUE | evaluated 57 times by 5 testsEvaluated by:- tst_QCoreApplication
- tst_QDBusThreading
- tst_QGuiApplication
- tst_QNetworkProxyFactory
- tst_QThread
| | FALSE | evaluated 581892 times by 576 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFreeList
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- ...
|
) { | 57-581892 |
| 142 | locker.unlock(); | - |
| 143 | wait(); | - |
| 144 | locker.relock(); | - |
| 145 | }executed 57 times by 5 tests: end of blockExecuted by:- tst_QCoreApplication
- tst_QDBusThreading
- tst_QGuiApplication
- tst_QNetworkProxyFactory
- tst_QThread
| 57 |
| 146 | if (d->running| TRUE | evaluated 1087 times by 346 testsEvaluated by:- tst_compiler - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaction - unknown status
- tst_qasn1element - unknown status
- tst_qatomicint - unknown status
- tst_qauthenticator - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- ...
| | FALSE | evaluated 580862 times by 576 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFreeList
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- ...
|
&& !d->finished| TRUE | evaluated 1087 times by 346 testsEvaluated by:- tst_compiler - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaction - unknown status
- tst_qasn1element - unknown status
- tst_qatomicint - unknown status
- tst_qauthenticator - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- ...
| | FALSE | never evaluated |
&& !d->data->isAdopted| TRUE | never evaluated | | FALSE | evaluated 1087 times by 346 testsEvaluated by:- tst_compiler - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaction - unknown status
- tst_qasn1element - unknown status
- tst_qatomicint - unknown status
- tst_qauthenticator - unknown status
- tst_qboxlayout - unknown status
- tst_qbrush - unknown status
- tst_qbuffer - unknown status
- tst_qbytearray - unknown status
- ...
|
) | 0-580862 |
| 147 | QMessageLogger(__FILE__, 421, __PRETTY_FUNCTION__).warning("QThread: Destroyed while thread is still running"); never executed: QMessageLogger(__FILE__, 421, __PRETTY_FUNCTION__).warning("QThread: Destroyed while thread is still running"); | 0 |
| 148 | | - |
| 149 | d->data->thread = 0; | - |
| 150 | } | - |
| 151 | }executed 581949 times by 576 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QAtomicInt
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusPendingCall
- tst_QDBusThreading
- tst_QDnsLookup_Appless
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFreeList
- tst_QFuture
- tst_QGlobalStatic
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QLogging
- tst_QMetaObject
- tst_QMetaType
- ...
| 581949 |
| 152 | | - |
| 153 | | - |
| 154 | | - |
| 155 | | - |
| 156 | | - |
| 157 | | - |
| 158 | bool QThread::isFinished() const | - |
| 159 | { | - |
| 160 | const QThreadPrivate * const d = d_func(); | - |
| 161 | QMutexLocker locker(&d->mutex); | - |
| 162 | returnexecuted 384051 times by 14 tests: return d->finished || d->isInFinish;Executed by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSemaphore
- tst_QSharedMemory
- tst_QThread
- tst_QWaitCondition
- tst_QXmlInputSource
- tst_Spdy
- tst_spdy - unknown status
d->finished || d->isInFinish;executed 384051 times by 14 tests: return d->finished || d->isInFinish;Executed by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSemaphore
- tst_QSharedMemory
- tst_QThread
- tst_QWaitCondition
- tst_QXmlInputSource
- tst_Spdy
- tst_spdy - unknown status
| 384051 |
| 163 | } | - |
| 164 | | - |
| 165 | | - |
| 166 | | - |
| 167 | | - |
| 168 | | - |
| 169 | | - |
| 170 | bool QThread::isRunning() const | - |
| 171 | { | - |
| 172 | const QThreadPrivate * const d = d_func(); | - |
| 173 | QMutexLocker locker(&d->mutex); | - |
| 174 | returnexecuted 686 times by 227 tests: return d->running && !d->isInFinish;Executed by:- tst_QApplication
- tst_QGLThreads
- tst_QGuiApplication
- tst_QObject
- tst_QOpenGlConfig
- tst_QSemaphore
- tst_QSslSocket
- tst_QStateMachine
- tst_QThread
- tst_QWaitCondition
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- ...
d->running && !d->isInFinish;executed 686 times by 227 tests: return d->running && !d->isInFinish;Executed by:- tst_QApplication
- tst_QGLThreads
- tst_QGuiApplication
- tst_QObject
- tst_QOpenGlConfig
- tst_QSemaphore
- tst_QSslSocket
- tst_QStateMachine
- tst_QThread
- tst_QWaitCondition
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_modeltest - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- tst_qactiongroup - unknown status
- ...
| 686 |
| 175 | } | - |
| 176 | void QThread::setStackSize(uint stackSize) | - |
| 177 | { | - |
| 178 | QThreadPrivate * const d = d_func(); | - |
| 179 | QMutexLocker locker(&d->mutex); | - |
| 180 | ((!(!d->running)) ? qt_assert_x("QThread::setStackSize", "cannot change stack size while the thread is running", | - |
| 181 | __FILE__ | - |
| 182 | , | - |
| 183 | 468 | - |
| 184 | ) : qt_noop()) | - |
| 185 | ; | - |
| 186 | d->stackSize = stackSize; | - |
| 187 | }executed 2 times by 1 test: end of block | 2 |
| 188 | | - |
| 189 | | - |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | | - |
| 194 | | - |
| 195 | uint QThread::stackSize() const | - |
| 196 | { | - |
| 197 | const QThreadPrivate * const d = d_func(); | - |
| 198 | QMutexLocker locker(&d->mutex); | - |
| 199 | returnexecuted 3 times by 1 test: return d->stackSize; d->stackSize;executed 3 times by 1 test: return d->stackSize; | 3 |
| 200 | } | - |
| 201 | int QThread::exec() | - |
| 202 | { | - |
| 203 | QThreadPrivate * const d = d_func(); | - |
| 204 | QMutexLocker locker(&d->mutex); | - |
| 205 | d->data->quitNow = false; | - |
| 206 | if (d->exited| TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QThread
| | FALSE | evaluated 938 times by 173 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
- ...
|
) { | 28-938 |
| 207 | d->exited = false; | - |
| 208 | returnexecuted 28 times by 2 tests: return d->returnCode;Executed by:- tst_QNetworkReply
- tst_QThread
d->returnCode;executed 28 times by 2 tests: return d->returnCode;Executed by:- tst_QNetworkReply
- tst_QThread
| 28 |
| 209 | } | - |
| 210 | locker.unlock(); | - |
| 211 | | - |
| 212 | QEventLoop eventLoop; | - |
| 213 | int returnCode = eventLoop.exec(); | - |
| 214 | | - |
| 215 | locker.relock(); | - |
| 216 | d->exited = false; | - |
| 217 | d->returnCode = -1; | - |
| 218 | returnexecuted 944 times by 188 tests: return returnCode;Executed by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusThreading
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QProcess
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- ...
returnCode;executed 944 times by 188 tests: return returnCode;Executed by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusThreading
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QProcess
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- ...
| 944 |
| 219 | } | - |
| 220 | void QThread::exit(int returnCode) | - |
| 221 | { | - |
| 222 | QThreadPrivate * const d = d_func(); | - |
| 223 | QMutexLocker locker(&d->mutex); | - |
| 224 | d->exited = true; | - |
| 225 | d->returnCode = returnCode; | - |
| 226 | d->data->quitNow = true; | - |
| 227 | for (int i = 0; i < d->data->eventLoops.size()| TRUE | evaluated 948 times by 188 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusThreading
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QProcess
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- ...
| | FALSE | evaluated 983 times by 188 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusThreading
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QProcess
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- ...
|
; ++i) { | 948-983 |
| 228 | QEventLoop *eventLoop = d->data->eventLoops.at(i); | - |
| 229 | eventLoop->exit(returnCode); | - |
| 230 | }executed 948 times by 188 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusThreading
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QProcess
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- ...
| 948 |
| 231 | }executed 983 times by 188 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusThreading
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QLocalSocket
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QProcess
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- ...
| 983 |
| 232 | void QThread::quit() | - |
| 233 | { exit();executed 916 times by 186 tests: exit();Executed by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QDBusAbstractInterface
- tst_QDBusThreading
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QStateMachine
- tst_QTcpSocket
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- tst_gestures - unknown status
- tst_languagechange - unknown status
- ...
} | 916 |
| 234 | void QThread::run() | - |
| 235 | { | - |
| 236 | (void) exec(); | - |
| 237 | }executed 649 times by 38 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QCoreApplication
- tst_QEventLoop
- tst_QGuiApplication
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QMetaObject
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPointer
- tst_QStateMachine
- tst_QThread
- tst_QTimer
- tst_QXmlInputSource
- tst_Spdy
- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- ...
| 649 |
| 238 | void QThread::setPriority(Priority priority) | - |
| 239 | { | - |
| 240 | QThreadPrivate * const d = d_func(); | - |
| 241 | QMutexLocker locker(&d->mutex); | - |
| 242 | if (!d->running| TRUE | evaluated 14 times by 1 test | | FALSE | evaluated 14 times by 1 test |
) { | 14 |
| 243 | QMessageLogger(__FILE__, 601, __PRETTY_FUNCTION__).warning("QThread::setPriority: Cannot set priority, thread is not running"); | - |
| 244 | return;executed 14 times by 1 test: return; | 14 |
| 245 | } | - |
| 246 | d->setPriority(priority); | - |
| 247 | }executed 14 times by 1 test: end of block | 14 |
| 248 | QThread::Priority QThread::priority() const | - |
| 249 | { | - |
| 250 | const QThreadPrivate * const d = d_func(); | - |
| 251 | QMutexLocker locker(&d->mutex); | - |
| 252 | | - |
| 253 | | - |
| 254 | returnexecuted 33 times by 1 test: return Priority(d->priority & 0xffff); Priority(d->priority & 0xffff);executed 33 times by 1 test: return Priority(d->priority & 0xffff); | 33 |
| 255 | } | - |
| 256 | int QThread::loopLevel() const | - |
| 257 | { | - |
| 258 | const QThreadPrivate * const d = d_func(); | - |
| 259 | return never executed: return d->data->eventLoops.size(); d->data->eventLoops.size();never executed: return d->data->eventLoops.size(); | 0 |
| 260 | } | - |
| 261 | QAbstractEventDispatcher *QThread::eventDispatcher() const | - |
| 262 | { | - |
| 263 | const QThreadPrivate * const d = d_func(); | - |
| 264 | returnexecuted 193 times by 132 tests: return d->data->eventDispatcher.load();Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
d->data->eventDispatcher.load();executed 193 times by 132 tests: return d->data->eventDispatcher.load();Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCoreApplication
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- ...
| 193 |
| 265 | } | - |
| 266 | void QThread::setEventDispatcher(QAbstractEventDispatcher *eventDispatcher) | - |
| 267 | { | - |
| 268 | QThreadPrivate * const d = d_func(); | - |
| 269 | if (d->data->hasEventDispatcher()| TRUE | never evaluated | | FALSE | evaluated 3 times by 3 testsEvaluated by:- tst_QCoreApplication
- tst_QGuiApplication
- tst_QThread
|
) { | 0-3 |
| 270 | QMessageLogger(__FILE__, 795, __PRETTY_FUNCTION__).warning("QThread::setEventDispatcher: An event dispatcher has already been created for this thread"); | - |
| 271 | } never executed: end of block else { | 0 |
| 272 | eventDispatcher->moveToThread(this); | - |
| 273 | if (eventDispatcher->thread() == this| TRUE | evaluated 3 times by 3 testsEvaluated by:- tst_QCoreApplication
- tst_QGuiApplication
- tst_QThread
| | FALSE | never evaluated |
) | 0-3 |
| 274 | d->data->eventDispatcher = eventDispatcher;executed 3 times by 3 tests: d->data->eventDispatcher = eventDispatcher;Executed by:- tst_QCoreApplication
- tst_QGuiApplication
- tst_QThread
| 3 |
| 275 | else | - |
| 276 | QMessageLogger(__FILE__, 801, __PRETTY_FUNCTION__).warning("QThread::setEventDispatcher: Could not move event dispatcher to target thread"); never executed: QMessageLogger(__FILE__, 801, __PRETTY_FUNCTION__).warning("QThread::setEventDispatcher: Could not move event dispatcher to target thread"); | 0 |
| 277 | } | - |
| 278 | } | - |
| 279 | | - |
| 280 | | - |
| 281 | | - |
| 282 | | - |
| 283 | bool QThread::event(QEvent *event) | - |
| 284 | { | - |
| 285 | if (event->type() == QEvent::Quit| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 3073 times by 322 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
|
) { | 1-3073 |
| 286 | quit(); | - |
| 287 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
| 288 | } else { | - |
| 289 | returnexecuted 3073 times by 322 tests: return QObject::event(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_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
QObject::event(event);executed 3073 times by 322 tests: return QObject::event(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_QCoreApplication
- tst_QDBusAbstractAdaptor
- ...
| 3073 |
| 290 | } | - |
| 291 | } | - |
| 292 | void QThread::requestInterruption() | - |
| 293 | { | - |
| 294 | QThreadPrivate * const d = d_func(); | - |
| 295 | QMutexLocker locker(&d->mutex); | - |
| 296 | if (!d->running| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
|| d->finished| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
|| d->isInFinish| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
| 297 | return; never executed: return; | 0 |
| 298 | if (this == QCoreApplicationPrivate::theMainThread| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
) { | 0-1 |
| 299 | QMessageLogger(__FILE__, 837, __PRETTY_FUNCTION__).warning("QThread::requestInterruption has no effect on the main thread"); | - |
| 300 | return; never executed: return; | 0 |
| 301 | } | - |
| 302 | d->interruptionRequested = true; | - |
| 303 | }executed 1 time by 1 test: end of block | 1 |
| 304 | bool QThread::isInterruptionRequested() const | - |
| 305 | { | - |
| 306 | const QThreadPrivate * const d = d_func(); | - |
| 307 | QMutexLocker locker(&d->mutex); | - |
| 308 | if (!d->running| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 100 times by 1 test |
|| d->finished| TRUE | never evaluated | | FALSE | evaluated 100 times by 1 test |
|| d->isInFinish| TRUE | never evaluated | | FALSE | evaluated 100 times by 1 test |
) | 0-100 |
| 309 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
| 310 | returnexecuted 100 times by 1 test: return d->interruptionRequested; d->interruptionRequested;executed 100 times by 1 test: return d->interruptionRequested; | 100 |
| 311 | } | - |
| 312 | QDaemonThread::QDaemonThread(QObject *parent) | - |
| 313 | : QThread(parent) | - |
| 314 | { | - |
| 315 | | - |
| 316 | connect(this, &QThread::started, | - |
| 317 | [](){ QThreadData::current()->requiresCoreApplication = false; }executed 189 times by 161 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
); | 189 |
| 318 | }executed 189 times by 161 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_QCoreApplication
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- ...
| 189 |
| 319 | | - |
| 320 | QDaemonThread::~QDaemonThread() | - |
| 321 | { | - |
| 322 | } | - |
| 323 | | - |
| 324 | | - |
| | |