qtestlog.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestlog.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12static void saveCoverageTool(const char * appname, bool testfailed, bool installedTestCoverage)-
13{-
14-
15 if (!installedTestCoverage
!installedTestCoverageDescription
TRUEevaluated 693 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 542 times by 538 tests
Evaluated 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
  • ...
)
542-693
16 return;
executed 693 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
693
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 542 times by 542 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
  • ...
542
31-
32static QElapsedTimer elapsedFunctionTime;-
33static QElapsedTimer elapsedTotalTime;-
34-
35namespace 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 1115 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
  • ...
1115
46-
47 static inline void clearList(IgnoreResultList *&list)-
48 {-
49 while (list
listDescription
TRUEevaluated 147 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 132625 times by 540 tests
Evaluated 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
  • ...
) {
147-132625
50 IgnoreResultList *current = list;-
51 list = list->next;-
52 delete current;-
53 }
executed 147 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
147
54 }
executed 132625 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
132625
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 (!list
!listDescription
TRUEevaluated 817 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 298 times by 17 tests
Evaluated 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
) {
298-817
61 list = item;-
62 return;
executed 817 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
  • ...
817
63 }-
64 IgnoreResultList *last = list;-
65 for ( ; last->next
last->nextDescription
TRUEevaluated 270 times by 10 tests
Evaluated by:
  • tst_Gestures
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QGraphicsAnchorLayout1
  • tst_QImageReader
  • tst_QLoggingRegistry
  • tst_QMimeDatabase
  • tst_QObject
  • tst_QSettings
  • tst_selftests - unknown status
FALSEevaluated 298 times by 17 tests
Evaluated 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 270 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
270-298
66 last->next = item;-
67 }
executed 298 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
298
68-
69 static bool stringsMatch(const QString &expected, const QString &actual)-
70 {-
71 if (expected == actual
expected == actualDescription
TRUEevaluated 867 times by 82 tests
Evaluated 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
  • ...
FALSEevaluated 214 times by 5 tests
Evaluated by:
  • tst_QImageReader
  • tst_QMetaObject
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
)
214-867
72 return
executed 867 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 867 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
  • ...
867
73-
74-
75-
76-
77 if (expected.endsWith(QLatin1Char(' '))
expected.endsW...tin1Char(' '))Description
TRUEevaluated 22 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_selftests - unknown status
FALSEevaluated 192 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
)
22-192
78 return
executed 22 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 22 times by 2 tests: return actual == expected.leftRef(expected.length() - 1);
Executed by:
  • tst_QMetaObject
  • tst_selftests - unknown status
22
79-
80 return
executed 192 times by 4 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
false;
executed 192 times by 4 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
192
81 }-
82-
83 inline bool matches(QtMsgType tp, const QString &message) const-
84 {-
85 return
executed 1160 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 == type
tp == typeDescription
TRUEevaluated 1160 times by 84 tests
Evaluated 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
  • ...
FALSEnever evaluated
executed 1160 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
  • ...
0-1160
86 && (
(pattern.type(...e).hasMatch())Description
TRUEevaluated 968 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 192 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
pattern.type() == QVariant::String ?
(pattern.type(...e).hasMatch())Description
TRUEevaluated 968 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 192 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
executed 1160 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
  • ...
79-1160
87 stringsMatch(pattern.toString(), message) :
(pattern.type(...e).hasMatch())Description
TRUEevaluated 968 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 192 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
executed 1160 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
  • ...
192-1160
88192-1160
89 pattern.toRegularExpression().match(message).hasMatch())
(pattern.type(...e).hasMatch())Description
TRUEevaluated 968 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 192 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
;
executed 1160 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
  • ...
192-1160
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 1480 times by 539 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
  • ...
1480
118-
119 static void destroyLoggers()-
120 {-
121 while (loggers
loggersDescription
TRUEevaluated 1476 times by 539 tests
Evaluated 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
  • ...
FALSEevaluated 1235 times by 539 tests
Evaluated 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
  • ...
) {
1235-1476
122 LoggerList *l = loggers;-
123 loggers = loggers->next;-
124 delete l->logger;-
125 delete l;-
126 }
executed 1476 times by 539 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
  • ...
1476
127 }
executed 1235 times by 539 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
  • ...
1235
128 static void startLogging()-
129 {-
130 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 1478 times by 539 tests
Evaluated 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
  • ...
FALSEevaluated 1237 times by 539 tests
Evaluated 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 1478 times by 539 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
  • ...
;
1237-1478
131 }
executed 1237 times by 539 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
  • ...
1237
132-
133 static void stopLogging()-
134 {-
135 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 1476 times by 539 tests
Evaluated 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
  • ...
FALSEevaluated 1235 times by 539 tests
Evaluated 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 1476 times by 539 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
  • ...
;
1235-1476
136 }
executed 1235 times by 539 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
  • ...
1235
137-
138 static void enterTestFunction(const char *function)-
139 {-
140 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 16936 times by 540 tests
Evaluated 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
  • ...
FALSEevaluated 15474 times by 540 tests
Evaluated 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 16936 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
15474-16936
141 }
executed 15474 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15474
142-
143 static void leaveTestFunction()-
144 {-
145 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 16934 times by 540 tests
Evaluated 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
  • ...
FALSEevaluated 15472 times by 540 tests
Evaluated 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 16934 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
15472-16934
146 }
executed 15472 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15472
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 (l
lDescription
TRUEevaluated 134442 times by 540 tests
Evaluated 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
  • ...
FALSEevaluated 132090 times by 540 tests
Evaluated 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 134442 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
132090-134442
152 }
executed 132090 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
132090
153-
154 static void addBenchmarkResult(const QBenchmarkResult &result)-
155 {-
156 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 334 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
FALSEevaluated 266 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
) { QAbstractTestLogger *logger = l->logger; (void)logger;; logger->addBenchmarkResult(result); l = l->next; }
executed 334 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
;
266-334
157 }
executed 266 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
266
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 (l
lDescription
TRUEevaluated 65216 times by 135 tests
Evaluated 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
  • ...
FALSEevaluated 47931 times by 135 tests
Evaluated 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 65216 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
  • ...
;
47931-65216
163 }
executed 47931 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
  • ...
