Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | static void saveCoverageTool(const char * appname, bool testfailed, bool installedTestCoverage) | - |
13 | { | - |
14 | | - |
15 | if (!installedTestCoverageTRUE | 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 |
16 | return;executed 809 times by 1 test: return; Executed by:- tst_selftests - unknown status
| 809 |
17 | | - |
18 | | - |
19 | __coveragescanner_install(appname); | - |
20 | __coveragescanner_teststate(testfailed ? "FAILED" : "PASSED"); | - |
21 | __coveragescanner_save(); | - |
22 | __coveragescanner_testname(""); | - |
23 | __coveragescanner_clear(); | - |
24 | unsetenv("QT_TESTCOCOON_ACTIVE"); | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | }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 |
31 | | - |
32 | static QElapsedTimer elapsedFunctionTime; | - |
33 | static QElapsedTimer elapsedTotalTime; | - |
34 | | - |
35 | namespace QTest { | - |
36 | | - |
37 | int fails = 0; | - |
38 | int passes = 0; | - |
39 | int skips = 0; | - |
40 | int blacklists = 0; | - |
41 | | - |
42 | struct IgnoreResultList | - |
43 | { | - |
44 | inline IgnoreResultList(QtMsgType tp, const QVariant &patternIn) | - |
45 | : 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 |
46 | | - |
47 | static inline void clearList(IgnoreResultList *&list) | - |
48 | { | - |
49 | while (listTRUE | 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 |
50 | IgnoreResultList *current = list; | - |
51 | list = list->next; | - |
52 | delete current; | - |
53 | }executed 175 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 175 |
54 | }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 |
55 | | - |
56 | static void append(IgnoreResultList *&list, QtMsgType type, const QVariant &patternIn) | - |
57 | { | - |
58 | QTest::IgnoreResultList *item = new QTest::IgnoreResultList(type, patternIn); | - |
59 | | - |
60 | if (!listTRUE | 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 |
61 | list = item; | - |
62 | 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 |
63 | } | - |
64 | IgnoreResultList *last = list; | - |
65 | for ( ; last->nextTRUE | 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
|
; 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
| 282-330 |
66 | last->next = item; | - |
67 | }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 |
68 | | - |
69 | static bool stringsMatch(const QString &expected, const QString &actual) | - |
70 | { | - |
71 | if (expected == actualTRUE | 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 |
72 | returnexecuted 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
- ...
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 |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | 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 |
78 | returnexecuted 26 times by 2 tests: return actual == expected.leftRef(expected.length() - 1); Executed by:- tst_QMetaObject
- tst_selftests - unknown status
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 |
79 | | - |
80 | returnexecuted 220 times by 4 tests: return false; Executed by:- tst_QImageReader
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
false;executed 220 times by 4 tests: return false; Executed by:- tst_QImageReader
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
| 220 |
81 | } | - |
82 | | - |
83 | inline bool matches(QtMsgType tp, const QString &message) const | - |
84 | { | - |
85 | returnexecuted 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
- ...
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 |
86 | && (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 |
87 | 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 |
88 | | 1234 |
89 | 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 |
90 | | - |
91 | | - |
92 | | - |
93 | } | - |
94 | | - |
95 | QtMsgType type; | - |
96 | QVariant pattern; | - |
97 | IgnoreResultList *next; | - |
98 | }; | - |
99 | | - |
100 | static IgnoreResultList *ignoreResultList = 0; | - |
101 | | - |
102 | struct LoggerList | - |
103 | { | - |
104 | QAbstractTestLogger *logger; | - |
105 | LoggerList *next; | - |
106 | }; | - |
107 | | - |
108 | class TestLoggers | - |
109 | { | - |
110 | public: | - |
111 | static void addLogger(QAbstractTestLogger *logger) | - |
112 | { | - |
113 | LoggerList *l = new LoggerList; | - |
114 | l->logger = logger; | - |
115 | l->next = loggers; | - |
116 | loggers = l; | - |
117 | }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 |
118 | | - |
119 | static void destroyLoggers() | - |
120 | { | - |
121 | while (loggersTRUE | 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 |
122 | LoggerList *l = loggers; | - |
123 | loggers = loggers->next; | - |
124 | delete l->logger; | - |
125 | delete l; | - |
126 | }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 |
127 | }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 |
128 | static void startLogging() | - |
129 | { | - |
130 | LoggerList *l = loggers; while (lTRUE | 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
- ...
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->startLogging(); l = l->next; }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
- ...
; | 1320-1591 |
131 | }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 |
132 | | - |
133 | static void stopLogging() | - |
134 | { | - |
135 | LoggerList *l = loggers; while (lTRUE | 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
- ...
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->stopLogging(); l = l->next; }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
- ...
; | 1318-1589 |
136 | }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 |
137 | | - |
138 | static void enterTestFunction(const char *function) | - |
139 | { | - |
140 | LoggerList *l = loggers; while (lTRUE | 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
- ...
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->enterTestFunction(function); l = l->next; }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
- ...
; | 15764-17435 |
141 | }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 |
142 | | - |
143 | static void leaveTestFunction() | - |
144 | { | - |
145 | LoggerList *l = loggers; while (lTRUE | 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
- ...
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->leaveTestFunction(); l = l->next; }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
- ...
; | 15762-17433 |
146 | }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 |
147 | | - |
148 | static void addIncident(QAbstractTestLogger::IncidentTypes type, const char *description, | - |
149 | const char *file = 0, int line = 0) | - |
150 | { | - |
151 | LoggerList *l = loggers; while (lTRUE | 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
- ...
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->addIncident(type, description, file, line); l = l->next; }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
- ...
; | 128382-131080 |
152 | }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 |
153 | | - |
154 | static void addBenchmarkResult(const QBenchmarkResult &result) | - |
155 | { | - |
156 | LoggerList *l = loggers; while (lTRUE | 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
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->addBenchmarkResult(result); l = l->next; }executed 358 times by 2 tests: end of block Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
; | 282-358 |
157 | }executed 282 times by 2 tests: end of block Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 282 |
158 | | - |
159 | static void addMessage(QAbstractTestLogger::MessageTypes type, const QString &message, | - |
160 | const char *file = 0, int line = 0) | - |
161 | { | - |
162 | LoggerList *l = loggers; while (lTRUE | 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
- ...
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->addMessage(type, message, file, line); l = l->next; }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
- ...
; | 56500-75944 |
163 | }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 |
164 | | - |
165 | static void outputString(const char *msg) | - |
166 | { | - |
167 | LoggerList *l = loggers; while (lTRUE | never evaluated | FALSE | never evaluated |
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->outputString(msg); l = l->next; }never executed: end of block ; | 0 |
168 | } never executed: end of block | 0 |
169 | | - |
170 | static int loggerCount() | - |
171 | { | - |
172 | int count = 0; | - |
173 | LoggerList *l = loggers; while (lTRUE | 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
- ...
|
) { QAbstractTestLogger *logger = l->logger; (void)logger;; ++count; l = l->next; }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
- ...
; | 257440-346939 |
174 | returnexecuted 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
- ...
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 |
175 | } | - |
176 | | - |
177 | private: | - |
178 | static LoggerList *loggers; | - |
179 | }; | - |
180 | | - |
181 | | - |
182 | | - |
183 | LoggerList *TestLoggers::loggers = 0; | - |
184 | static bool loggerUsingStdout = false; | - |
185 | | - |
186 | static int verbosity = 0; | - |
187 | static int maxWarnings = 2002; | - |
188 | static bool installedTestCoverage = true; | - |
189 | | - |
190 | static QtMessageHandler oldMessageHandler; | - |
191 | | - |
192 | static bool handleIgnoredMessage(QtMsgType type, const QString &message) | - |
193 | { | - |
194 | if (!ignoreResultListTRUE | 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 |
195 | returnexecuted 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
- ...
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 |
196 | IgnoreResultList *last = 0; | - |
197 | IgnoreResultList *list = ignoreResultList; | - |
198 | while (listTRUE | 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 |
199 | 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 |
200 | | - |
201 | if (lastTRUE | 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 |
202 | 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 |
203 | else if (list->nextTRUE | 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 |
204 | 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 |
205 | else | - |
206 | 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 |
207 | | - |
208 | delete list; | - |
209 | returnexecuted 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
- ...
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 |
210 | } | - |
211 | | - |
212 | last = list; | - |
213 | list = list->next; | - |
214 | }executed 220 times by 4 tests: end of block Executed by:- tst_QImageReader
- tst_QObject
- tst_QSslSocket
- tst_selftests - unknown status
| 220 |
215 | returnexecuted 38 times by 2 tests: return false; Executed by:- tst_QImageReader
- tst_selftests - unknown status
false;executed 38 times by 2 tests: return false; Executed by:- tst_QImageReader
- tst_selftests - unknown status
| 38 |
216 | } | - |
217 | | - |
218 | static void messageHandler(QtMsgType type, const QMessageLogContext & context, const QString &message) | - |
219 | { | - |
220 | static QBasicAtomicInt counter = { QTest::maxWarnings }; | - |
221 | | - |
222 | if (QTest::TestLoggers::loggerCount() == 0TRUE | 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 |
223 | | - |
224 | qInstallMessageHandler(oldMessageHandler); | - |
225 | do { if (!(QTest::TestLoggers::loggerCount() != 0)TRUE | never evaluated | FALSE | never evaluated |
) qt_assert("QTest::TestLoggers::loggerCount() != 0",__FILE__,289);never executed: qt_assert("QTest::TestLoggers::loggerCount() != 0",__FILE__,289); } while (0); | 0 |
226 | } never executed: end of block | 0 |
227 | | - |
228 | 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 |
229 | | - |
230 | 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 |
231 | | - |
232 | QString msg = qFormatLogMessage(type, context, message); | - |
233 | | - |
234 | if (type != QtFatalMsgTRUE | 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 |
235 | if (counter.load() <= 0TRUE | 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 |
236 | return;executed 199950 times by 1 test: return; Executed by:- tst_selftests - unknown status
| 199950 |
237 | | - |
238 | 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 |
239 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QSystem, | - |
240 | ([]() -> QString { enum { Size = sizeof(u"" "Maximum amount of warnings exceeded. Use -maxwarnings to override.")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Maximum amount of warnings exceeded. Use -maxwarnings to override." }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 25 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
qstring_literal_temp;executed 25 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
}())); | 25 |
241 | return;executed 25 times by 1 test: return; Executed by:- tst_selftests - unknown status
| 25 |
242 | } | - |
243 | }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 |
244 | | - |
245 | switch (type) { | - |
246 | caseexecuted 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
- ...
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 |
247 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QDebug, msg); | - |
248 | 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 |
249 | caseexecuted 54 times by 1 test: case QtInfoMsg: Executed by:- tst_selftests - unknown status
QtInfoMsg:executed 54 times by 1 test: case QtInfoMsg: Executed by:- tst_selftests - unknown status
| 54 |
250 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QInfo, msg); | - |
251 | break;executed 54 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 54 |
252 | caseexecuted 4 times by 1 test: case QtCriticalMsg: Executed by:- tst_selftests - unknown status
QtCriticalMsg:executed 4 times by 1 test: case QtCriticalMsg: Executed by:- tst_selftests - unknown status
| 4 |
253 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QSystem, msg); | - |
254 | break;executed 4 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 4 |
255 | caseexecuted 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
- ...
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 |
256 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QWarning, msg); | - |
257 | 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 |
258 | caseexecuted 55 times by 2 tests: case QtFatalMsg: Executed by:- tst_QNetworkReply
- tst_selftests - unknown status
QtFatalMsg:executed 55 times by 2 tests: case QtFatalMsg: Executed by:- tst_QNetworkReply
- tst_selftests - unknown status
| 55 |
259 | QTest::TestLoggers::addMessage(QAbstractTestLogger::QFatal, msg); | - |
260 | | - |
261 | | - |
262 | | - |
263 | | - |
264 | | - |
265 | QTestResult::addFailure("Received a fatal error.", "Unknown file", 0); | - |
266 | QTestLog::leaveTestFunction(); | - |
267 | QTestLog::stopLogging(); | - |
268 | break;executed 55 times by 2 tests: break; Executed by:- tst_qnetworkreply - unknown status
- tst_selftests - unknown status
| 55 |
269 | } | - |
270 | }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 |
271 | } | - |
272 | | - |
273 | void QTestLog::enterTestFunction(const char* function) | - |
274 | { | - |
275 | elapsedFunctionTime.restart(); | - |
276 | if (printAvailableTagsTRUE | 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 |
277 | return; never executed: return; | 0 |
278 | | - |
279 | do { if (!(function)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
- ...
|
) qt_assert("function",__FILE__,343);never executed: qt_assert("function",__FILE__,343); } while (0); | 0-15764 |
280 | | - |
281 | QTest::TestLoggers::enterTestFunction(function); | - |
282 | }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 |
283 | | - |
284 | int QTestLog::unhandledIgnoreMessages() | - |
285 | { | - |
286 | int i = 0; | - |
287 | QTest::IgnoreResultList *list = QTest::ignoreResultList; | - |
288 | while (listTRUE | 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 |
289 | ++i; | - |
290 | list = list->next; | - |
291 | }executed 175 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 175 |
292 | returnexecuted 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
- ...
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 |
293 | } | - |
294 | | - |
295 | void QTestLog::leaveTestFunction() | - |
296 | { | - |
297 | if (printAvailableTagsTRUE | 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 |
298 | return; never executed: return; | 0 |
299 | | - |
300 | QTest::TestLoggers::leaveTestFunction(); | - |
301 | }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 |
302 | | - |
303 | void QTestLog::printUnhandledIgnoreMessages() | - |
304 | { | - |
305 | QString message; | - |
306 | QTest::IgnoreResultList *list = QTest::ignoreResultList; | - |
307 | while (listTRUE | 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 |
308 | if (list->pattern.type() == QVariant::StringTRUE | 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 |
309 | message = ([]() -> QString { enum { Size = sizeof(u"" "Did not receive message: \"")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Did not receive message: \"" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 150 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
qstring_literal_temp;executed 150 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
}()) + list->pattern.toString() + QLatin1Char('"'); | 150 |
310 | }executed 150 times by 1 test: end of block Executed by:- tst_selftests - unknown status
else { | 150 |
311 | | - |
312 | message = ([]() -> QString { enum { Size = sizeof(u"" "Did not receive any message matching: \"")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Did not receive any message matching: \"" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 25 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
qstring_literal_temp;executed 25 times by 1 test: return qstring_literal_temp; Executed by:- tst_selftests - unknown status
}()) + list->pattern.toRegularExpression().pattern() + QLatin1Char('"'); | 25 |
313 | | - |
314 | }executed 25 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 25 |
315 | QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, message); | - |
316 | | - |
317 | list = list->next; | - |
318 | }executed 175 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 175 |
319 | }executed 100 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 100 |
320 | | - |
321 | void QTestLog::clearIgnoreMessages() | - |
322 | { | - |
323 | QTest::IgnoreResultList::clearList(QTest::ignoreResultList); | - |
324 | }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 |
325 | | - |
326 | void QTestLog::addPass(const char *msg) | - |
327 | { | - |
328 | if (printAvailableTagsTRUE | 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 |
329 | return; never executed: return; | 0 |
330 | | - |
331 | do { if (!(msg)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
- ...
|
) qt_assert("msg",__FILE__,395);never executed: qt_assert("msg",__FILE__,395); } while (0); | 0-124566 |
332 | | - |
333 | ++QTest::passes; | - |
334 | | - |
335 | QTest::TestLoggers::addIncident(QAbstractTestLogger::Pass, msg); | - |
336 | }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 |
337 | | - |
338 | void QTestLog::addFail(const char *msg, const char *file, int line) | - |
339 | { | - |
340 | do { if (!(msg)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
|
) qt_assert("msg",__FILE__,404);never executed: qt_assert("msg",__FILE__,404); } while (0); | 0-2655 |
341 | | - |
342 | ++QTest::fails; | - |
343 | | - |
344 | QTest::TestLoggers::addIncident(QAbstractTestLogger::Fail, msg, file, line); | - |
345 | }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 |
346 | | - |
347 | void QTestLog::addXFail(const char *msg, const char *file, int line) | - |
348 | { | - |
349 | do { if (!(msg)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
- ...
|
) qt_assert("msg",__FILE__,413);never executed: qt_assert("msg",__FILE__,413); } while (0); | 0-512 |
350 | do { if (!(file)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
- ...
|
) qt_assert("file",__FILE__,414);never executed: qt_assert("file",__FILE__,414); } while (0); | 0-512 |
351 | | - |
352 | QTest::TestLoggers::addIncident(QAbstractTestLogger::XFail, msg, file, line); | - |
353 | }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 |
354 | | - |
355 | void QTestLog::addXPass(const char *msg, const char *file, int line) | - |
356 | { | - |
357 | do { if (!(msg)TRUE | never evaluated | FALSE | evaluated 104 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) qt_assert("msg",__FILE__,421);never executed: qt_assert("msg",__FILE__,421); } while (0); | 0-104 |
358 | do { if (!(file)TRUE | never evaluated | FALSE | evaluated 104 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) qt_assert("file",__FILE__,422);never executed: qt_assert("file",__FILE__,422); } while (0); | 0-104 |
359 | | - |
360 | ++QTest::fails; | - |
361 | | - |
362 | QTest::TestLoggers::addIncident(QAbstractTestLogger::XPass, msg, file, line); | - |
363 | }executed 104 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 104 |
364 | | - |
365 | void QTestLog::addBPass(const char *msg) | - |
366 | { | - |
367 | do { if (!(msg)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
|
) qt_assert("msg",__FILE__,431);never executed: qt_assert("msg",__FILE__,431); } while (0); | 0-531 |
368 | | - |
369 | ++QTest::blacklists; | - |
370 | | - |
371 | QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedPass, msg); | - |
372 | }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 |
373 | | - |
374 | void QTestLog::addBFail(const char *msg, const char *file, int line) | - |
375 | { | - |
376 | do { if (!(msg)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
|
) qt_assert("msg",__FILE__,440);never executed: qt_assert("msg",__FILE__,440); } while (0); | 0-14 |
377 | do { if (!(file)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
|
) qt_assert("file",__FILE__,441);never executed: qt_assert("file",__FILE__,441); } while (0); | 0-14 |
378 | | - |
379 | ++QTest::blacklists; | - |
380 | | - |
381 | QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedFail, msg, file, line); | - |
382 | }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 |
383 | | - |
384 | void QTestLog::addSkip(const char *msg, const char *file, int line) | - |
385 | { | - |
386 | do { if (!(msg)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
- ...
|
) qt_assert("msg",__FILE__,450);never executed: qt_assert("msg",__FILE__,450); } while (0); | 0-1403 |
387 | do { if (!(file)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
- ...
|
) qt_assert("file",__FILE__,451);never executed: qt_assert("file",__FILE__,451); } while (0); | 0-1403 |
388 | | - |
389 | ++QTest::skips; | - |
390 | | - |
391 | QTest::TestLoggers::addMessage(QAbstractTestLogger::Skip, QString::fromUtf8(msg), file, line); | - |
392 | }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 |
393 | | - |
394 | void QTestLog::addBenchmarkResult(const QBenchmarkResult &result) | - |
395 | { | - |
396 | QTest::TestLoggers::addBenchmarkResult(result); | - |
397 | }executed 282 times by 2 tests: end of block Executed by:- tst_QByteDataBuffer
- tst_selftests - unknown status
| 282 |
398 | | - |
399 | void QTestLog::startLogging() | - |
400 | { | - |
401 | elapsedTotalTime.start(); | - |
402 | elapsedFunctionTime.start(); | - |
403 | QTest::TestLoggers::startLogging(); | - |
404 | QTest::oldMessageHandler = qInstallMessageHandler(QTest::messageHandler); | - |
405 | }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 |
406 | | - |
407 | void QTestLog::stopLogging() | - |
408 | { | - |
409 | qInstallMessageHandler(QTest::oldMessageHandler); | - |
410 | QTest::TestLoggers::stopLogging(); | - |
411 | QTest::TestLoggers::destroyLoggers(); | - |
412 | QTest::loggerUsingStdout = false; | - |
413 | saveCoverageTool(QTestResult::currentAppName(), failCount() != 0, QTestLog::installedTestCoverage()); | - |
414 | }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 |
415 | | - |
416 | void QTestLog::addLogger(LogMode mode, const char *filename) | - |
417 | { | - |
418 | if (filenameTRUE | 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
- ...
|
&& strcmp(filename, "-") == 0TRUE | 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 |
419 | filename = 0;executed 291 times by 1 test: filename = 0; Executed by:- tst_selftests - unknown status
| 291 |
420 | if (!filenameTRUE | 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 |
421 | 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 |
422 | | - |
423 | QAbstractTestLogger *logger = 0; | - |
424 | switch (mode) { | - |
425 | caseexecuted 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
- ...
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 |
426 | logger = new QPlainTestLogger(filename); | - |
427 | 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 |
428 | caseexecuted 8 times by 1 test: case QTestLog::CSV: Executed by:- tst_selftests - unknown status
QTestLog::CSV:executed 8 times by 1 test: case QTestLog::CSV: Executed by:- tst_selftests - unknown status
| 8 |
429 | logger = new QCsvBenchmarkLogger(filename); | - |
430 | break;executed 8 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 8 |
431 | caseexecuted 184 times by 1 test: case QTestLog::XML: Executed by:- tst_selftests - unknown status
QTestLog::XML:executed 184 times by 1 test: case QTestLog::XML: Executed by:- tst_selftests - unknown status
| 184 |
432 | logger = new QXmlTestLogger(QXmlTestLogger::Complete, filename); | - |
433 | break;executed 184 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 184 |
434 | caseexecuted 185 times by 1 test: case QTestLog::LightXML: Executed by:- tst_selftests - unknown status
QTestLog::LightXML:executed 185 times by 1 test: case QTestLog::LightXML: Executed by:- tst_selftests - unknown status
| 185 |
435 | logger = new QXmlTestLogger(QXmlTestLogger::Light, filename); | - |
436 | break;executed 185 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 185 |
437 | caseexecuted 215 times by 1 test: case QTestLog::XunitXML: Executed by:- tst_selftests - unknown status
QTestLog::XunitXML:executed 215 times by 1 test: case QTestLog::XunitXML: Executed by:- tst_selftests - unknown status
| 215 |
438 | logger = new QXunitTestLogger(filename); | - |
439 | break;executed 215 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 215 |
440 | caseexecuted 146 times by 1 test: case QTestLog::TeamCity: Executed by:- tst_selftests - unknown status
QTestLog::TeamCity:executed 146 times by 1 test: case QTestLog::TeamCity: Executed by:- tst_selftests - unknown status
| 146 |
441 | logger = new QTeamCityLogger(filename); | - |
442 | break;executed 146 times by 1 test: break; Executed by:- tst_selftests - unknown status
| 146 |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | | - |
448 | } | - |
449 | do { if (!(logger)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
- ...
|
) qt_assert("logger",__FILE__,513);never executed: qt_assert("logger",__FILE__,513); } while (0); | 0-1593 |
450 | QTest::TestLoggers::addLogger(logger); | - |
451 | }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 |
452 | | - |
453 | int QTestLog::loggerCount() | - |
454 | { | - |
455 | returnexecuted 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
- ...
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 |
456 | } | - |
457 | | - |
458 | bool QTestLog::loggerUsingStdout() | - |
459 | { | - |
460 | returnexecuted 291 times by 1 test: return QTest::loggerUsingStdout; Executed by:- tst_selftests - unknown status
QTest::loggerUsingStdout;executed 291 times by 1 test: return QTest::loggerUsingStdout; Executed by:- tst_selftests - unknown status
| 291 |
461 | } | - |
462 | | - |
463 | void QTestLog::warn(const char *msg, const char *file, int line) | - |
464 | { | - |
465 | do { if (!(msg)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
|
) qt_assert("msg",__FILE__,529);never executed: qt_assert("msg",__FILE__,529); } while (0); | 0-949 |
466 | | - |
467 | if (QTest::TestLoggers::loggerCount() > 0TRUE | 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 |
468 | 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 |
469 | }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 |
470 | | - |
471 | void QTestLog::info(const char *msg, const char *file, int line) | - |
472 | { | - |
473 | do { if (!(msg)TRUE | never evaluated | FALSE | evaluated 604 times by 1 testEvaluated by:- tst_selftests - unknown status
|
) qt_assert("msg",__FILE__,537);never executed: qt_assert("msg",__FILE__,537); } while (0); | 0-604 |
474 | | - |
475 | QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, QString::fromUtf8(msg), file, line); | - |
476 | }executed 604 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 604 |
477 | | - |
478 | void QTestLog::setVerboseLevel(int level) | - |
479 | { | - |
480 | QTest::verbosity = level; | - |
481 | }executed 77 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 77 |
482 | | - |
483 | int QTestLog::verboseLevel() | - |
484 | { | - |
485 | returnexecuted 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
- ...
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 |
486 | } | - |
487 | | - |
488 | void QTestLog::ignoreMessage(QtMsgType type, const char *msg) | - |
489 | { | - |
490 | do { if (!(msg)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
- ...
|
) qt_assert("msg",__FILE__,554);never executed: qt_assert("msg",__FILE__,554); } while (0); | 0-1073 |
491 | | - |
492 | QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QString::fromLocal8Bit(msg)); | - |
493 | }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 |
494 | | - |
495 | | - |
496 | void QTestLog::ignoreMessage(QtMsgType type, const QRegularExpression &expression) | - |
497 | { | - |
498 | do { if (!(expression.isValid())TRUE | never evaluated | FALSE | evaluated 116 times by 4 testsEvaluated by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
|
) qt_assert("expression.isValid()",__FILE__,562);never executed: qt_assert("expression.isValid()",__FILE__,562); } while (0); | 0-116 |
499 | | - |
500 | QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QVariant(expression)); | - |
501 | }executed 116 times by 4 tests: end of block Executed by:- tst_QGuiVariant
- tst_QVariant
- tst_QWidgetsVariant
- tst_selftests - unknown status
| 116 |
502 | | - |
503 | | - |
504 | void QTestLog::setMaxWarnings(int m) | - |
505 | { | - |
506 | QTest::maxWarnings = m <= 0TRUE | never evaluated | FALSE | never evaluated |
? 2147483647 : m + 2; | 0 |
507 | } never executed: end of block | 0 |
508 | | - |
509 | bool QTestLog::printAvailableTags = false; | - |
510 | | - |
511 | void QTestLog::setPrintAvailableTagsMode() | - |
512 | { | - |
513 | printAvailableTags = true; | - |
514 | }executed 4 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 4 |
515 | | - |
516 | int QTestLog::passCount() | - |
517 | { | - |
518 | returnexecuted 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
- ...
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 |
519 | } | - |
520 | | - |
521 | int QTestLog::failCount() | - |
522 | { | - |
523 | returnexecuted 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
- ...
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 |
524 | } | - |
525 | | - |
526 | int QTestLog::skipCount() | - |
527 | { | - |
528 | returnexecuted 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
- ...
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 |
529 | } | - |
530 | | - |
531 | int QTestLog::blacklistCount() | - |
532 | { | - |
533 | returnexecuted 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
- ...
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 |
534 | } | - |
535 | | - |
536 | void QTestLog::resetCounters() | - |
537 | { | - |
538 | QTest::passes = 0; | - |
539 | QTest::fails = 0; | - |
540 | QTest::skips = 0; | - |
541 | }executed 815 times by 1 test: end of block Executed by:- tst_selftests - unknown status
| 815 |
542 | | - |
543 | void QTestLog::setInstalledTestCoverage(bool installed) | - |
544 | { | - |
545 | QTest::installedTestCoverage = installed; | - |
546 | }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 |
547 | | - |
548 | bool QTestLog::installedTestCoverage() | - |
549 | { | - |
550 | returnexecuted 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
- ...
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 |
551 | } | - |
552 | | - |
553 | qint64 QTestLog::nsecsTotalTime() | - |
554 | { | - |
555 | returnexecuted 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
- ...
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 |
556 | } | - |
557 | | - |
558 | qint64 QTestLog::nsecsFunctionTime() | - |
559 | { | - |
560 | returnexecuted 2274 times by 1 test: return elapsedFunctionTime.nsecsElapsed(); Executed by:- tst_selftests - unknown status
elapsedFunctionTime.nsecsElapsed();executed 2274 times by 1 test: return elapsedFunctionTime.nsecsElapsed(); Executed by:- tst_selftests - unknown status
| 2274 |
561 | } | - |
562 | | - |
563 | | - |
| | |