Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include <QtTest/private/qtestresult_p.h> | - |
41 | #include <QtCore/qglobal.h> | - |
42 | | - |
43 | #include <QtTest/private/qtestlog_p.h> | - |
44 | #include <QtTest/qtestdata.h> | - |
45 | #include <QtTest/qtestassert.h> | - |
46 | | - |
47 | #include <stdlib.h> | - |
48 | #include <stdio.h> | - |
49 | #include <string.h> | - |
50 | | - |
51 | static const char *currentAppName = 0; | - |
52 | | - |
53 | QT_BEGIN_NAMESPACE | - |
54 | | - |
55 | namespace QTest | - |
56 | { | - |
57 | static QTestData *currentTestData = 0; | - |
58 | static QTestData *currentGlobalTestData = 0; | - |
59 | static const char *currentTestFunc = 0; | - |
60 | static const char *currentTestObjectName = 0; | - |
61 | static bool failed = false; | - |
62 | static bool skipCurrentTest = false; | - |
63 | static bool blacklistCurrentTest = false; | - |
64 | | - |
65 | static const char *expectFailComment = 0; | - |
66 | static int expectFailMode = 0; | - |
67 | } | - |
68 | | - |
69 | void QTestResult::reset() | - |
70 | { | - |
71 | QTest::currentTestData = 0; | - |
72 | QTest::currentGlobalTestData = 0; | - |
73 | QTest::currentTestFunc = 0; | - |
74 | QTest::currentTestObjectName = 0; | - |
75 | QTest::failed = false; | - |
76 | | - |
77 | QTest::expectFailComment = 0; | - |
78 | QTest::expectFailMode = 0; | - |
79 | QTest::blacklistCurrentTest = false; | - |
80 | | - |
81 | QTestLog::resetCounters(); | - |
82 | }executed 815 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 815 |
83 | | - |
84 | void QTestResult::setBlacklistCurrentTest(bool b) | - |
85 | { | - |
86 | QTest::blacklistCurrentTest = b; | - |
87 | }executed 267584 times by 507 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 267584 |
88 | | - |
89 | bool QTestResult::currentTestFailed() | - |
90 | { | - |
91 | return QTest::failed;executed 255030 times by 507 tests: return QTest::failed; 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
- ...
| 255030 |
92 | } | - |
93 | | - |
94 | QTestData *QTestResult::currentGlobalTestData() | - |
95 | { | - |
96 | return QTest::currentGlobalTestData;executed 7627 times by 15 tests: return QTest::currentGlobalTestData; Executed by:- tst_QDBusLocalCalls
- tst_QDnsLookup
- tst_QFtp
- tst_QHostInfo
- tst_QSqlDriver
- tst_QSqlRelationalTableModel
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_Utf8
- tst_qdbusxml2cpp
- tst_selftests - unknown status
| 7627 |
97 | } | - |
98 | | - |
99 | QTestData *QTestResult::currentTestData() | - |
100 | { | - |
101 | return QTest::currentTestData;executed 427608 times by 327 tests: return QTest::currentTestData; Executed by:- tst_Collections
- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QAction
- tst_QAlgorithms
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QAsn1Element
- tst_QAtomicInt
- tst_QAtomicInteger_char
- tst_QAtomicInteger_char16_t
- tst_QAtomicInteger_char32_t
- tst_QAtomicInteger_int
- tst_QAtomicInteger_long
- ...
| 427608 |
102 | } | - |
103 | | - |
104 | void QTestResult::setCurrentGlobalTestData(QTestData *data) | - |
105 | { | - |
106 | QTest::currentGlobalTestData = data; | - |
107 | }executed 15203 times by 502 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
| 15203 |
108 | | - |
109 | void QTestResult::setCurrentTestData(QTestData *data) | - |
110 | { | - |
111 | QTest::currentTestData = data; | - |
112 | QTest::failed = false; | - |
113 | }executed 266337 times by 502 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
| 266337 |
114 | | - |
115 | void QTestResult::setCurrentTestFunction(const char *func) | - |
116 | { | - |
117 | QTest::currentTestFunc = func; | - |
118 | QTest::failed = false; | - |
119 | if (func)TRUE | evaluated 15764 times by 507 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 1263 times by 505 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
- ...
|
| 1263-15764 |
120 | QTestLog::enterTestFunction(func);executed 15764 times by 507 tests: QTestLog::enterTestFunction(func); 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
- ...
| 15764 |
121 | }executed 17027 times by 507 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 17027 |
122 | | - |
123 | static void clearExpectFail() | - |
124 | { | - |
125 | QTest::expectFailMode = 0; | - |
126 | delete [] const_cast<char *>(QTest::expectFailComment); | - |
127 | QTest::expectFailComment = 0; | - |
128 | }executed 133569 times by 507 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 133569 |
129 | | - |
130 | void QTestResult::finishedCurrentTestData() | - |
131 | { | - |
132 | if (QTest::expectFailMode)TRUE | evaluated 50 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 128806 times by 507 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
- ...
|
| 50-128806 |
133 | addFailure("QEXPECT_FAIL was called without any subsequent verification statements", 0, 0);executed 50 times by 1 test: addFailure("QEXPECT_FAIL was called without any subsequent verification statements", 0, 0); Executed by:- tst_selftests - unknown status
| 50 |
134 | clearExpectFail(); | - |
135 | | - |
136 | if (!QTest::failed && QTestLog::unhandledIgnoreMessages()) {TRUE | evaluated 126438 times by 507 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 2418 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- ...
|
TRUE | evaluated 100 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 126338 times by 507 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
- ...
|
| 100-126438 |
137 | QTestLog::printUnhandledIgnoreMessages(); | - |
138 | addFailure("Not all expected messages were received", 0, 0); | - |
139 | }executed 100 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 100 |
140 | QTestLog::clearIgnoreMessages(); | - |
141 | }executed 128856 times by 507 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 128856 |
142 | | - |
143 | void QTestResult::finishedCurrentTestDataCleanup() | - |
144 | { | - |
145 | | - |
146 | if (!QTest::failed && !QTest::skipCurrentTest) {TRUE | evaluated 126243 times by 507 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 2593 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- ...
|
TRUE | evaluated 125097 times by 507 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 1146 times by 53 testsEvaluated by:- tst_Compiler
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QDBusConnection_NoApplication
- tst_QDBusLocalCalls
- tst_QDataStream
- tst_QDateTime
- tst_QDialog
- tst_QDir
- tst_QDockWidget
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFtp
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QImageReader
- tst_QItemView
- tst_QLockFile
- tst_QMainWindow
- tst_QMdiArea
- ...
|
| 1146-126243 |
147 | if (QTest::blacklistCurrentTest)TRUE | evaluated 531 times by 19 testsEvaluated by:- tst_QDBusAbstractAdaptor
- tst_QGestureRecognizer
- tst_QGraphicsView
- tst_QMdiArea
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QPauseAnimation
- tst_QSemaphore
- tst_QSizeGrip
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket_onDemandCertificates_member
- tst_QTcpServer
- tst_QTextDocumentLayout
- tst_QTouchEvent
- tst_QUdpSocket
- tst_Spdy
- tst_selftests - unknown status
| FALSE | evaluated 124566 times by 507 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
- ...
|
| 531-124566 |
148 | QTestLog::addBPass("");executed 531 times by 19 tests: QTestLog::addBPass(""); Executed by:- tst_QDBusAbstractAdaptor
- tst_QGestureRecognizer
- tst_QGraphicsView
- tst_QMdiArea
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QPauseAnimation
- tst_QSemaphore
- tst_QSizeGrip
- tst_QSocks5SocketEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QSslSocket_onDemandCertificates_member
- tst_QTcpServer
- tst_QTextDocumentLayout
- tst_QTouchEvent
- tst_QUdpSocket
- tst_Spdy
- tst_selftests - unknown status
| 531 |
149 | else | - |
150 | QTestLog::addPass("");executed 124566 times by 507 tests: QTestLog::addPass(""); 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
- ...
| 124566 |
151 | } | - |
152 | | - |
153 | QTest::failed = false; | - |
154 | }executed 128836 times by 507 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 128836 |
155 | | - |
156 | void QTestResult::finishedCurrentTestFunction() | - |
157 | { | - |
158 | QTest::currentTestFunc = 0; | - |
159 | QTest::failed = false; | - |
160 | | - |
161 | QTestLog::leaveTestFunction(); | - |
162 | }executed 15707 times by 507 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 15707 |
163 | | - |
164 | const char *QTestResult::currentTestFunction() | - |
165 | { | - |
166 | return QTest::currentTestFunc;executed 324451 times by 507 tests: return QTest::currentTestFunc; 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
- ...
| 324451 |
167 | } | - |
168 | | - |
169 | const char *QTestResult::currentDataTag() | - |
170 | { | - |
171 | return QTest::currentTestData ? QTest::currentTestData->dataTag()executed 564558 times by 507 tests: return QTest::currentTestData ? QTest::currentTestData->dataTag() : static_cast<const char *>(0); 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
- ...
| 564558 |
172 | : static_cast<const char *>(0);executed 564558 times by 507 tests: return QTest::currentTestData ? QTest::currentTestData->dataTag() : static_cast<const char *>(0); 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
- ...
| 564558 |
173 | } | - |
174 | | - |
175 | const char *QTestResult::currentGlobalDataTag() | - |
176 | { | - |
177 | return QTest::currentGlobalTestData ? QTest::currentGlobalTestData->dataTag()executed 196691 times by 507 tests: return QTest::currentGlobalTestData ? QTest::currentGlobalTestData->dataTag() : static_cast<const char *>(0); 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
- ...
| 196691 |
178 | : static_cast<const char *>(0);executed 196691 times by 507 tests: return QTest::currentGlobalTestData ? QTest::currentGlobalTestData->dataTag() : static_cast<const char *>(0); 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
- ...
| 196691 |
179 | } | - |
180 | | - |
181 | static bool isExpectFailData(const char *dataIndex) | - |
182 | { | - |
183 | if (!dataIndex || dataIndex[0] == '\0')TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QWidget
| FALSE | evaluated 8463 times by 39 testsEvaluated by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- ...
|
TRUE | evaluated 502 times by 30 testsEvaluated by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlTableModel
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTimeLine
- tst_QTouchEvent
- ...
| FALSE | evaluated 7961 times by 15 testsEvaluated by:- tst_QAuthenticator
- tst_QDateTime
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSqlDatabase
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
|
| 3-8463 |
184 | return true;executed 505 times by 30 tests: return true; Executed by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlTableModel
- tst_QString
- tst_QStyleSheetStyle
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTimeLine
- tst_QTouchEvent
- ...
| 505 |
185 | if (!QTest::currentTestData)TRUE | never evaluated | FALSE | evaluated 7961 times by 15 testsEvaluated by:- tst_QAuthenticator
- tst_QDateTime
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSqlDatabase
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
|
| 0-7961 |
186 | return false; never executed: return false; | 0 |
187 | if (strcmp(dataIndex, QTest::currentTestData->dataTag()) == 0)TRUE | evaluated 211 times by 13 testsEvaluated by:- tst_QAuthenticator
- tst_QDateTime
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
| FALSE | evaluated 7750 times by 14 testsEvaluated by:- tst_QAuthenticator
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSqlDatabase
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
|
| 211-7750 |
188 | return true;executed 211 times by 13 tests: return true; Executed by:- tst_QAuthenticator
- tst_QDateTime
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
| 211 |
189 | return false;executed 7750 times by 14 tests: return false; Executed by:- tst_QAuthenticator
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSqlDatabase
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
| 7750 |
190 | } | - |
191 | | - |
192 | bool QTestResult::expectFail(const char *dataIndex, const char *comment, | - |
193 | QTest::TestFailMode mode, const char *file, int line) | - |
194 | { | - |
195 | QTEST_ASSERT(comment); never executed: qt_assert("comment",__FILE__,195); TRUE | never evaluated | FALSE | evaluated 8466 times by 39 testsEvaluated by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- ...
|
| 0-8466 |
196 | QTEST_ASSERT(mode > 0); never executed: qt_assert("mode > 0",__FILE__,196); TRUE | never evaluated | FALSE | evaluated 8466 times by 39 testsEvaluated by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- ...
|
| 0-8466 |
197 | | - |
198 | if (!isExpectFailData(dataIndex)) {TRUE | evaluated 7750 times by 14 testsEvaluated by:- tst_QAuthenticator
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSqlDatabase
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
| FALSE | evaluated 716 times by 38 testsEvaluated by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlTableModel
- ...
|
| 716-7750 |
199 | delete[] comment; | - |
200 | return true; executed 7750 times by 14 tests: return true; Executed by:- tst_QAuthenticator
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMenu
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSqlDatabase
- tst_QTextEdit
- tst_QXmlSimpleReader
- tst_qmessagehandler
- tst_selftests - unknown status
| 7750 |
201 | } | - |
202 | | - |
203 | if (QTest::expectFailMode) {TRUE | evaluated 25 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 691 times by 38 testsEvaluated by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlTableModel
- ...
|
| 25-691 |
204 | delete[] comment; | - |
205 | clearExpectFail(); | - |
206 | addFailure("Already expecting a fail", file, line); | - |
207 | return false;executed 25 times by 1 test: return false; Executed by:- tst_selftests - unknown status
| 25 |
208 | } | - |
209 | | - |
210 | QTest::expectFailMode = mode; | - |
211 | QTest::expectFailComment = comment; | - |
212 | return true;executed 691 times by 38 tests: return true; Executed by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlTableModel
- ...
| 691 |
213 | } | - |
214 | | - |
215 | static bool checkStatement(bool statement, const char *msg, const char *file, int line) | - |
216 | { | - |
217 | if (statement) {TRUE | evaluated 52635966 times by 506 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
| FALSE | evaluated 2464 times by 61 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAction
- tst_QAuthenticator
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QLocalSocket
- ...
|
| 2464-52635966 |
218 | if (QTest::expectFailMode) {TRUE | evaluated 104 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 52635862 times by 506 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
|
| 104-52635862 |
219 | QTestLog::addXPass(msg, file, line); | - |
220 | bool doContinue = (QTest::expectFailMode == QTest::Continue); | - |
221 | clearExpectFail(); | - |
222 | QTest::failed = true; | - |
223 | return doContinue;executed 104 times by 1 test: return doContinue; Executed by:- tst_selftests - unknown status
| 104 |
224 | } | - |
225 | return true;executed 52635862 times by 506 tests: return true; Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
| 52635862 |
226 | } | - |
227 | | - |
228 | if (QTest::expectFailMode) {TRUE | evaluated 512 times by 38 testsEvaluated by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlTableModel
- ...
| FALSE | evaluated 1952 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- ...
|
| 512-1952 |
229 | QTestLog::addXFail(QTest::expectFailComment, file, line); | - |
230 | bool doContinue = (QTest::expectFailMode == QTest::Continue); | - |
231 | clearExpectFail(); | - |
232 | return doContinue;executed 512 times by 38 tests: return doContinue; Executed by:- tst_LargeFile
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QColumnView
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSqlTableModel
- ...
| 512 |
233 | } | - |
234 | | - |
235 | QTestResult::addFailure(msg, file, line); | - |
236 | return false;executed 1952 times by 27 tests: return false; Executed by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- ...
| 1952 |
237 | } | - |
238 | | - |
239 | bool QTestResult::verify(bool statement, const char *statementStr, | - |
240 | const char *description, const char *file, int line) | - |
241 | { | - |
242 | QTEST_ASSERT(statementStr); never executed: qt_assert("statementStr",__FILE__,242); TRUE | never evaluated | FALSE | evaluated 13110397 times by 453 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
| 0-13110397 |
243 | | - |
244 | char msg[1024] = {'\0'}; | - |
245 | | - |
246 | if (QTestLog::verboseLevel() >= 2) {TRUE | evaluated 450 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 13109947 times by 453 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
| 450-13109947 |
247 | qsnprintf(msg, 1024, "QVERIFY(%s)", statementStr); | - |
248 | QTestLog::info(msg, file, line); | - |
249 | }executed 450 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 450 |
250 | | - |
251 | if (!statement && !QTest::expectFailMode)TRUE | evaluated 1317 times by 34 testsEvaluated by:- tst_LargeFile
- tst_QColumnView
- tst_QCommandLineParser
- tst_QCompleter
- tst_QEventLoop
- tst_QFile
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSqlTableModel
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 13109080 times by 453 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
TRUE | evaluated 990 times by 20 testsEvaluated by:- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
| FALSE | evaluated 327 times by 16 testsEvaluated by:- tst_LargeFile
- tst_QColumnView
- tst_QEventLoop
- tst_QGraphicsLayoutItem
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSqlTableModel
- tst_QString
- tst_QStyleSheetStyle
- tst_QTouchEvent
- tst_QWidget
- tst_QXmlSimpleReader
- tst_selftests - unknown status
|
| 327-13109080 |
252 | qsnprintf(msg, 1024, "'%s' returned FALSE. (%s)", statementStr, description ? description : "");executed 990 times by 20 tests: qsnprintf(msg, 1024, "'%s' returned FALSE. (%s)", statementStr, description ? description : ""); Executed by:- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
| 990 |
253 | else if (statement && QTest::expectFailMode)TRUE | evaluated 13109080 times by 453 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| FALSE | evaluated 327 times by 16 testsEvaluated by:- tst_LargeFile
- tst_QColumnView
- tst_QEventLoop
- tst_QGraphicsLayoutItem
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QNetworkReply
- tst_QSqlTableModel
- tst_QString
- tst_QStyleSheetStyle
- tst_QTouchEvent
- tst_QWidget
- tst_QXmlSimpleReader
- tst_selftests - unknown status
|
TRUE | evaluated 79 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 13109001 times by 453 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
|
| 79-13109080 |
254 | qsnprintf(msg, 1024, "'%s' returned TRUE unexpectedly. (%s)", statementStr, description ? description : "");executed 79 times by 1 test: qsnprintf(msg, 1024, "'%s' returned TRUE unexpectedly. (%s)", statementStr, description ? description : ""); Executed by:- tst_selftests - unknown status
| 79 |
255 | | - |
256 | return checkStatement(statement, msg, file, line);executed 13110397 times by 453 tests: return checkStatement(statement, msg, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- ...
| 13110397 |
257 | } | - |
258 | | - |
259 | bool QTestResult::compare(bool success, const char *failureMsg, | - |
260 | char *val1, char *val2, | - |
261 | const char *actual, const char *expected, | - |
262 | const char *file, int line) | - |
263 | { | - |
264 | QTEST_ASSERT(expected); never executed: qt_assert("expected",__FILE__,264); TRUE | never evaluated | FALSE | evaluated 39528033 times by 481 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
|
| 0-39528033 |
265 | QTEST_ASSERT(actual); never executed: qt_assert("actual",__FILE__,265); TRUE | never evaluated | FALSE | evaluated 39523233 times by 481 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
|
| 0-39523233 |
266 | | - |
267 | const size_t maxMsgLen = 1024; | - |
268 | char msg[maxMsgLen] = {'\0'}; | - |
269 | | - |
270 | if (QTestLog::verboseLevel() >= 2) {TRUE | evaluated 150 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 39527883 times by 481 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
|
| 150-39527883 |
271 | qsnprintf(msg, maxMsgLen, "QCOMPARE(%s, %s)", actual, expected); | - |
272 | QTestLog::info(msg, file, line); | - |
273 | }executed 150 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 150 |
274 | | - |
275 | if (!failureMsg)TRUE | evaluated 8710 times by 8 testsEvaluated by:- tst_QComboBox
- tst_QGraphicsEffectSource
- tst_QGraphicsPixmapItem
- tst_QImageReader
- tst_QMessageBox
- tst_QPixmap
- tst_QSizePolicy
- tst_selftests - unknown status
| FALSE | evaluated 39519323 times by 481 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
|
| 8710-39519323 |
276 | failureMsg = "Compared values are not the same";executed 8710 times by 8 tests: failureMsg = "Compared values are not the same"; Executed by:- tst_QComboBox
- tst_QGraphicsEffectSource
- tst_QGraphicsPixmapItem
- tst_QImageReader
- tst_QMessageBox
- tst_QPixmap
- tst_QSizePolicy
- tst_selftests - unknown status
| 8710 |
277 | | - |
278 | if (success) {TRUE | evaluated 39526886 times by 481 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
| FALSE | evaluated 1147 times by 38 testsEvaluated by:- tst_Gestures
- tst_QAbstractPrintDialog
- tst_QAction
- tst_QAuthenticator
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLatin1String
- tst_QLineEdit
- tst_QLockFile
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- ...
|
| 1147-39526886 |
279 | if (QTest::expectFailMode) {TRUE | evaluated 25 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 39526861 times by 481 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
|
| 25-39526861 |
280 | qsnprintf(msg, maxMsgLen, | - |
281 | "QCOMPARE(%s, %s) returned TRUE unexpectedly.", actual, expected); | - |
282 | }executed 25 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 25 |
283 | } else if (val1 || val2) {executed 39526886 times by 481 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
TRUE | evaluated 711 times by 33 testsEvaluated by:- tst_Gestures
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLatin1String
- tst_QLineEdit
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSslSocket
- tst_QTextBrowser
- tst_QTextCodec
- ...
| FALSE | evaluated 436 times by 7 testsEvaluated by:- tst_QAction
- tst_QDBusAbstractInterface
- tst_QNetworkCookie
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTimeLine
- tst_selftests - unknown status
|
TRUE | never evaluated | FALSE | evaluated 436 times by 7 testsEvaluated by:- tst_QAction
- tst_QDBusAbstractInterface
- tst_QNetworkCookie
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTimeLine
- tst_selftests - unknown status
|
| 0-39526886 |
284 | size_t len1 = mbstowcs(NULL, actual, maxMsgLen); | - |
285 | size_t len2 = mbstowcs(NULL, expected, maxMsgLen); | - |
286 | qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", | - |
287 | failureMsg, | - |
288 | actual, qMax(len1, len2) - len1 + 1, ":", val1 ? val1 : "<null>", | - |
289 | expected, qMax(len1, len2) - len2 + 1, ":", val2 ? val2 : "<null>"); | - |
290 | } elseexecuted 711 times by 33 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLatin1String
- tst_QLineEdit
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSslSocket
- tst_QTextBrowser
- tst_QTextCodec
- ...
| 711 |
291 | qsnprintf(msg, maxMsgLen, "%s", failureMsg);executed 436 times by 7 tests: qsnprintf(msg, maxMsgLen, "%s", failureMsg); Executed by:- tst_QAction
- tst_QDBusAbstractInterface
- tst_QNetworkCookie
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTimeLine
- tst_selftests - unknown status
| 436 |
292 | | - |
293 | delete [] val1; | - |
294 | delete [] val2; | - |
295 | | - |
296 | return checkStatement(success, msg, file, line);executed 39528033 times by 481 tests: return checkStatement(success, msg, file, line); Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- 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
- tst_QAnimationGroup
- ...
| 39528033 |
297 | } | - |
298 | | - |
299 | void QTestResult::addFailure(const char *message, const char *file, int line) | - |
300 | { | - |
301 | clearExpectFail(); | - |
302 | | - |
303 | if (QTest::blacklistCurrentTest)TRUE | evaluated 14 times by 7 testsEvaluated by:- tst_QAction
- tst_QCompleter
- tst_QFtp
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QWidget
- tst_selftests - unknown status
| FALSE | evaluated 2655 times by 23 testsEvaluated by:- tst_Gestures
- tst_QCommandLineParser
- tst_QFile
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
|
| 14-2655 |
304 | QTestLog::addBFail(message, file, line);executed 14 times by 7 tests: QTestLog::addBFail(message, file, line); Executed by:- tst_QAction
- tst_QCompleter
- tst_QFtp
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QWidget
- tst_selftests - unknown status
| 14 |
305 | else | - |
306 | QTestLog::addFail(message, file, line);executed 2655 times by 23 tests: QTestLog::addFail(message, file, line); Executed by:- tst_Gestures
- tst_QCommandLineParser
- tst_QFile
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
| 2655 |
307 | QTest::failed = true; | - |
308 | }executed 2669 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QUdpSocket
- ...
| 2669 |
309 | | - |
310 | void QTestResult::addSkip(const char *message, const char *file, int line) | - |
311 | { | - |
312 | clearExpectFail(); | - |
313 | | - |
314 | QTestLog::addSkip(message, file, line); | - |
315 | }executed 1403 times by 56 tests: end of block Executed by:- tst_Compiler
- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QByteArray
- tst_QCssParser
- tst_QDBusConnection_NoApplication
- tst_QDBusLocalCalls
- tst_QDataStream
- tst_QDateTime
- tst_QDialog
- tst_QDir
- tst_QDockWidget
- tst_QFileInfo
- tst_QFiledialog
- tst_QFont
- tst_QFontDatabase
- tst_QFtp
- tst_QGLThreads
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QImageReader
- tst_QItemView
- tst_QLockFile
- tst_QMainWindow
- ...
| 1403 |
316 | | - |
317 | void QTestResult::setCurrentTestObject(const char *name) | - |
318 | { | - |
319 | QTest::currentTestObjectName = name; | - |
320 | }executed 815 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 815 |
321 | | - |
322 | const char *QTestResult::currentTestObjectName() | - |
323 | { | - |
324 | return QTest::currentTestObjectName ? QTest::currentTestObjectName : "";executed 152218 times by 507 tests: return QTest::currentTestObjectName ? QTest::currentTestObjectName : ""; 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
- ...
| 152218 |
325 | } | - |
326 | | - |
327 | void QTestResult::setSkipCurrentTest(bool value) | - |
328 | { | - |
329 | QTest::skipCurrentTest = value; | - |
330 | }executed 142377 times by 507 tests: end of block Executed by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
| 142377 |
331 | | - |
332 | bool QTestResult::skipCurrentTest() | - |
333 | { | - |
334 | return QTest::skipCurrentTest;executed 270264 times by 507 tests: return QTest::skipCurrentTest; 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
- ...
| 270264 |
335 | } | - |
336 | | - |
337 | void QTestResult::setCurrentAppName(const char *appName) | - |
338 | { | - |
339 | ::currentAppName = appName; | - |
340 | }executed 815 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 815 |
341 | | - |
342 | const char *QTestResult::currentAppName() | - |
343 | { | - |
344 | return ::currentAppName;executed 2183 times by 506 tests: return ::currentAppName; 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
- ...
| 2183 |
345 | } | - |
346 | | - |
347 | QT_END_NAMESPACE | - |
| | |