47931
164-
165 static void outputString(const char *msg)-
166 {-
167 LoggerList *l = loggers; while (l
lDescription
TRUEnever evaluated
FALSEnever 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 (l
lDescription
TRUEevaluated 296323 times by 160 tests
Evaluated 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
  • ...
FALSEevaluated 216809 times by 539 tests
Evaluated 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 296323 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
  • ...
;
216809-296323
174 return
executed 216809 times by 539 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 216809 times by 539 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
  • ...
216809
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 (!ignoreResultList
!ignoreResultListDescription
TRUEevaluated 213720 times by 101 tests
Evaluated 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
  • ...
FALSEevaluated 1002 times by 84 tests
Evaluated 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
  • ...
)
1002-213720
195 return
executed 213720 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 213720 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
  • ...
213720
196 IgnoreResultList *last = 0;-
197 IgnoreResultList *list = ignoreResultList;-
198 while (list
listDescription
TRUEevaluated 1160 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 34 times by 2 tests
Evaluated by:
  • tst_QImageReader
  • tst_selftests - unknown status
) {
34-1160
199 if (list->matches(type, message)
list->matches(type, message)Description
TRUEevaluated 968 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 192 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
) {
192-968
200-
201 if (last
lastDescription
TRUEevaluated 74 times by 3 tests
Evaluated by:
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
FALSEevaluated 894 times by 84 tests
Evaluated 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
  • ...
)
74-894
202 last->next = list->next;
executed 74 times by 3 tests: last->next = list->next;
Executed by:
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
74
203 else if (list->next
list->nextDescription
TRUEevaluated 161 times by 17 tests
Evaluated 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
FALSEevaluated 733 times by 84 tests
Evaluated 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
  • ...
)
161-733
204 ignoreResultList = list->next;
executed 161 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
161
205 else-
206 ignoreResultList = 0;
executed 733 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
  • ...
733
207-
208 delete list;-
209 return
executed 968 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 968 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
  • ...
968
210 }-
211-
212 last = list;-
213 list = list->next;-
214 }
executed 192 times by 4 tests: end of block
Executed by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
192
215 return
executed 34 times by 2 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_selftests - unknown status
false;
executed 34 times by 2 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_selftests - unknown status
34
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() == 0
QTest::TestLog...erCount() == 0Description
TRUEnever evaluated
FALSEevaluated 214722 times by 156 tests
Evaluated 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-214722
223-
224 qInstallMessageHandler(oldMessageHandler);-
225 do { if (!(QTest::TestLoggers::loggerCount() != 0)
!(QTest::TestL...rCount() != 0)Description
TRUEnever evaluated
FALSEnever evaluated
) qt_assert("QTest::TestLoggers::loggerCount() != 0",__FILE__,282);
never executed: qt_assert("QTest::TestLoggers::loggerCount() != 0",__FILE__,282);
} while (0);
0
226 }
never executed: end of block
0
227-
228 if (handleIgnoredMessage(type, message)
handleIgnoredM...type, message)Description
TRUEevaluated 968 times by 84 tests
Evaluated 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
  • ...
FALSEevaluated 213754 times by 101 tests
Evaluated 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
  • ...
)
968-213754
229-
230 return;
executed 968 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
  • ...
968
231-
232 QString msg = qFormatLogMessage(type, context, message);-
233-
234 if (type != QtFatalMsg
type != QtFatalMsgDescription
TRUEevaluated 213707 times by 101 tests
Evaluated 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
  • ...
FALSEevaluated 47 times by 2 tests
Evaluated by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
) {
47-213707
235 if (counter.load() <= 0
counter.load() <= 0Description
TRUEevaluated 167958 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 45749 times by 101 tests
Evaluated 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
  • ...
)
45749-167958
236 return;
executed 167958 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
167958
237-
238 if (!counter.deref()
!counter.deref()Description
TRUEevaluated 21 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 45728 times by 101 tests
Evaluated 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
  • ...
) {
21-45728
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); return
executed 21 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
qstring_literal_temp;
executed 21 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
}()));
21
241 return;
executed 21 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
21
242 }-
243 }
executed 45728 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
  • ...
