Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | #include <QtTest/private/qtestresult_p.h> | - |
35 | #include <QtCore/qglobal.h> | - |
36 | | - |
37 | #include <QtTest/private/qtestlog_p.h> | - |
38 | #include <QtTest/qtestdata.h> | - |
39 | #include <QtTest/qtestassert.h> | - |
40 | | - |
41 | #include <stdlib.h> | - |
42 | #include <stdio.h> | - |
43 | #include <string.h> | - |
44 | | - |
45 | static const char *currentAppName = 0; | - |
46 | | - |
47 | QT_BEGIN_NAMESPACE | - |
48 | | - |
49 | namespace QTest | - |
50 | { | - |
51 | static QTestData *currentTestData = 0; | - |
52 | static QTestData *currentGlobalTestData = 0; | - |
53 | static const char *currentTestFunc = 0; | - |
54 | static const char *currentTestObjectName = 0; | - |
55 | static bool failed = false; | - |
56 | static bool skipCurrentTest = false; | - |
57 | static bool blacklistCurrentTest = false; | - |
58 | | - |
59 | static const char *expectFailComment = 0; | - |
60 | static int expectFailMode = 0; | - |
61 | } | - |
62 | | - |
63 | void QTestResult::reset() | - |
64 | { | - |
65 | QTest::currentTestData = 0; | - |
66 | QTest::currentGlobalTestData = 0; | - |
67 | QTest::currentTestFunc = 0; | - |
68 | QTest::currentTestObjectName = 0; | - |
69 | QTest::failed = false; | - |
70 | | - |
71 | QTest::expectFailComment = 0; | - |
72 | QTest::expectFailMode = 0; | - |
73 | QTest::blacklistCurrentTest = false; | - |
74 | | - |
75 | QTestLog::resetCounters(); | - |
76 | }executed 699 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 699 |
77 | | - |
78 | void QTestResult::setBlacklistCurrentTest(bool b) | - |
79 | { | - |
80 | QTest::blacklistCurrentTest = b; | - |
81 | }executed 275131 times by 540 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
- ...
| 275131 |
82 | | - |
83 | bool QTestResult::currentTestFailed() | - |
84 | { | - |
85 | return QTest::failed;executed 262642 times by 540 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
- ...
| 262642 |
86 | } | - |
87 | | - |
88 | QTestData *QTestResult::currentGlobalTestData() | - |
89 | { | - |
90 | return QTest::currentGlobalTestData;executed 7540 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
| 7540 |
91 | } | - |
92 | | - |
93 | QTestData *QTestResult::currentTestData() | - |
94 | { | - |
95 | return QTest::currentTestData;executed 432983 times by 360 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_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| 432983 |
96 | } | - |
97 | | - |
98 | void QTestResult::setCurrentGlobalTestData(QTestData *data) | - |
99 | { | - |
100 | QTest::currentGlobalTestData = data; | - |
101 | }executed 15001 times by 535 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
- ...
| 15001 |
102 | | - |
103 | void QTestResult::setCurrentTestData(QTestData *data) | - |
104 | { | - |
105 | QTest::currentTestData = data; | - |
106 | QTest::failed = false; | - |
107 | }executed 273955 times by 535 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
- ...
| 273955 |
108 | | - |
109 | void QTestResult::setCurrentTestFunction(const char *func) | - |
110 | { | - |
111 | QTest::currentTestFunc = func; | - |
112 | QTest::failed = false; | - |
113 | if (func)TRUE | evaluated 15474 times by 540 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 1188 times by 538 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
- ...
|
| 1188-15474 |
114 | QTestLog::enterTestFunction(func);executed 15474 times by 540 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
- ...
| 15474 |
115 | }executed 16662 times by 540 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
- ...
| 16662 |
116 | | - |
117 | static void clearExpectFail() | - |
118 | { | - |
119 | QTest::expectFailMode = 0; | - |
120 | delete [] const_cast<char *>(QTest::expectFailComment); | - |
121 | QTest::expectFailComment = 0; | - |
122 | }executed 136708 times by 540 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
- ...
| 136708 |
123 | | - |
124 | void QTestResult::finishedCurrentTestData() | - |
125 | { | - |
126 | if (QTest::expectFailMode)TRUE | evaluated 42 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 132583 times by 540 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
- ...
|
| 42-132583 |
127 | addFailure("QEXPECT_FAIL was called without any subsequent verification statements", 0, 0);executed 42 times by 1 test: addFailure("QEXPECT_FAIL was called without any subsequent verification statements", 0, 0); Executed by:- tst_selftests - unknown status
| 42 |
128 | clearExpectFail(); | - |
129 | | - |
130 | if (!QTest::failed && QTestLog::unhandledIgnoreMessages()) {TRUE | evaluated 130662 times by 540 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 1963 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- ...
|
TRUE | evaluated 84 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 130578 times by 540 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
- ...
|
| 84-130662 |
131 | QTestLog::printUnhandledIgnoreMessages(); | - |
132 | addFailure("Not all expected messages were received", 0, 0); | - |
133 | }executed 84 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 84 |
134 | QTestLog::clearIgnoreMessages(); | - |
135 | }executed 132625 times by 540 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
- ...
| 132625 |
136 | | - |
137 | void QTestResult::finishedCurrentTestDataCleanup() | - |
138 | { | - |
139 | | - |
140 | if (!QTest::failed && !QTest::skipCurrentTest) {TRUE | evaluated 130495 times by 540 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 2110 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- ...
|
TRUE | evaluated 129376 times by 540 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 1119 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_QGraphicsView
- tst_QIODevice
- tst_QImageReader
- tst_QItemView
- tst_QLockFile
- tst_QMainWindow
- ...
|
| 1119-130495 |
141 | if (QTest::blacklistCurrentTest)TRUE | evaluated 528 times by 18 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_QUdpSocket
- tst_Spdy
- tst_selftests - unknown status
| FALSE | evaluated 128848 times by 540 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
- ...
|
| 528-128848 |
142 | QTestLog::addBPass("");executed 528 times by 18 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_QUdpSocket
- tst_Spdy
- tst_selftests - unknown status
| 528 |
143 | else | - |
144 | QTestLog::addPass("");executed 128848 times by 540 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
- ...
| 128848 |
145 | } | - |
146 | | - |
147 | QTest::failed = false; | - |
148 | }executed 132605 times by 540 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
- ...
| 132605 |
149 | | - |
150 | void QTestResult::finishedCurrentTestFunction() | - |
151 | { | - |
152 | QTest::currentTestFunc = 0; | - |
153 | QTest::failed = false; | - |
154 | | - |
155 | QTestLog::leaveTestFunction(); | - |
156 | }executed 15425 times by 540 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
- ...
| 15425 |
157 | | - |
158 | const char *QTestResult::currentTestFunction() | - |
159 | { | - |
160 | return QTest::currentTestFunc;executed 329614 times by 540 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
- ...
| 329614 |
161 | } | - |
162 | | - |
163 | const char *QTestResult::currentDataTag() | - |
164 | { | - |
165 | return QTest::currentTestData ? QTest::currentTestData->dataTag()executed 578988 times by 540 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
- ...
TRUE | evaluated 497032 times by 361 testsEvaluated 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_Gcc_char
- tst_QAtomicInteger_Gcc_char16_t
- tst_QAtomicInteger_Gcc_char32_t
- tst_QAtomicInteger_Gcc_int
- tst_QAtomicInteger_Gcc_long
- ...
| FALSE | evaluated 81956 times by 540 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
- ...
|
| 81956-578988 |
166 | : static_cast<const char *>(0);executed 578988 times by 540 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
- ...
| 578988 |
167 | } | - |
168 | | - |
169 | const char *QTestResult::currentGlobalDataTag() | - |
170 | { | - |
171 | return QTest::currentGlobalTestData ? QTest::currentGlobalTestData->dataTag()executed 201663 times by 540 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
- ...
TRUE | evaluated 6759 times by 15 testsEvaluated 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
| FALSE | evaluated 194904 times by 540 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
- ...
|
| 6759-201663 |
172 | : static_cast<const char *>(0);executed 201663 times by 540 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
- ...
| 201663 |
173 | } | - |
174 | | - |
175 | static bool isExpectFailData(const char *dataIndex) | - |
176 | { | - |
177 | if (!dataIndex || dataIndex[0] == '\0')TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QWidget
| FALSE | evaluated 8367 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 434 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_QUrl
- ...
| FALSE | evaluated 7933 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-8367 |
178 | return true;executed 437 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_QUrl
- ...
| 437 |
179 | if (!QTest::currentTestData)TRUE | never evaluated | FALSE | evaluated 7933 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-7933 |
180 | return false; never executed: return false; | 0 |
181 | if (strcmp(dataIndex, QTest::currentTestData->dataTag()) == 0)TRUE | evaluated 187 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 7746 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
|
| 187-7746 |
182 | return true;executed 187 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
| 187 |
183 | return false;executed 7746 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
| 7746 |
184 | } | - |
185 | | - |
186 | bool QTestResult::expectFail(const char *dataIndex, const char *comment, | - |
187 | QTest::TestFailMode mode, const char *file, int line) | - |
188 | { | - |
189 | QTEST_ASSERT(comment); never executed: qt_assert("comment",__FILE__,189); TRUE | never evaluated | FALSE | evaluated 8370 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-8370 |
190 | QTEST_ASSERT(mode > 0); never executed: qt_assert("mode > 0",__FILE__,190); TRUE | never evaluated | FALSE | evaluated 8370 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-8370 |
191 | | - |
192 | if (!isExpectFailData(dataIndex)) {TRUE | evaluated 7746 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 624 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
- ...
|
| 624-7746 |
193 | delete[] comment; | - |
194 | return true; executed 7746 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
| 7746 |
195 | } | - |
196 | | - |
197 | if (QTest::expectFailMode) {TRUE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 603 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
- ...
|
| 21-603 |
198 | delete[] comment; | - |
199 | clearExpectFail(); | - |
200 | addFailure("Already expecting a fail", file, line); | - |
201 | return false;executed 21 times by 1 test: return false; Executed by:- tst_selftests - unknown status
| 21 |
202 | } | - |
203 | | - |
204 | QTest::expectFailMode = mode; | - |
205 | QTest::expectFailComment = comment; | - |
206 | return true;executed 603 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
- ...
| 603 |
207 | } | - |
208 | | - |
209 | static bool checkStatement(bool statement, const char *msg, const char *file, int line) | - |
210 | { | - |
211 | if (statement) {TRUE | evaluated 51283969 times by 539 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 2025 times by 59 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_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QLatin1String
- tst_QLineEdit
- tst_QLocalSocket
- tst_QLocale
- ...
|
| 2025-51283969 |
212 | if (QTest::expectFailMode) {TRUE | evaluated 88 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 51284681 times by 539 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
- ...
|
| 88-51284681 |
213 | QTestLog::addXPass(msg, file, line); | - |
214 | bool doContinue = (QTest::expectFailMode == QTest::Continue); | - |
215 | clearExpectFail(); | - |
216 | QTest::failed = true; | - |
217 | return doContinue;executed 88 times by 1 test: return doContinue; Executed by:- tst_selftests - unknown status
| 88 |
218 | } | - |
219 | return true;executed 51283081 times by 539 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
- ...
| 51283081 |
220 | } | - |
221 | | - |
222 | if (QTest::expectFailMode) {TRUE | evaluated 452 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 1573 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- ...
|
| 452-1573 |
223 | QTestLog::addXFail(QTest::expectFailComment, file, line); | - |
224 | bool doContinue = (QTest::expectFailMode == QTest::Continue); | - |
225 | clearExpectFail(); | - |
226 | return doContinue;executed 452 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
- ...
| 452 |
227 | } | - |
228 | | - |
229 | QTestResult::addFailure(msg, file, line); | - |
230 | return false;executed 1573 times by 26 tests: return false; Executed by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- ...
| 1573 |
231 | } | - |
232 | | - |
233 | bool QTestResult::verify(bool statement, const char *statementStr, | - |
234 | const char *description, const char *file, int line) | - |
235 | { | - |
236 | QTEST_ASSERT(statementStr); never executed: qt_assert("statementStr",__FILE__,236); TRUE | never evaluated | FALSE | evaluated 13100488 times by 485 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-13100488 |
237 | | - |
238 | char msg[1024] = {'\0'}; | - |
239 | | - |
240 | if (QTestLog::verboseLevel() >= 2) {TRUE | evaluated 378 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 13100110 times by 485 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
- ...
|
| 378-13100110 |
241 | qsnprintf(msg, 1024, "QVERIFY(%s)", statementStr); | - |
242 | QTestLog::info(msg, file, line); | - |
243 | }executed 378 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 378 |
244 | | - |
245 | if (!statement && !QTest::expectFailMode)TRUE | evaluated 1131 times by 33 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_QSocks5SocketEngine
- tst_QSqlTableModel
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QString
- tst_QStyleSheetStyle
- tst_QTcpSocket
- ...
| FALSE | evaluated 13099357 times by 485 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 845 times by 21 testsEvaluated by:- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
| FALSE | evaluated 286 times by 15 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_QWidget
- tst_QXmlSimpleReader
- tst_selftests - unknown status
|
| 286-13099357 |
246 | qsnprintf(msg, 1024, "'%s' returned FALSE. (%s)", statementStr, description ? description : "");executed 845 times by 21 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_QNetworkReply
- tst_QOpenGLWidget
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
| 845 |
247 | else if (statement && QTest::expectFailMode)TRUE | evaluated 13099357 times by 485 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 286 times by 15 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_QWidget
- tst_QXmlSimpleReader
- tst_selftests - unknown status
|
TRUE | evaluated 67 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 13099290 times by 485 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
- ...
|
| 67-13099357 |
248 | qsnprintf(msg, 1024, "'%s' returned TRUE unexpectedly. (%s)", statementStr, description ? description : "");executed 67 times by 1 test: qsnprintf(msg, 1024, "'%s' returned TRUE unexpectedly. (%s)", statementStr, description ? description : ""); Executed by:- tst_selftests - unknown status
| 67 |
249 | | - |
250 | return checkStatement(statement, msg, file, line);executed 13100488 times by 485 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
- ...
| 13100488 |
251 | } | - |
252 | | - |
253 | bool QTestResult::compare(bool success, const char *failureMsg, | - |
254 | char *val1, char *val2, | - |
255 | const char *actual, const char *expected, | - |
256 | const char *file, int line) | - |
257 | { | - |
258 | QTEST_ASSERT(expected); never executed: qt_assert("expected",__FILE__,258); TRUE | never evaluated | FALSE | evaluated 38186306 times by 513 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-38186306 |
259 | QTEST_ASSERT(actual); never executed: qt_assert("actual",__FILE__,259); TRUE | never evaluated | FALSE | evaluated 38186306 times by 513 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-38186306 |
260 | | - |
261 | const size_t maxMsgLen = 1024; | - |
262 | char msg[maxMsgLen] = {'\0'}; | - |
263 | | - |
264 | if (QTestLog::verboseLevel() >= 2) {TRUE | evaluated 126 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 38186180 times by 513 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
- ...
|
| 126-38186180 |
265 | qsnprintf(msg, maxMsgLen, "QCOMPARE(%s, %s)", actual, expected); | - |
266 | QTestLog::info(msg, file, line); | - |
267 | }executed 126 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 126 |
268 | | - |
269 | if (!failureMsg)TRUE | evaluated 8702 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 38177604 times by 513 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
- ...
|
| 8702-38177604 |
270 | failureMsg = "Compared values are not the same";executed 8702 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
| 8702 |
271 | | - |
272 | if (success) {TRUE | evaluated 38182212 times by 513 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 894 times by 37 testsEvaluated by:- tst_Gestures
- tst_QAbstractPrintDialog
- tst_QAction
- tst_QAuthenticator
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QFile
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLatin1String
- tst_QLineEdit
- tst_QLockFile
- tst_QNetworkCookie
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSqlDatabase
- tst_QSslSocket
- tst_QStyleSheetStyle
- ...
|
| 894-38182212 |
273 | if (QTest::expectFailMode) {TRUE | evaluated 21 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 38185391 times by 513 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
- ...
|
| 21-38185391 |
274 | qsnprintf(msg, maxMsgLen, | - |
275 | "QCOMPARE(%s, %s) returned TRUE unexpectedly.", actual, expected); | - |
276 | }executed 21 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 21 |
277 | } else if (val1 || val2) {executed 38185412 times by 513 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 525 times by 31 testsEvaluated by:- tst_Gestures
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QFile
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QLatin1String
- tst_QLineEdit
- tst_QLockFile
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSslSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
- ...
| FALSE | evaluated 369 times by 8 testsEvaluated by:- tst_QAction
- tst_QDBusAbstractInterface
- tst_QGraphicsView
- tst_QNetworkCookie
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTimeLine
- tst_selftests - unknown status
|
TRUE | never evaluated | FALSE | evaluated 369 times by 8 testsEvaluated by:- tst_QAction
- tst_QDBusAbstractInterface
- tst_QGraphicsView
- tst_QNetworkCookie
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTimeLine
- tst_selftests - unknown status
|
| 0-38185412 |
278 | size_t len1 = mbstowcs(NULL, actual, maxMsgLen); | - |
279 | size_t len2 = mbstowcs(NULL, expected, maxMsgLen); | - |
280 | qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", | - |
281 | failureMsg, | - |
282 | actual, qMax(len1, len2) - len1 + 1, ":", val1 ? val1 : "<null>", | - |
283 | expected, qMax(len1, len2) - len2 + 1, ":", val2 ? val2 : "<null>"); | - |
284 | } elseexecuted 525 times by 31 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractPrintDialog
- tst_QAuthenticator
- tst_QDBusAbstractInterface
- tst_QDateTime
- tst_QFile
- tst_QFtp
- tst_QGraphicsAnchorLayout
- tst_QGraphicsLayoutItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QLatin1String
- tst_QLineEdit
- tst_QLockFile
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QRect
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QSslSocket
- tst_QTextBrowser
- tst_QTextCodec
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
- ...
| 525 |
285 | qsnprintf(msg, maxMsgLen, "%s", failureMsg);executed 369 times by 8 tests: qsnprintf(msg, maxMsgLen, "%s", failureMsg); Executed by:- tst_QAction
- tst_QDBusAbstractInterface
- tst_QGraphicsView
- tst_QNetworkCookie
- tst_QSqlDatabase
- tst_QStyleSheetStyle
- tst_QTimeLine
- tst_selftests - unknown status
| 369 |
286 | | - |
287 | delete [] val1; | - |
288 | delete [] val2; | - |
289 | | - |
290 | return checkStatement(success, msg, file, line);executed 38186306 times by 513 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
- ...
| 38186306 |
291 | } | - |
292 | | - |
293 | void QTestResult::addFailure(const char *message, const char *file, int line) | - |
294 | { | - |
295 | clearExpectFail(); | - |
296 | | - |
297 | if (QTest::blacklistCurrentTest)TRUE | evaluated 17 times by 8 testsEvaluated by:- tst_QAction
- tst_QCompleter
- tst_QFtp
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QTouchEvent
- tst_QWidget
- tst_selftests - unknown status
| FALSE | evaluated 2157 times by 21 testsEvaluated by:- tst_Gestures
- tst_QCommandLineParser
- tst_QFile
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
|
| 17-2157 |
298 | QTestLog::addBFail(message, file, line);executed 17 times by 8 tests: QTestLog::addBFail(message, file, line); Executed by:- tst_QAction
- tst_QCompleter
- tst_QFtp
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QTouchEvent
- tst_QWidget
- tst_selftests - unknown status
| 17 |
299 | else | - |
300 | QTestLog::addFail(message, file, line);executed 2157 times by 21 tests: QTestLog::addFail(message, file, line); Executed by:- tst_Gestures
- tst_QCommandLineParser
- tst_QFile
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- tst_selftests - unknown status
| 2157 |
301 | QTest::failed = true; | - |
302 | }executed 2174 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAction
- tst_QCommandLineParser
- tst_QCompleter
- tst_QFile
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLocalSocket
- tst_QLocale
- tst_QLockFile
- tst_QNetworkReply
- tst_QOpenGLWidget
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextCodec
- tst_QTextStream
- tst_QThreadStorage
- tst_QTouchEvent
- tst_QUdpSocket
- tst_QWidget
- tst_qmake
- ...
| 2174 |
303 | | - |
304 | void QTestResult::addSkip(const char *message, const char *file, int line) | - |
305 | { | - |
306 | clearExpectFail(); | - |
307 | | - |
308 | QTestLog::addSkip(message, file, line); | - |
309 | }executed 1348 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_QGraphicsView
- tst_QIODevice
- tst_QImageReader
- tst_QItemView
- tst_QLockFile
- ...
| 1348 |
310 | | - |
311 | void QTestResult::setCurrentTestObject(const char *name) | - |
312 | { | - |
313 | QTest::currentTestObjectName = name; | - |
314 | }executed 699 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 699 |
315 | | - |
316 | const char *QTestResult::currentTestObjectName() | - |
317 | { | - |
318 | return QTest::currentTestObjectName ? QTest::currentTestObjectName : "";executed 156801 times by 540 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
- ...
TRUE | evaluated 156109 times by 540 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 692 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 692-156801 |
319 | } | - |
320 | | - |
321 | void QTestResult::setSkipCurrentTest(bool value) | - |
322 | { | - |
323 | QTest::skipCurrentTest = value; | - |
324 | }executed 145998 times by 540 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
- ...
| 145998 |
325 | | - |
326 | bool QTestResult::skipCurrentTest() | - |
327 | { | - |
328 | return QTest::skipCurrentTest;executed 277658 times by 540 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
- ...
| 277658 |
329 | } | - |
330 | | - |
331 | void QTestResult::setCurrentAppName(const char *appName) | - |
332 | { | - |
333 | ::currentAppName = appName; | - |
334 | }executed 699 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 699 |
335 | | - |
336 | const char *QTestResult::currentAppName() | - |
337 | { | - |
338 | return ::currentAppName;executed 1984 times by 539 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
- ...
| 1984 |
339 | } | - |
340 | | - |
341 | QT_END_NAMESPACE | - |
| | |