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/qtestassert.h> | - |
41 | | - |
42 | #include <QtTest/private/qtestlog_p.h> | - |
43 | #include <QtTest/private/qtestresult_p.h> | - |
44 | #include <QtTest/private/qabstracttestlogger_p.h> | - |
45 | #include <QtTest/private/qplaintestlogger_p.h> | - |
46 | #include <QtTest/private/qcsvbenchmarklogger_p.h> | - |
47 | #include <QtTest/private/qxunittestlogger_p.h> | - |
48 | #include <QtTest/private/qxmltestlogger_p.h> | - |
49 | #include <QtTest/private/qteamcitylogger_p.h> | - |
50 | #if defined(HAVE_XCTEST) | - |
51 | #include <QtTest/private/qxctestlogger_p.h> | - |
52 | #endif | - |
53 | | - |
54 | #include <QtCore/qatomic.h> | - |
55 | #include <QtCore/qbytearray.h> | - |
56 | #include <QtCore/QElapsedTimer> | - |
57 | #include <QtCore/QVariant> | - |
58 | #include <QtCore/QRegularExpression> | - |
59 | | - |
60 | #include <stdlib.h> | - |
61 | #include <string.h> | - |
62 | #include <limits.h> | - |
63 | | - |
64 | QT_BEGIN_NAMESPACE | - |
65 | | - |
66 | static void saveCoverageTool(const char * appname, bool testfailed, bool installedTestCoverage) | - |
67 | { | - |
68 | #ifdef __COVERAGESCANNER__ | - |
69 | if (!installedTestCoverage)TRUE | evaluated 809 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 509 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
- ...
|
| 509-809 |
70 | return;executed 809 times by 1 test: return; Executed by:- tst_selftests - unknown status
| 809 |
71 | | - |
72 | | - |
73 | __coveragescanner_install(appname); | - |
74 | __coveragescanner_teststate(testfailed ? "FAILED" : "PASSED"); | - |
75 | __coveragescanner_save(); | - |
76 | __coveragescanner_testname(""); | - |
77 | __coveragescanner_clear(); | - |
78 | unsetenv("QT_TESTCOCOON_ACTIVE"); | - |
79 | #else | - |
80 | Q_UNUSED(appname); | - |
81 | Q_UNUSED(testfailed); | - |
82 | Q_UNUSED(installedTestCoverage); | - |
83 | #endif | - |
84 | }executed 509 times by 509 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 509 |
85 | | - |
86 | static QElapsedTimer elapsedFunctionTime; | - |
87 | static QElapsedTimer elapsedTotalTime; | - |
88 | | - |
89 | namespace QTest { | - |
90 | | - |
91 | int fails = 0; | - |
92 | int passes = 0; | - |
93 | int skips = 0; | - |
94 | int blacklists = 0; | - |
95 | | - |
96 | struct IgnoreResultList | - |
97 | { | - |
98 | inline IgnoreResultList(QtMsgType tp, const QVariant &patternIn) | - |
99 | : type(tp), pattern(patternIn), next(0) {}executed 1189 times by 84 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1189 |
100 | | - |
101 | static inline void clearList(IgnoreResultList *&list) | - |
102 | { | - |
103 | while (list) {TRUE | evaluated 175 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 128856 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
- ...
|
| 175-128856 |
104 | IgnoreResultList *current = list; | - |
105 | list = list->next; | - |
106 | delete current; | - |
107 | }executed 175 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 175 |
108 | }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 |
109 | | - |
110 | static void append(IgnoreResultList *&list, QtMsgType type, const QVariant &patternIn) | - |
111 | { | - |
112 | QTest::IgnoreResultList *item = new QTest::IgnoreResultList(type, patternIn); | - |
113 | | - |
114 | if (!list) {TRUE | evaluated 859 times by 84 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| FALSE | evaluated 330 times by 17 testsEvaluated by:- tst_Gestures
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QDBusMarshall
- tst_QDebug
- tst_QGraphicsAnchorLayout1
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QMetaObject
- tst_QMimeDatabase
- tst_QNoDebug
- tst_QObject
- tst_QSettings
- tst_QSqlDatabase
- tst_QSslSocket
- tst_selftests - unknown status
|
| 330-859 |
115 | list = item; | - |
116 | return;executed 859 times by 84 tests: return; Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 859 |
117 | } | - |
118 | IgnoreResultList *last = list; | - |
119 | for ( ; last->next; last = last->next) ;executed 282 times by 10 tests: ; Executed by:- tst_Gestures
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QGraphicsAnchorLayout1
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QObject
- tst_QSettings
- tst_selftests - unknown status
TRUE | evaluated 282 times by 10 testsEvaluated by:- tst_Gestures
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QGraphicsAnchorLayout1
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QObject
- tst_QSettings
- tst_selftests - unknown status
| FALSE | evaluated 330 times by 17 testsEvaluated by:- tst_Gestures
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QDBusMarshall
- tst_QDebug
- tst_QGraphicsAnchorLayout1
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QMetaObject
- tst_QMimeDatabase
- tst_QNoDebug
- tst_QObject
- tst_QSettings
- tst_QSqlDatabase
- tst_QSslSocket
- tst_selftests - unknown status
|
| 282-330 |
120 | last->next = item; | - |
121 | }executed 330 times by 17 tests: end of block Executed by:- tst_Gestures
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QDBusMarshall
- tst_QDebug
- tst_QGraphicsAnchorLayout1
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QMetaObject
- tst_QMimeDatabase
- tst_QNoDebug
- tst_QObject
- tst_QSettings
- tst_QSqlDatabase
- tst_QSslSocket
- tst_selftests - unknown status
| 330 |
122 | | - |
123 | static bool stringsMatch(const QString &expected, const QString &actual) | - |
124 | { | - |
125 | if (expected == actual)TRUE | evaluated 897 times by 82 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| FALSE | evaluated 246 times by 5 testsEvaluated by:- tst_QImageReader
- tst_QMetaObject
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
|
| 246-897 |
126 | return true;executed 897 times by 82 tests: return true; Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 897 |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | if (expected.endsWith(QLatin1Char(' ')))TRUE | evaluated 26 times by 2 testsEvaluated by:- tst_QMetaObject
- tst_selftests - unknown status
| FALSE | evaluated 220 times by 4 testsEvaluated by:- tst_QImageReader
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
|
| 26-220 |
132 | return actual == expected.leftRef(expected.length() - 1);executed 26 times by 2 tests: return actual == expected.leftRef(expected.length() - 1); Executed by:- tst_QMetaObject
- tst_selftests - unknown status
| 26 |
133 | | - |
134 | return false;executed 220 times by 4 tests: return false; Executed by:- tst_QImageReader
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
| 220 |
135 | } | - |
136 | | - |
137 | inline bool matches(QtMsgType tp, const QString &message) const | - |
138 | { | - |
139 | return tp == typeexecuted 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch()); Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1234 |
140 | && (pattern.type() == QVariant::String ?executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch()); Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1234 |
141 | stringsMatch(pattern.toString(), message) :executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch()); Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1234 |
142 | #ifndef QT_NO_REGULAREXPRESSIONexecuted 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch()); Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1234 |
143 | pattern.toRegularExpression().match(message).hasMatch());executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch()); Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1234 |
144 | #else | - |
145 | false); | - |
146 | #endif | - |
147 | } | - |
148 | | - |
149 | QtMsgType type; | - |
150 | QVariant pattern; | - |
151 | IgnoreResultList *next; | - |
152 | }; | - |
153 | | - |
154 | static IgnoreResultList *ignoreResultList = 0; | - |
155 | | - |
156 | struct LoggerList | - |
157 | { | - |
158 | QAbstractTestLogger *logger; | - |
159 | LoggerList *next; | - |
160 | }; | - |
161 | | - |
162 | class TestLoggers | - |
163 | { | - |
164 | public: | - |
165 | static void addLogger(QAbstractTestLogger *logger) | - |
166 | { | - |
167 | LoggerList *l = new LoggerList; | - |
168 | l->logger = logger; | - |
169 | l->next = loggers; | - |
170 | loggers = l; | - |
171 | }executed 1593 times by 506 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
- ...
| 1593 |
172 | | - |
173 | static void destroyLoggers() | - |
174 | { | - |
175 | while (loggers) {TRUE | evaluated 1589 times by 506 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 1318 times by 506 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
- ...
|
| 1318-1589 |
176 | LoggerList *l = loggers; | - |
177 | loggers = loggers->next; | - |
178 | delete l->logger; | - |
179 | delete l; | - |
180 | }executed 1589 times by 506 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
- ...
| 1589 |
181 | }executed 1318 times by 506 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
- ...
| 1318 |
182 | | - |
183 | #define FOREACH_LOGGER(operation) \ | - |
184 | LoggerList *l = loggers; \ | - |
185 | while (l) { \ | - |
186 | QAbstractTestLogger *logger = l->logger; \ | - |
187 | Q_UNUSED(logger); \ | - |
188 | operation; \ | - |
189 | l = l->next; \ | - |
190 | } | - |
191 | | - |
192 | static void startLogging() | - |
193 | { | - |
194 | FOREACH_LOGGER(logger->startLogging());executed 1591 times by 506 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
- ...
TRUE | evaluated 1591 times by 506 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 1320 times by 506 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
- ...
|
| 1320-1591 |
195 | }executed 1320 times by 506 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
- ...
| 1320 |
196 | | - |
197 | static void stopLogging() | - |
198 | { | - |
199 | FOREACH_LOGGER(logger->stopLogging());executed 1589 times by 506 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
- ...
TRUE | evaluated 1589 times by 506 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 1318 times by 506 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
- ...
|
| 1318-1589 |
200 | }executed 1318 times by 506 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
- ...
| 1318 |
201 | | - |
202 | static void enterTestFunction(const char *function) | - |
203 | { | - |
204 | FOREACH_LOGGER(logger->enterTestFunction(function));executed 17435 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
- ...
TRUE | evaluated 17435 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 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
- ...
|
| 15764-17435 |
205 | }executed 15764 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
- ...
| 15764 |
206 | | - |
207 | static void leaveTestFunction() | - |
208 | { | - |
209 | FOREACH_LOGGER(logger->leaveTestFunction());executed 17433 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
- ...
TRUE | evaluated 17433 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 15762 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
- ...
|
| 15762-17433 |
210 | }executed 15762 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
- ...
| 15762 |
211 | | - |
212 | static void addIncident(QAbstractTestLogger::IncidentTypes type, const char *description, | - |
213 | const char *file = 0, int line = 0) | - |
214 | { | - |
215 | FOREACH_LOGGER(logger->addIncident(type, description, file, line));executed 131080 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
- ...
TRUE | evaluated 131080 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 128382 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
- ...
|
| 128382-131080 |
216 | }executed 128382 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
- ...
| 128382 |
217 | | - |
218 | static void addBenchmarkResult(const QBenchmarkResult &result) | - |
219 | { | - |
220 | FOREACH_LOGGER(logger->addBenchmarkResult(result));executed 358 times by 2 tests: end of block Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
TRUE | evaluated 358 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| FALSE | evaluated 282 times by 2 testsEvaluated by:- tst_QByteDataBuffer
- tst_selftests - unknown status
|
| 282-358 |
221 | }executed 282 times by 2 tests: end of block Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 282 |
222 | | - |
223 | static void addMessage(QAbstractTestLogger::MessageTypes type, const QString &message, | - |
224 | const char *file = 0, int line = 0) | - |
225 | { | - |
226 | FOREACH_LOGGER(logger->addMessage(type, message, file, line));executed 75944 times by 135 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QCssParser
- tst_QDBusConnection_NoApplication
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
TRUE | evaluated 75944 times by 135 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QCssParser
- tst_QDBusConnection_NoApplication
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
| FALSE | evaluated 56500 times by 135 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QCssParser
- tst_QDBusConnection_NoApplication
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
|
| 56500-75944 |
227 | }executed 56500 times by 135 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QCssParser
- tst_QDBusConnection_NoApplication
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialog
- ...
| 56500 |
228 | | - |
229 | static void outputString(const char *msg) | - |
230 | { | - |
231 | FOREACH_LOGGER(logger->outputString(msg)); never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
232 | } never executed: end of block | 0 |
233 | | - |
234 | static int loggerCount() | - |
235 | { | - |
236 | int count = 0; | - |
237 | FOREACH_LOGGER(++count);executed 346939 times by 160 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
TRUE | evaluated 346939 times by 160 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
| FALSE | evaluated 257440 times by 506 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
- ...
|
| 257440-346939 |
238 | return count;executed 257440 times by 506 tests: return count; 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
- ...
| 257440 |
239 | } | - |
240 | | - |
241 | private: | - |
242 | static LoggerList *loggers; | - |
243 | }; | - |
244 | | - |
245 | #undef FOREACH_LOGGER | - |
246 | | - |
247 | LoggerList *TestLoggers::loggers = 0; | - |
248 | static bool loggerUsingStdout = false; | - |
249 | | - |
250 | static int verbosity = 0; | - |
251 | static int maxWarnings = 2002; | - |
252 | static bool installedTestCoverage = true; | - |
253 | | - |
254 | static QtMessageHandler oldMessageHandler; | - |
255 | | - |
256 | static bool handleIgnoredMessage(QtMsgType type, const QString &message) | - |
257 | { | - |
258 | if (!ignoreResultList)TRUE | evaluated 254119 times by 101 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| FALSE | evaluated 1052 times by 84 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
|
| 1052-254119 |
259 | return false;executed 254119 times by 101 tests: return false; Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 254119 |
260 | IgnoreResultList *last = 0; | - |
261 | IgnoreResultList *list = ignoreResultList; | - |
262 | while (list) {TRUE | evaluated 1234 times by 84 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_QImageReader
- tst_selftests - unknown status
|
| 38-1234 |
263 | if (list->matches(type, message)) {TRUE | evaluated 1014 times by 84 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| FALSE | evaluated 220 times by 4 testsEvaluated by:- tst_QImageReader
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
|
| 220-1014 |
264 | | - |
265 | if (last)TRUE | evaluated 86 times by 3 testsEvaluated by:- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
| FALSE | evaluated 928 times by 84 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
|
| 86-928 |
266 | last->next = list->next;executed 86 times by 3 tests: last->next = list->next; Executed by:- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
| 86 |
267 | else if (list->next)TRUE | evaluated 169 times by 17 testsEvaluated by:- tst_Gestures
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QDBusMarshall
- tst_QDebug
- tst_QGraphicsAnchorLayout1
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QMetaObject
- tst_QMimeDatabase
- tst_QNoDebug
- tst_QObject
- tst_QSettings
- tst_QSqlDatabase
- tst_QSslSocket
- tst_selftests - unknown status
| FALSE | evaluated 759 times by 84 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
|
| 169-759 |
268 | ignoreResultList = list->next;executed 169 times by 17 tests: ignoreResultList = list->next; Executed by:- tst_Gestures
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QDBusMarshall
- tst_QDebug
- tst_QGraphicsAnchorLayout1
- tst_QImageReader
- tst_QLoggingRegistry
- tst_QMessageBox
- tst_QMetaObject
- tst_QMimeDatabase
- tst_QNoDebug
- tst_QObject
- tst_QSettings
- tst_QSqlDatabase
- tst_QSslSocket
- tst_selftests - unknown status
| 169 |
269 | else | - |
270 | ignoreResultList = 0;executed 759 times by 84 tests: ignoreResultList = 0; Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 759 |
271 | | - |
272 | delete list; | - |
273 | return true;executed 1014 times by 84 tests: return true; Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1014 |
274 | } | - |
275 | | - |
276 | last = list; | - |
277 | list = list->next; | - |
278 | }executed 220 times by 4 tests: end of block Executed by:- tst_QImageReader
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
| 220 |
279 | return false;executed 38 times by 2 tests: return false; Executed by:- tst_QImageReader
- tst_selftests - unknown status
| 38 |
280 | } | - |
281 | | - |
282 | static void messageHandler(QtMsgType type, const QMessageLogContext & context, const QString &message) | - |
283 | { | - |
284 | static QBasicAtomicInt counter = Q_BASIC_ATOMIC_INITIALIZER(QTest::maxWarnings); | - |
285 | | - |
286 | if (QTest::TestLoggers::loggerCount() == 0) {TRUE | never evaluated | FALSE | evaluated 255171 times by 156 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QApplication
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusInterface
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- ...
|
| 0-255171 |
287 | | - |
288 | qInstallMessageHandler(oldMessageHandler); | - |
289 | QTEST_ASSERT(QTest::TestLoggers::loggerCount() != 0); never executed: qt_assert("QTest::TestLoggers::loggerCount() != 0",__FILE__,289); TRUE | never evaluated | FALSE | never evaluated |
| 0 |
290 | } never executed: end of block | 0 |
291 | | - |
292 | if (handleIgnoredMessage(type, message))TRUE | evaluated 1014 times by 84 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| FALSE | evaluated 254157 times by 101 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
| 1014-254157 |
293 | | - |
294 | return;executed 1014 times by 84 tests: return; Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1014 |
295 | | - |
296 | QString msg = qFormatLogMessage(type, context, message); | - |
297 | | - |
298 | if (type != QtFatalMsg) {TRUE | evaluated 254102 times by 101 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| FALSE | evaluated 55 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_selftests - unknown status
|
| 55-254102 |
299 | if (counter.load() <= 0)TRUE | evaluated 199950 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 54152 times by 101 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
| 54152-199950 |
300 | return;executed 199950 times by 1 test: return; Executed by:- tst_selftests - unknown status
| 199950 |
301 | | - |
302 | if (!counter.deref()) {TRUE | evaluated 25 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 54127 times by 101 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
|
| 25-54127 |
303 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QSystem, | - |
304 | QStringLiteral("Maximum amount of warnings exceeded. Use -maxwarnings to override."));executed 25 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
| 25 |
305 | return;executed 25 times by 1 test: return; Executed by:- tst_selftests - unknown status
| 25 |
306 | } | - |
307 | }executed 54127 times by 101 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 54127 |
308 | | - |
309 | switch (type) { | - |
310 | case QtDebugMsg:executed 3368 times by 55 tests: case QtDebugMsg: Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QApplication
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDateTime
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMdiSubWindow
- tst_QMimeDatabase
- tst_QMutex
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
| 3368 |
311 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QDebug, msg); | - |
312 | break;executed 3368 times by 55 tests: break; Executed by:- tst_Gestures
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QApplication
- tst_QBrush
- tst_QColumnView
- tst_QDBusInterface
- tst_QDateTime
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFtp
- tst_QGraphicsScene
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QMdiSubWindow
- tst_QMimeDatabase
- tst_QMutex
- tst_QNetworkConfigurationManager
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
| 3368 |
313 | case QtInfoMsg:executed 54 times by 1 test: case QtInfoMsg: Executed by:- tst_selftests - unknown status
| 54 |
314 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QInfo, msg); | - |
315 | break;executed 54 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 54 |
316 | case QtCriticalMsg:executed 4 times by 1 test: case QtCriticalMsg: Executed by:- tst_selftests - unknown status
| 4 |
317 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QSystem, msg); | - |
318 | break;executed 4 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 4 |
319 | case QtWarningMsg:executed 50701 times by 69 tests: case QtWarningMsg: Executed by:- tst_Gestures
- tst_LargeFile
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QGLBuffer
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsProxyWidget
- ...
| 50701 |
320 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QWarning, msg); | - |
321 | break;executed 50701 times by 69 tests: break; Executed by:- tst_Gestures
- tst_LargeFile
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QGLBuffer
- tst_QGlyphRun
- tst_QGraphicsAnchorLayout
- tst_QGraphicsItem
- tst_QGraphicsItemAnimation
- tst_QGraphicsProxyWidget
- ...
| 50701 |
322 | case QtFatalMsg:executed 55 times by 2 tests: case QtFatalMsg: Executed by:- tst_QNetworkReply
- tst_selftests - unknown status
| 55 |
323 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QFatal, msg); | - |
324 | | - |
325 | | - |
326 | | - |
327 | | - |
328 | | - |
329 | QTestResult::addFailure("Received a fatal error.", "Unknown file", 0); | - |
330 | QTestLog::leaveTestFunction(); | - |
331 | QTestLog::stopLogging(); | - |
332 | break;executed 55 times by 2 tests: break; Executed by:- tst_qnetworkreply - unknown status
- tst_selftests - unknown status
| 55 |
333 | } | - |
334 | }executed 54182 times by 102 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QBuffer
- tst_QByteArray
- tst_QColor
- tst_QColumnView
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDateTime
- tst_QDateTimeEdit
- tst_QDialogButtonBox
- tst_QDirModel
- tst_QDrag
- tst_QElapsedTimer
- tst_QEventLoop
- tst_QFileSystemWatcher
- tst_QFormLayout
- ...
| 54182 |
335 | } | - |
336 | | - |
337 | void QTestLog::enterTestFunction(const char* function) | - |
338 | { | - |
339 | elapsedFunctionTime.restart(); | - |
340 | if (printAvailableTags)TRUE | never evaluated | FALSE | 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
- ...
|
| 0-15764 |
341 | return; never executed: return; | 0 |
342 | | - |
343 | QTEST_ASSERT(function); never executed: qt_assert("function",__FILE__,343); TRUE | never evaluated | FALSE | 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
- ...
|
| 0-15764 |
344 | | - |
345 | QTest::TestLoggers::enterTestFunction(function); | - |
346 | }executed 15764 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
- ...
| 15764 |
347 | | - |
348 | int QTestLog::unhandledIgnoreMessages() | - |
349 | { | - |
350 | int i = 0; | - |
351 | QTest::IgnoreResultList *list = QTest::ignoreResultList; | - |
352 | while (list) {TRUE | evaluated 175 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | 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
- ...
|
| 175-126438 |
353 | ++i; | - |
354 | list = list->next; | - |
355 | }executed 175 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 175 |
356 | return i;executed 126438 times by 507 tests: return i; 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
- ...
| 126438 |
357 | } | - |
358 | | - |
359 | void QTestLog::leaveTestFunction() | - |
360 | { | - |
361 | if (printAvailableTags)TRUE | never evaluated | FALSE | evaluated 15762 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
- ...
|
| 0-15762 |
362 | return; never executed: return; | 0 |
363 | | - |
364 | QTest::TestLoggers::leaveTestFunction(); | - |
365 | }executed 15762 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
- ...
| 15762 |
366 | | - |
367 | void QTestLog::printUnhandledIgnoreMessages() | - |
368 | { | - |
369 | QString message; | - |
370 | QTest::IgnoreResultList *list = QTest::ignoreResultList; | - |
371 | while (list) {TRUE | evaluated 175 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 100 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 100-175 |
372 | if (list->pattern.type() == QVariant::String) {TRUE | evaluated 150 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 25 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 25-150 |
373 | message = QStringLiteral("Did not receive message: \"") + list->pattern.toString() + QLatin1Char('"');executed 150 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
| 150 |
374 | } else {executed 150 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 150 |
375 | #ifndef QT_NO_REGULAREXPRESSION | - |
376 | message = QStringLiteral("Did not receive any message matching: \"") + list->pattern.toRegularExpression().pattern() + QLatin1Char('"');executed 25 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
| 25 |
377 | #endif | - |
378 | }executed 25 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 25 |
379 | QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, message); | - |
380 | | - |
381 | list = list->next; | - |
382 | }executed 175 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 175 |
383 | }executed 100 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 100 |
384 | | - |
385 | void QTestLog::clearIgnoreMessages() | - |
386 | { | - |
387 | QTest::IgnoreResultList::clearList(QTest::ignoreResultList); | - |
388 | }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 |
389 | | - |
390 | void QTestLog::addPass(const char *msg) | - |
391 | { | - |
392 | if (printAvailableTags)TRUE | never evaluated | 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
- ...
|
| 0-124566 |
393 | return; never executed: return; | 0 |
394 | | - |
395 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,395); TRUE | never evaluated | 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
- ...
|
| 0-124566 |
396 | | - |
397 | ++QTest::passes; | - |
398 | | - |
399 | QTest::TestLoggers::addIncident(QAbstractTestLogger::Pass, msg); | - |
400 | }executed 124566 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
- ...
| 124566 |
401 | | - |
402 | void QTestLog::addFail(const char *msg, const char *file, int line) | - |
403 | { | - |
404 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,404); TRUE | never evaluated | 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
|
| 0-2655 |
405 | | - |
406 | ++QTest::fails; | - |
407 | | - |
408 | QTest::TestLoggers::addIncident(QAbstractTestLogger::Fail, msg, file, line); | - |
409 | }executed 2655 times by 23 tests: end of block 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 |
410 | | - |
411 | void QTestLog::addXFail(const char *msg, const char *file, int line) | - |
412 | { | - |
413 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,413); TRUE | never evaluated | FALSE | 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
- ...
|
| 0-512 |
414 | QTEST_ASSERT(file); never executed: qt_assert("file",__FILE__,414); TRUE | never evaluated | FALSE | 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
- ...
|
| 0-512 |
415 | | - |
416 | QTest::TestLoggers::addIncident(QAbstractTestLogger::XFail, msg, file, line); | - |
417 | }executed 512 times by 38 tests: end of block 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 |
418 | | - |
419 | void QTestLog::addXPass(const char *msg, const char *file, int line) | - |
420 | { | - |
421 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,421); TRUE | never evaluated | FALSE | evaluated 104 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 0-104 |
422 | QTEST_ASSERT(file); never executed: qt_assert("file",__FILE__,422); TRUE | never evaluated | FALSE | evaluated 104 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 0-104 |
423 | | - |
424 | ++QTest::fails; | - |
425 | | - |
426 | QTest::TestLoggers::addIncident(QAbstractTestLogger::XPass, msg, file, line); | - |
427 | }executed 104 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 104 |
428 | | - |
429 | void QTestLog::addBPass(const char *msg) | - |
430 | { | - |
431 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,431); TRUE | never evaluated | FALSE | 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
|
| 0-531 |
432 | | - |
433 | ++QTest::blacklists; | - |
434 | | - |
435 | QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedPass, msg); | - |
436 | }executed 531 times by 19 tests: end of block 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 |
437 | | - |
438 | void QTestLog::addBFail(const char *msg, const char *file, int line) | - |
439 | { | - |
440 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,440); TRUE | never evaluated | FALSE | 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
|
| 0-14 |
441 | QTEST_ASSERT(file); never executed: qt_assert("file",__FILE__,441); TRUE | never evaluated | FALSE | 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
|
| 0-14 |
442 | | - |
443 | ++QTest::blacklists; | - |
444 | | - |
445 | QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedFail, msg, file, line); | - |
446 | }executed 14 times by 7 tests: end of block Executed by:- tst_QAction
- tst_QCompleter
- tst_QFtp
- tst_QSocks5SocketEngine
- tst_QSslSocket_onDemandCertificates_member
- tst_QWidget
- tst_selftests - unknown status
| 14 |
447 | | - |
448 | void QTestLog::addSkip(const char *msg, const char *file, int line) | - |
449 | { | - |
450 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,450); TRUE | never evaluated | FALSE | evaluated 1403 times by 56 testsEvaluated 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
- ...
|
| 0-1403 |
451 | QTEST_ASSERT(file); never executed: qt_assert("file",__FILE__,451); TRUE | never evaluated | FALSE | evaluated 1403 times by 56 testsEvaluated 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
- ...
|
| 0-1403 |
452 | | - |
453 | ++QTest::skips; | - |
454 | | - |
455 | QTest::TestLoggers::addMessage(QAbstractTestLogger::Skip, QString::fromUtf8(msg), file, line); | - |
456 | }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 |
457 | | - |
458 | void QTestLog::addBenchmarkResult(const QBenchmarkResult &result) | - |
459 | { | - |
460 | QTest::TestLoggers::addBenchmarkResult(result); | - |
461 | }executed 282 times by 2 tests: end of block Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 282 |
462 | | - |
463 | void QTestLog::startLogging() | - |
464 | { | - |
465 | elapsedTotalTime.start(); | - |
466 | elapsedFunctionTime.start(); | - |
467 | QTest::TestLoggers::startLogging(); | - |
468 | QTest::oldMessageHandler = qInstallMessageHandler(QTest::messageHandler); | - |
469 | }executed 1320 times by 506 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
- ...
| 1320 |
470 | | - |
471 | void QTestLog::stopLogging() | - |
472 | { | - |
473 | qInstallMessageHandler(QTest::oldMessageHandler); | - |
474 | QTest::TestLoggers::stopLogging(); | - |
475 | QTest::TestLoggers::destroyLoggers(); | - |
476 | QTest::loggerUsingStdout = false; | - |
477 | saveCoverageTool(QTestResult::currentAppName(), failCount() != 0, QTestLog::installedTestCoverage()); | - |
478 | }executed 1318 times by 509 tests: end of block Executed by:- tst_collections - unknown status
- tst_compiler - unknown status
- tst_gestures - unknown status
- tst_lancelot - unknown status
- tst_languagechange - unknown status
- tst_largefile - unknown status
- tst_modeltest - unknown status
- tst_networkselftest - unknown status
- tst_platformsocketengine - unknown status
- tst_q_func_info - unknown status
- tst_qabstractanimation - unknown status
- tst_qabstractbutton - unknown status
- tst_qabstractfileengine - unknown status
- tst_qabstractitemmodel - unknown status
- tst_qabstractitemview - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qabstractprintdialog - unknown status
- tst_qabstractproxymodel - unknown status
- tst_qabstractscrollarea - unknown status
- tst_qabstractslider - unknown status
- tst_qabstractsocket - unknown status
- tst_qabstractspinbox - unknown status
- tst_qabstracttextdocumentlayout - unknown status
- tst_qaccessibility - unknown status
- tst_qaction - unknown status
- ...
| 1318 |
479 | | - |
480 | void QTestLog::addLogger(LogMode mode, const char *filename) | - |
481 | { | - |
482 | if (filename && strcmp(filename, "-") == 0)TRUE | evaluated 900 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 693 times by 506 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
- ...
|
TRUE | evaluated 291 times by 1 testEvaluated by:- tst_selftests - unknown status
| FALSE | evaluated 609 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 291-900 |
483 | filename = 0;executed 291 times by 1 test: filename = 0; Executed by:- tst_selftests - unknown status
| 291 |
484 | if (!filename)TRUE | evaluated 984 times by 506 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 609 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 609-984 |
485 | QTest::loggerUsingStdout = true;executed 984 times by 506 tests: QTest::loggerUsingStdout = true; 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
- ...
| 984 |
486 | | - |
487 | QAbstractTestLogger *logger = 0; | - |
488 | switch (mode) { | - |
489 | case QTestLog::Plain:executed 855 times by 506 tests: case QTestLog::Plain: 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
- ...
| 855 |
490 | logger = new QPlainTestLogger(filename); | - |
491 | break;executed 855 times by 506 tests: break; 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
- ...
| 855 |
492 | case QTestLog::CSV:executed 8 times by 1 test: case QTestLog::CSV: Executed by:- tst_selftests - unknown status
| 8 |
493 | logger = new QCsvBenchmarkLogger(filename); | - |
494 | break;executed 8 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 8 |
495 | case QTestLog::XML:executed 184 times by 1 test: case QTestLog::XML: Executed by:- tst_selftests - unknown status
| 184 |
496 | logger = new QXmlTestLogger(QXmlTestLogger::Complete, filename); | - |
497 | break;executed 184 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 184 |
498 | case QTestLog::LightXML:executed 185 times by 1 test: case QTestLog::LightXML: Executed by:- tst_selftests - unknown status
| 185 |
499 | logger = new QXmlTestLogger(QXmlTestLogger::Light, filename); | - |
500 | break;executed 185 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 185 |
501 | case QTestLog::XunitXML:executed 215 times by 1 test: case QTestLog::XunitXML: Executed by:- tst_selftests - unknown status
| 215 |
502 | logger = new QXunitTestLogger(filename); | - |
503 | break;executed 215 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 215 |
504 | case QTestLog::TeamCity:executed 146 times by 1 test: case QTestLog::TeamCity: Executed by:- tst_selftests - unknown status
| 146 |
505 | logger = new QTeamCityLogger(filename); | - |
506 | break;executed 146 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 146 |
507 | #if defined(HAVE_XCTEST) | - |
508 | case QTestLog::XCTest: | - |
509 | logger = new QXcodeTestLogger; | - |
510 | break; | - |
511 | #endif | - |
512 | } | - |
513 | QTEST_ASSERT(logger); never executed: qt_assert("logger",__FILE__,513); TRUE | never evaluated | FALSE | evaluated 1593 times by 506 testsEvaluated by:- tst_Collections
- tst_Compiler
- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_ModelTest
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractAnimation
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemModel
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractProxyModel
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSocket
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QAlgorithms
- ...
|
| 0-1593 |
514 | QTest::TestLoggers::addLogger(logger); | - |
515 | }executed 1593 times by 506 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
- ...
| 1593 |
516 | | - |
517 | int QTestLog::loggerCount() | - |
518 | { | - |
519 | return QTest::TestLoggers::loggerCount();executed 1320 times by 506 tests: return QTest::TestLoggers::loggerCount(); 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
- ...
| 1320 |
520 | } | - |
521 | | - |
522 | bool QTestLog::loggerUsingStdout() | - |
523 | { | - |
524 | return QTest::loggerUsingStdout;executed 291 times by 1 test: return QTest::loggerUsingStdout; Executed by:- tst_selftests - unknown status
| 291 |
525 | } | - |
526 | | - |
527 | void QTestLog::warn(const char *msg, const char *file, int line) | - |
528 | { | - |
529 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,529); TRUE | never evaluated | FALSE | evaluated 949 times by 13 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QMouseEvent
- tst_QPluginLoader
- tst_QSqlQuery
- tst_QString_NoCastFromByteArray
- tst_QTreeView
- tst_QWidget
- tst_selftests - unknown status
|
| 0-949 |
530 | | - |
531 | if (QTest::TestLoggers::loggerCount() > 0)TRUE | evaluated 111 times by 13 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QMouseEvent
- tst_QPluginLoader
- tst_QSqlQuery
- tst_QString_NoCastFromByteArray
- tst_QTreeView
- tst_QWidget
- tst_selftests - unknown status
| FALSE | evaluated 838 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 111-838 |
532 | QTest::TestLoggers::addMessage(QAbstractTestLogger::Warn, QString::fromUtf8(msg), file, line);executed 111 times by 13 tests: QTest::TestLoggers::addMessage(QAbstractTestLogger::Warn, QString::fromUtf8(msg), file, line); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QMouseEvent
- tst_QPluginLoader
- tst_QSqlQuery
- tst_QString_NoCastFromByteArray
- tst_QTreeView
- tst_QWidget
- tst_selftests - unknown status
| 111 |
533 | }executed 949 times by 13 tests: end of block Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QMouseEvent
- tst_QPluginLoader
- tst_QSqlQuery
- tst_QString_NoCastFromByteArray
- tst_QTreeView
- tst_QWidget
- tst_selftests - unknown status
| 949 |
534 | | - |
535 | void QTestLog::info(const char *msg, const char *file, int line) | - |
536 | { | - |
537 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,537); TRUE | never evaluated | FALSE | evaluated 604 times by 1 testEvaluated by:- tst_selftests - unknown status
|
| 0-604 |
538 | | - |
539 | QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, QString::fromUtf8(msg), file, line); | - |
540 | }executed 604 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 604 |
541 | | - |
542 | void QTestLog::setVerboseLevel(int level) | - |
543 | { | - |
544 | QTest::verbosity = level; | - |
545 | }executed 77 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 77 |
546 | | - |
547 | int QTestLog::verboseLevel() | - |
548 | { | - |
549 | return QTest::verbosity;executed 52813990 times by 513 tests: return QTest::verbosity; 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
- ...
| 52813990 |
550 | } | - |
551 | | - |
552 | void QTestLog::ignoreMessage(QtMsgType type, const char *msg) | - |
553 | { | - |
554 | QTEST_ASSERT(msg); never executed: qt_assert("msg",__FILE__,554); TRUE | never evaluated | FALSE | evaluated 1073 times by 82 testsEvaluated by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
|
| 0-1073 |
555 | | - |
556 | QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QString::fromLocal8Bit(msg)); | - |
557 | }executed 1073 times by 82 tests: end of block Executed by:- tst_Compiler
- tst_Gestures
- tst_PlatformSocketEngine
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QArrayData
- tst_QArrayData_StrictIterators
- tst_QBoxLayout
- tst_QBuffer
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QDBusLocalCalls
- tst_QDBusMarshall
- tst_QDBusMetaType
- tst_QDate
- tst_QDebug
- tst_QDesktopWidget
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QEasingCurve
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFormLayout
- tst_QFutureWatcher
- ...
| 1073 |
558 | | - |
559 | #ifndef QT_NO_REGULAREXPRESSION | - |
560 | void QTestLog::ignoreMessage(QtMsgType type, const QRegularExpression &expression) | - |
561 | { | - |
562 | QTEST_ASSERT(expression.isValid()); never executed: qt_assert("expression.isValid()",__FILE__,562); TRUE | never evaluated | FALSE | evaluated 116 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
| 0-116 |
563 | | - |
564 | QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QVariant(expression)); | - |
565 | }executed 116 times by 4 tests: end of block Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 116 |
566 | #endif // QT_NO_REGULAREXPRESSION | - |
567 | | - |
568 | void QTestLog::setMaxWarnings(int m) | - |
569 | { | - |
570 | QTest::maxWarnings = m <= 0 ? INT_MAX : m + 2;TRUE | never evaluated | FALSE | never evaluated |
| 0 |
571 | } never executed: end of block | 0 |
572 | | - |
573 | bool QTestLog::printAvailableTags = false; | - |
574 | | - |
575 | void QTestLog::setPrintAvailableTagsMode() | - |
576 | { | - |
577 | printAvailableTags = true; | - |
578 | }executed 4 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 4 |
579 | | - |
580 | int QTestLog::passCount() | - |
581 | { | - |
582 | return QTest::passes;executed 851 times by 506 tests: return QTest::passes; 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
- ...
| 851 |
583 | } | - |
584 | | - |
585 | int QTestLog::failCount() | - |
586 | { | - |
587 | return QTest::fails;executed 3407 times by 1013 tests: return QTest::fails; 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
- ...
| 3407 |
588 | } | - |
589 | | - |
590 | int QTestLog::skipCount() | - |
591 | { | - |
592 | return QTest::skips;executed 851 times by 506 tests: return QTest::skips; 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
- ...
| 851 |
593 | } | - |
594 | | - |
595 | int QTestLog::blacklistCount() | - |
596 | { | - |
597 | return QTest::blacklists;executed 851 times by 506 tests: return QTest::blacklists; 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
- ...
| 851 |
598 | } | - |
599 | | - |
600 | void QTestLog::resetCounters() | - |
601 | { | - |
602 | QTest::passes = 0; | - |
603 | QTest::fails = 0; | - |
604 | QTest::skips = 0; | - |
605 | }executed 815 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 815 |
606 | | - |
607 | void QTestLog::setInstalledTestCoverage(bool installed) | - |
608 | { | - |
609 | QTest::installedTestCoverage = installed; | - |
610 | }executed 1320 times by 506 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
- ...
| 1320 |
611 | | - |
612 | bool QTestLog::installedTestCoverage() | - |
613 | { | - |
614 | return QTest::installedTestCoverage;executed 1318 times by 506 tests: return QTest::installedTestCoverage; 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
- ...
| 1318 |
615 | } | - |
616 | | - |
617 | qint64 QTestLog::nsecsTotalTime() | - |
618 | { | - |
619 | return elapsedTotalTime.nsecsElapsed();executed 1220 times by 506 tests: return elapsedTotalTime.nsecsElapsed(); 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
- ...
| 1220 |
620 | } | - |
621 | | - |
622 | qint64 QTestLog::nsecsFunctionTime() | - |
623 | { | - |
624 | return elapsedFunctionTime.nsecsElapsed();executed 2274 times by 1 test: return elapsedFunctionTime.nsecsElapsed(); Executed by:- tst_selftests - unknown status
| 2274 |
625 | } | - |
626 | | - |
627 | QT_END_NAMESPACE | - |
| | |