45728
244-
245 switch (type) {-
246 case
executed 3000 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 3000 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
  • ...
3000
247 QTest::TestLoggers::addMessage(QAbstractTestLogger::QDebug, msg);-
248 break;
executed 3000 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
  • ...
3000
249 case
executed 46 times by 1 test: case QtInfoMsg:
Executed by:
  • tst_selftests - unknown status
QtInfoMsg:
executed 46 times by 1 test: case QtInfoMsg:
Executed by:
  • tst_selftests - unknown status
46
250 QTest::TestLoggers::addMessage(QAbstractTestLogger::QInfo, msg);-
251 break;
executed 46 times by 1 test: break;
Executed by:
  • tst_selftests - unknown status
46
252 case
executed 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 case
executed 42678 times by 68 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 42678 times by 68 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
  • ...
42678
256 QTest::TestLoggers::addMessage(QAbstractTestLogger::QWarning, msg);-
257 break;
executed 42678 times by 68 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
  • ...
42678
258 case
executed 47 times by 2 tests: case QtFatalMsg:
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
QtFatalMsg:
executed 47 times by 2 tests: case QtFatalMsg:
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
47
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 47 times by 2 tests: break;
Executed by:
  • tst_qnetworkreply - unknown status
  • tst_selftests - unknown status
47
269 }-
270 }
executed 45775 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
  • ...
45775
271}-
272-
273void QTestLog::enterTestFunction(const char* function)-
274{-
275 elapsedFunctionTime.restart();-
276 if (printAvailableTags
printAvailableTagsDescription
TRUEnever evaluated
FALSEevaluated 15474 times by 540 tests
Evaluated 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-15474
277 return;
never executed: return;
0
278-
279 do { if (!(function)
!(function)Description
TRUEnever evaluated
FALSEevaluated 15474 times by 540 tests
Evaluated 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__,336);
never executed: qt_assert("function",__FILE__,336);
} while (0);
0-15474
280-
281 QTest::TestLoggers::enterTestFunction(function);-
282}
executed 15474 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15474
283-
284int QTestLog::unhandledIgnoreMessages()-
285{-
286 int i = 0;-
287 QTest::IgnoreResultList *list = QTest::ignoreResultList;-
288 while (list
listDescription
TRUEevaluated 147 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 130662 times by 540 tests
Evaluated 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
  • ...
) {
147-130662
289 ++i;-
290 list = list->next;-
291 }
executed 147 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
147
292 return
executed 130662 times by 540 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 130662 times by 540 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
  • ...
130662
293}-
294-
295void QTestLog::leaveTestFunction()-
296{-
297 if (printAvailableTags
printAvailableTagsDescription
TRUEnever evaluated
FALSEevaluated 15472 times by 540 tests
Evaluated 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-15472
298 return;
never executed: return;
0
299-
300 QTest::TestLoggers::leaveTestFunction();-
301}
executed 15472 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15472
302-
303void QTestLog::printUnhandledIgnoreMessages()-
304{-
305 QString message;-
306 QTest::IgnoreResultList *list = QTest::ignoreResultList;-
307 while (list
listDescription
TRUEevaluated 147 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 84 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) {
84-147
308 if (list->pattern.type() == QVariant::String
list->pattern....ariant::StringDescription
TRUEevaluated 126 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 21 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) {
21-126
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); return
executed 126 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
qstring_literal_temp;
executed 126 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
}()) + list->pattern.toString() + QLatin1Char('"');
126
310 }
executed 126 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
else {
126
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); return
executed 21 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
qstring_literal_temp;
executed 21 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
}()) + list->pattern.toRegularExpression().pattern() + QLatin1Char('"');
21
313-
314 }
executed 21 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
21
315 QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, message);-
316-
317 list = list->next;-
318 }
executed 147 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
147
319}
executed 84 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
84
320-
321void QTestLog::clearIgnoreMessages()-
322{-
323 QTest::IgnoreResultList::clearList(QTest::ignoreResultList);-
324}
executed 132625 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
132625
325-
326void QTestLog::addPass(const char *msg)-
327{-
328 if (printAvailableTags
printAvailableTagsDescription
TRUEnever evaluated
FALSEevaluated 128848 times by 540 tests
Evaluated 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-128848
329 return;
never executed: return;
0
330-
331 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 128848 times by 540 tests
Evaluated 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__,388);
never executed: qt_assert("msg",__FILE__,388);
} while (0);
0-128848
332-
333 ++QTest::passes;-
334-
335 QTest::TestLoggers::addIncident(QAbstractTestLogger::Pass, msg);-
336}
executed 128848 times by 540 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
128848
337-
338void QTestLog::addFail(const char *msg, const char *file, int line)-
339{-
340 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 2157 times by 21 tests
Evaluated by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QTouchEvent
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,397);
never executed: qt_assert("msg",__FILE__,397);
} while (0);
0-2157
341-
342 ++QTest::fails;-
343-
344 QTest::TestLoggers::addIncident(QAbstractTestLogger::Fail, msg, file, line);-
345}
executed 2157 times by 21 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QTouchEvent
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
2157
346-
347void QTestLog::addXFail(const char *msg, const char *file, int line)-
348{-
349 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 452 times by 38 tests
Evaluated 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__,406);
never executed: qt_assert("msg",__FILE__,406);
} while (0);
0-452
350 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 452 times by 38 tests
Evaluated 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__,407);
never executed: qt_assert("file",__FILE__,407);
} while (0);
0-452
351-
352 QTest::TestLoggers::addIncident(QAbstractTestLogger::XFail, msg, file, line);-
353}
executed 452 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
  • ...
452
354-
355void QTestLog::addXPass(const char *msg, const char *file, int line)-
356{-
357 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 88 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,414);
never executed: qt_assert("msg",__FILE__,414);
} while (0);
0-88
358 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 88 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) qt_assert("file",__FILE__,415);
never executed: qt_assert("file",__FILE__,415);
} while (0);
0-88
359-
360 ++QTest::fails;-
361-
362 QTest::TestLoggers::addIncident(QAbstractTestLogger::XPass, msg, file, line);-
363}
executed 88 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
88
364-
365void QTestLog::addBPass(const char *msg)-
366{-
367 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 528 times by 18 tests
Evaluated by:
  • tst_QDBusAbstractAdaptor
  • tst_QGestureRecognizer
  • tst_QGraphicsView
  • tst_QMdiArea
  • tst_QNetworkInterface
  • tst_QNetworkReply
  • tst_QPauseAnimation
  • tst_QSemaphore
  • tst_QSizeGrip
  • tst_QSocks5SocketEngine
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTcpServer
  • tst_QTextDocumentLayout
  • tst_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,424);
never executed: qt_assert("msg",__FILE__,424);
} while (0);
0-528
368-
369 ++QTest::blacklists;-
370-
371 QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedPass, msg);-
372}
executed 528 times by 18 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_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
528
373-
374void QTestLog::addBFail(const char *msg, const char *file, int line)-
375{-
376 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 17 times by 8 tests
Evaluated by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTouchEvent
  • tst_QWidget
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,433);
never executed: qt_assert("msg",__FILE__,433);
} while (0);
0-17
377 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 17 times by 8 tests
Evaluated by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTouchEvent
  • tst_QWidget
  • tst_selftests - unknown status
) qt_assert("file",__FILE__,434);
never executed: qt_assert("file",__FILE__,434);
} while (0);
0-17
378-
379 ++QTest::blacklists;-
380-
381 QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedFail, msg, file, line);-
382}
executed 17 times by 8 tests: end of block
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTouchEvent
  • tst_QWidget
  • tst_selftests - unknown status
17
383-
384void QTestLog::addSkip(const char *msg, const char *file, int line)-
385{-
386 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 1348 times by 56 tests
Evaluated by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • ...
) qt_assert("msg",__FILE__,443);
never executed: qt_assert("msg",__FILE__,443);
} while (0);
0-1348
387 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 1348 times by 56 tests
Evaluated by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • ...
) qt_assert("file",__FILE__,444);
never executed: qt_assert("file",__FILE__,444);
} while (0);
0-1348
388-
389 ++QTest::skips;-
390-
391 QTest::TestLoggers::addMessage(QAbstractTestLogger::Skip, QString::fromUtf8(msg), file, line);-
392}
executed 1348 times by 56 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • ...
1348
393-
394void QTestLog::addBenchmarkResult(const QBenchmarkResult &result)-
395{-
396 QTest::TestLoggers::addBenchmarkResult(result);-
397}
executed 266 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
266
398-
399void QTestLog::startLogging()-
400{-
401 elapsedTotalTime.start();-
402 elapsedFunctionTime.start();-
403 QTest::TestLoggers::startLogging();-
404 QTest::oldMessageHandler = qInstallMessageHandler(QTest::messageHandler);-
405}
executed 1237 times by 539 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
  • ...
1237
406-
407void 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 1235 times by 542 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
  • ...
1235
415-
416void QTestLog::addLogger(LogMode mode, const char *filename)-
417{-
418 if (filename
filenameDescription
TRUEevaluated 783 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 697 times by 539 tests
Evaluated 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, "-") == 0
strcmp(filename, "-") == 0Description
TRUEevaluated 262 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 521 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
)
262-783
419 filename = 0;
executed 262 times by 1 test: filename = 0;
Executed by:
  • tst_selftests - unknown status
262
420 if (!filename
!filenameDescription
TRUEevaluated 959 times by 539 tests
Evaluated 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
  • ...
FALSEevaluated 521 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
)
521-959
421 QTest::loggerUsingStdout = true;
executed 959 times by 539 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
  • ...
959
422-
423 QAbstractTestLogger *logger = 0;-
424 switch (mode) {-
425 case
executed 888 times by 539 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 888 times by 539 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
  • ...
888
426 logger = new QPlainTestLogger(filename);-
427 break;
executed 888 times by 539 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
  • ...
888
428 case
executed 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 case
executed 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 case
executed 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 case
executed 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-
441-
442-
443-
444-
445 }-
446 do { if (!(logger)
!(logger)Description
TRUEnever evaluated
FALSEevaluated 1480 times by 539 tests
Evaluated 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__,503);
never executed: qt_assert("logger",__FILE__,503);
} while (0);
0-1480
447 QTest::TestLoggers::addLogger(logger);-
448}
executed 1480 times by 539 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
  • ...
1480
449-
450int QTestLog::loggerCount()-
451{-
452 return
executed 1237 times by 539 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 1237 times by 539 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
  • ...
1237
453}-
454-
455bool QTestLog::loggerUsingStdout()-
456{-
457 return
executed 262 times by 1 test: return QTest::loggerUsingStdout;
Executed by:
  • tst_selftests - unknown status
QTest::loggerUsingStdout;
executed 262 times by 1 test: return QTest::loggerUsingStdout;
Executed by:
  • tst_selftests - unknown status
262
458}-
459-
460void QTestLog::warn(const char *msg, const char *file, int line)-
461{-
462 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 850 times by 13 tests
Evaluated 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__,519);
never executed: qt_assert("msg",__FILE__,519);
} while (0);
0-850
463-
464 if (QTest::TestLoggers::loggerCount() > 0
QTest::TestLog...gerCount() > 0Description
TRUEevaluated 132 times by 13 tests
Evaluated 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
FALSEevaluated 718 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
)
132-718
465 QTest::TestLoggers::addMessage(QAbstractTestLogger::Warn, QString::fromUtf8(msg), file, line);
executed 132 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
132
466}
executed 850 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
850
467-
468void QTestLog::info(const char *msg, const char *file, int line)-
469{-
470 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 508 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,527);
never executed: qt_assert("msg",__FILE__,527);
} while (0);
0-508
471-
472 QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, QString::fromUtf8(msg), file, line);-
473}
executed 508 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
508
474-
475void QTestLog::setVerboseLevel(int level)-
476{-
477 QTest::verbosity = level;-
478}
executed 65 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
65
479-
480int QTestLog::verboseLevel()-
481{-
482 return
executed 51455763 times by 546 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 51455763 times by 546 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
  • ...
51455763
483}-
484-
485void QTestLog::ignoreMessage(QtMsgType type, const char *msg)-
486{-
487 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 1015 times by 82 tests
Evaluated 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__,544);
never executed: qt_assert("msg",__FILE__,544);
} while (0);
0-1015
488-
489 QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QString::fromLocal8Bit(msg));-
490}
executed 1015 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
  • ...
1015
491-
492-
493void QTestLog::ignoreMessage(QtMsgType type, const QRegularExpression &expression)-
494{-
495 do { if (!(expression.isValid())
!(expression.isValid())Description
TRUEnever evaluated
FALSEevaluated 100 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QVariant
  • tst_QWidgetsVariant
  • tst_selftests - unknown status
) qt_assert("expression.isValid()",__FILE__,552);
never executed: qt_assert("expression.isValid()",__FILE__,552);
} while (0);
0-100
496-
497 QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QVariant(expression));-
498}
executed 100 times by 4 tests: end of block
Executed by:
  • tst_QGuiVariant
  • tst_QVariant
  • tst_QWidgetsVariant
  • tst_selftests - unknown status
100
499-
500-
501void QTestLog::setMaxWarnings(int m)-
502{-
503 QTest::maxWarnings = m <= 0
m <= 0Description
TRUEnever evaluated
FALSEnever evaluated
? 2147483647 : m + 2;
0
504}
never executed: end of block
0
505-
506bool QTestLog::printAvailableTags = false;-
507-
508void QTestLog::setPrintAvailableTagsMode()-
509{-
510 printAvailableTags = true;-
511}
executed 4 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
4
512-
513int QTestLog::passCount()-
514{-
515 return
executed 884 times by 539 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 884 times by 539 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
  • ...
884
516}-
517-
518int QTestLog::failCount()-
519{-
520 return
executed 3286 times by 1079 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 3286 times by 1079 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
  • ...
3286
521}-
522-
523int QTestLog::skipCount()-
524{-
525 return
executed 884 times by 539 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 884 times by 539 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
  • ...
884
526}-
527-
528int QTestLog::blacklistCount()-
529{-
530 return
executed 884 times by 539 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 884 times by 539 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
  • ...
884
531}-
532-
533void QTestLog::resetCounters()-
534{-
535 QTest::passes = 0;-
536 QTest::fails = 0;-
537 QTest::skips = 0;-
538}
executed 699 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
699
539-
540void QTestLog::setInstalledTestCoverage(bool installed)-
541{-
542 QTest::installedTestCoverage = installed;-
543}
executed 1237 times by 539 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
  • ...
1237
544-
545bool QTestLog::installedTestCoverage()-
546{-
547 return
executed 1235 times by 539 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 1235 times by 539 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
  • ...
1235
548}-
549-
550qint64 QTestLog::nsecsTotalTime()-
551{-
552 return
executed 369 times by 1 test: return elapsedTotalTime.nsecsElapsed();
Executed by:
  • tst_selftests - unknown status
elapsedTotalTime.nsecsElapsed();
executed 369 times by 1 test: return elapsedTotalTime.nsecsElapsed();
Executed by:
  • tst_selftests - unknown status
369
553}-
554-
555qint64 QTestLog::nsecsFunctionTime()-
556{-
557 return
executed 2238 times by 1 test: return elapsedFunctionTime.nsecsElapsed();
Executed by:
  • tst_selftests - unknown status
elapsedFunctionTime.nsecsElapsed();
executed 2238 times by 1 test: return elapsedFunctionTime.nsecsElapsed();
Executed by:
  • tst_selftests - unknown status
2238
558}-
559-
560-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9