OpenCoverage

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 809 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 509 times by 505 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
  • ...
)
509-809
16 return;
executed 809 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
809
17-
18-
19 __coveragescanner_install(appname);-
20 __coveragescanner_teststate(testfailed ? "FAILED" : "PASSED");-
21 __coveragescanner_save();-
22 __coveragescanner_testname("");-
23 __coveragescanner_clear();-
24 unsetenv("QT_TESTCOCOON_ACTIVE");-
25-
26-
27-
28-
29-
30}
executed 509 times by 509 tests: end of block
Executed by:
  • tst_collections - unknown status
  • tst_compiler - unknown status
  • tst_gestures - unknown status
  • tst_lancelot - unknown status
  • tst_languagechange - unknown status
  • tst_largefile - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_platformsocketengine - unknown status
  • tst_q_func_info - unknown status
  • tst_qabstractanimation - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractfileengine - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractprintdialog - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractsocket - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • ...
509
31-
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 1189 times by 84 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1189
46-
47 static inline void clearList(IgnoreResultList *&list)-
48 {-
49 while (list
listDescription
TRUEevaluated 175 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 128856 times by 507 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
  • ...
) {
175-128856
50 IgnoreResultList *current = list;-
51 list = list->next;-
52 delete current;-
53 }
executed 175 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
175
54 }
executed 128856 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
128856
55-
56 static void append(IgnoreResultList *&list, QtMsgType type, const QVariant &patternIn)-
57 {-
58 QTest::IgnoreResultList *item = new QTest::IgnoreResultList(type, patternIn);-
59-
60 if (!list
!listDescription
TRUEevaluated 859 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 330 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
) {
330-859
61 list = item;-
62 return;
executed 859 times by 84 tests: return;
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
859
63 }-
64 IgnoreResultList *last = list;-
65 for ( ; last->next
last->nextDescription
TRUEevaluated 282 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 330 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 282 times by 10 tests: ;
Executed by:
  • tst_Gestures
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QGraphicsAnchorLayout1
  • tst_QImageReader
  • tst_QLoggingRegistry
  • tst_QMimeDatabase
  • tst_QObject
  • tst_QSettings
  • tst_selftests - unknown status
282-330
66 last->next = item;-
67 }
executed 330 times by 17 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QDBusMarshall
  • tst_QDebug
  • tst_QGraphicsAnchorLayout1
  • tst_QImageReader
  • tst_QLoggingRegistry
  • tst_QMessageBox
  • tst_QMetaObject
  • tst_QMimeDatabase
  • tst_QNoDebug
  • tst_QObject
  • tst_QSettings
  • tst_QSqlDatabase
  • tst_QSslSocket
  • tst_selftests - unknown status
330
68-
69 static bool stringsMatch(const QString &expected, const QString &actual)-
70 {-
71 if (expected == actual
expected == actualDescription
TRUEevaluated 897 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 246 times by 5 tests
Evaluated by:
  • tst_QImageReader
  • tst_QMetaObject
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
)
246-897
72 return
executed 897 times by 82 tests: return true;
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
true;
executed 897 times by 82 tests: return true;
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
897
73-
74-
75-
76-
77 if (expected.endsWith(QLatin1Char(' '))
expected.endsW...tin1Char(' '))Description
TRUEevaluated 26 times by 2 tests
Evaluated by:
  • tst_QMetaObject
  • tst_selftests - unknown status
FALSEevaluated 220 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
)
26-220
78 return
executed 26 times by 2 tests: return actual == expected.leftRef(expected.length() - 1);
Executed by:
  • tst_QMetaObject
  • tst_selftests - unknown status
actual == expected.leftRef(expected.length() - 1);
executed 26 times by 2 tests: return actual == expected.leftRef(expected.length() - 1);
Executed by:
  • tst_QMetaObject
  • tst_selftests - unknown status
26
79-
80 return
executed 220 times by 4 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
false;
executed 220 times by 4 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
220
81 }-
82-
83 inline bool matches(QtMsgType tp, const QString &message) const-
84 {-
85 return
executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch());
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
tp == type
executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch());
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1234
86 && (pattern.type() == QVariant::String ?
executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch());
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1234
87 stringsMatch(pattern.toString(), message) :
executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch());
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1234
881234
89 pattern.toRegularExpression().match(message).hasMatch());
executed 1234 times by 84 tests: return tp == type && (pattern.type() == QVariant::String ? stringsMatch(pattern.toString(), message) : pattern.toRegularExpression().match(message).hasMatch());
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1234
90-
91-
92-
93 }-
94-
95 QtMsgType type;-
96 QVariant pattern;-
97 IgnoreResultList *next;-
98 };-
99-
100 static IgnoreResultList *ignoreResultList = 0;-
101-
102 struct LoggerList-
103 {-
104 QAbstractTestLogger *logger;-
105 LoggerList *next;-
106 };-
107-
108 class TestLoggers-
109 {-
110 public:-
111 static void addLogger(QAbstractTestLogger *logger)-
112 {-
113 LoggerList *l = new LoggerList;-
114 l->logger = logger;-
115 l->next = loggers;-
116 loggers = l;-
117 }
executed 1593 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1593
118-
119 static void destroyLoggers()-
120 {-
121 while (loggers
loggersDescription
TRUEevaluated 1589 times by 506 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 1318 times by 506 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
  • ...
) {
1318-1589
122 LoggerList *l = loggers;-
123 loggers = loggers->next;-
124 delete l->logger;-
125 delete l;-
126 }
executed 1589 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1589
127 }
executed 1318 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1318
128 static void startLogging()-
129 {-
130 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 1591 times by 506 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 1320 times by 506 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 1591 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
1320-1591
131 }
executed 1320 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1320
132-
133 static void stopLogging()-
134 {-
135 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 1589 times by 506 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 1318 times by 506 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 1589 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
1318-1589
136 }
executed 1318 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1318
137-
138 static void enterTestFunction(const char *function)-
139 {-
140 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 17435 times by 507 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 15764 times by 507 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 17435 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
15764-17435
141 }
executed 15764 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15764
142-
143 static void leaveTestFunction()-
144 {-
145 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 17433 times by 507 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 15762 times by 507 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 17433 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
15762-17433
146 }
executed 15762 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15762
147-
148 static void addIncident(QAbstractTestLogger::IncidentTypes type, const char *description,-
149 const char *file = 0, int line = 0)-
150 {-
151 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 131080 times by 507 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 128382 times by 507 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 131080 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
;
128382-131080
152 }
executed 128382 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
128382
153-
154 static void addBenchmarkResult(const QBenchmarkResult &result)-
155 {-
156 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 358 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
FALSEevaluated 282 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 358 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
;
282-358
157 }
executed 282 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
282
158-
159 static void addMessage(QAbstractTestLogger::MessageTypes type, const QString &message,-
160 const char *file = 0, int line = 0)-
161 {-
162 LoggerList *l = loggers; while (l
lDescription
TRUEevaluated 75944 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 56500 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 75944 times by 135 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • ...
;
56500-75944
163 }
executed 56500 times by 135 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • ...
56500
164-
165 static void outputString(const char *msg)-
166 {-
167 LoggerList *l = loggers; while (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 346939 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 257440 times by 506 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 346939 times by 160 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • ...
;
257440-346939
174 return
executed 257440 times by 506 tests: return count;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
count;
executed 257440 times by 506 tests: return count;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
257440
175 }-
176-
177 private:-
178 static LoggerList *loggers;-
179 };-
180-
181-
182-
183 LoggerList *TestLoggers::loggers = 0;-
184 static bool loggerUsingStdout = false;-
185-
186 static int verbosity = 0;-
187 static int maxWarnings = 2002;-
188 static bool installedTestCoverage = true;-
189-
190 static QtMessageHandler oldMessageHandler;-
191-
192 static bool handleIgnoredMessage(QtMsgType type, const QString &message)-
193 {-
194 if (!ignoreResultList
!ignoreResultListDescription
TRUEevaluated 254119 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 1052 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
  • ...
)
1052-254119
195 return
executed 254119 times by 101 tests: return false;
Executed by:
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDrag
  • tst_QElapsedTimer
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • ...
false;
executed 254119 times by 101 tests: return false;
Executed by:
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDrag
  • tst_QElapsedTimer
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • ...
254119
196 IgnoreResultList *last = 0;-
197 IgnoreResultList *list = ignoreResultList;-
198 while (list
listDescription
TRUEevaluated 1234 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 38 times by 2 tests
Evaluated by:
  • tst_QImageReader
  • tst_selftests - unknown status
) {
38-1234
199 if (list->matches(type, message)
list->matches(type, message)Description
TRUEevaluated 1014 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 220 times by 4 tests
Evaluated by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
) {
220-1014
200-
201 if (last
lastDescription
TRUEevaluated 86 times by 3 tests
Evaluated by:
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
FALSEevaluated 928 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
  • ...
)
86-928
202 last->next = list->next;
executed 86 times by 3 tests: last->next = list->next;
Executed by:
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
86
203 else if (list->next
list->nextDescription
TRUEevaluated 169 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 759 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
  • ...
)
169-759
204 ignoreResultList = list->next;
executed 169 times by 17 tests: ignoreResultList = list->next;
Executed by:
  • tst_Gestures
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QDBusMarshall
  • tst_QDebug
  • tst_QGraphicsAnchorLayout1
  • tst_QImageReader
  • tst_QLoggingRegistry
  • tst_QMessageBox
  • tst_QMetaObject
  • tst_QMimeDatabase
  • tst_QNoDebug
  • tst_QObject
  • tst_QSettings
  • tst_QSqlDatabase
  • tst_QSslSocket
  • tst_selftests - unknown status
169
205 else-
206 ignoreResultList = 0;
executed 759 times by 84 tests: ignoreResultList = 0;
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
759
207-
208 delete list;-
209 return
executed 1014 times by 84 tests: return true;
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
true;
executed 1014 times by 84 tests: return true;
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1014
210 }-
211-
212 last = list;-
213 list = list->next;-
214 }
executed 220 times by 4 tests: end of block
Executed by:
  • tst_QImageReader
  • tst_QObject
  • tst_QSslSocket
  • tst_selftests - unknown status
220
215 return
executed 38 times by 2 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_selftests - unknown status
false;
executed 38 times by 2 tests: return false;
Executed by:
  • tst_QImageReader
  • tst_selftests - unknown status
38
216 }-
217-
218 static void messageHandler(QtMsgType type, const QMessageLogContext & context, const QString &message)-
219 {-
220 static QBasicAtomicInt counter = { QTest::maxWarnings };-
221-
222 if (QTest::TestLoggers::loggerCount() == 0
QTest::TestLog...erCount() == 0Description
TRUEnever evaluated
FALSEevaluated 255171 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-255171
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__,289);
never executed: qt_assert("QTest::TestLoggers::loggerCount() != 0",__FILE__,289);
} while (0);
0
226 }
never executed: end of block
0
227-
228 if (handleIgnoredMessage(type, message)
handleIgnoredM...type, message)Description
TRUEevaluated 1014 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 254157 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
  • ...
)
1014-254157
229-
230 return;
executed 1014 times by 84 tests: return;
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1014
231-
232 QString msg = qFormatLogMessage(type, context, message);-
233-
234 if (type != QtFatalMsg
type != QtFatalMsgDescription
TRUEevaluated 254102 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 55 times by 2 tests
Evaluated by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
) {
55-254102
235 if (counter.load() <= 0
counter.load() <= 0Description
TRUEevaluated 199950 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 54152 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
  • ...
)
54152-199950
236 return;
executed 199950 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
199950
237-
238 if (!counter.deref()
!counter.deref()Description
TRUEevaluated 25 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 54127 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
  • ...
) {
25-54127
239 QTest::TestLoggers::addMessage(QAbstractTestLogger::QSystem,-
240 ([]() -> QString { enum { Size = sizeof(u"" "Maximum amount of warnings exceeded. Use -maxwarnings to override.")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Maximum amount of warnings exceeded. Use -maxwarnings to override." }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 25 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
qstring_literal_temp;
executed 25 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
}()));
25
241 return;
executed 25 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
25
242 }-
243 }
executed 54127 times by 101 tests: end of block
Executed by:
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDrag
  • tst_QElapsedTimer
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • ...
54127
244-
245 switch (type) {-
246 case
executed 3368 times by 55 tests: case QtDebugMsg:
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QApplication
  • tst_QBrush
  • tst_QColumnView
  • tst_QDBusInterface
  • tst_QDateTime
  • tst_QElapsedTimer
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFtp
  • tst_QGraphicsScene
  • tst_QGuiEventLoop
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QMdiSubWindow
  • tst_QMimeDatabase
  • tst_QMutex
  • tst_QNetworkConfigurationManager
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • ...
QtDebugMsg:
executed 3368 times by 55 tests: case QtDebugMsg:
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QApplication
  • tst_QBrush
  • tst_QColumnView
  • tst_QDBusInterface
  • tst_QDateTime
  • tst_QElapsedTimer
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFtp
  • tst_QGraphicsScene
  • tst_QGuiEventLoop
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QMdiSubWindow
  • tst_QMimeDatabase
  • tst_QMutex
  • tst_QNetworkConfigurationManager
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • ...
3368
247 QTest::TestLoggers::addMessage(QAbstractTestLogger::QDebug, msg);-
248 break;
executed 3368 times by 55 tests: break;
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QApplication
  • tst_QBrush
  • tst_QColumnView
  • tst_QDBusInterface
  • tst_QDateTime
  • tst_QElapsedTimer
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFtp
  • tst_QGraphicsScene
  • tst_QGuiEventLoop
  • tst_QHostInfo
  • tst_QHttpNetworkConnection
  • tst_QHttpSocketEngine
  • tst_QMdiSubWindow
  • tst_QMimeDatabase
  • tst_QMutex
  • tst_QNetworkConfigurationManager
  • tst_QNetworkInterface
  • tst_QNetworkProxyFactory
  • tst_QNetworkReply
  • ...
3368
249 case
executed 54 times by 1 test: case QtInfoMsg:
Executed by:
  • tst_selftests - unknown status
QtInfoMsg:
executed 54 times by 1 test: case QtInfoMsg:
Executed by:
  • tst_selftests - unknown status
54
250 QTest::TestLoggers::addMessage(QAbstractTestLogger::QInfo, msg);-
251 break;
executed 54 times by 1 test: break;
Executed by:
  • tst_selftests - unknown status
54
252 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 50701 times by 69 tests: case QtWarningMsg:
Executed by:
  • tst_Gestures
  • tst_LargeFile
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDrag
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QGLBuffer
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsProxyWidget
  • ...
QtWarningMsg:
executed 50701 times by 69 tests: case QtWarningMsg:
Executed by:
  • tst_Gestures
  • tst_LargeFile
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDrag
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QGLBuffer
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsProxyWidget
  • ...
50701
256 QTest::TestLoggers::addMessage(QAbstractTestLogger::QWarning, msg);-
257 break;
executed 50701 times by 69 tests: break;
Executed by:
  • tst_Gestures
  • tst_LargeFile
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDrag
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QGLBuffer
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsItemAnimation
  • tst_QGraphicsProxyWidget
  • ...
50701
258 case
executed 55 times by 2 tests: case QtFatalMsg:
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
QtFatalMsg:
executed 55 times by 2 tests: case QtFatalMsg:
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
55
259 QTest::TestLoggers::addMessage(QAbstractTestLogger::QFatal, msg);-
260-
261-
262-
263-
264-
265 QTestResult::addFailure("Received a fatal error.", "Unknown file", 0);-
266 QTestLog::leaveTestFunction();-
267 QTestLog::stopLogging();-
268 break;
executed 55 times by 2 tests: break;
Executed by:
  • tst_qnetworkreply - unknown status
  • tst_selftests - unknown status
55
269 }-
270 }
executed 54182 times by 102 tests: end of block
Executed by:
  • tst_Gestures
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QDBusInterface
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDirModel
  • tst_QDrag
  • tst_QElapsedTimer
  • tst_QEventLoop
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • ...
54182
271}-
272-
273void QTestLog::enterTestFunction(const char* function)-
274{-
275 elapsedFunctionTime.restart();-
276 if (printAvailableTags
printAvailableTagsDescription
TRUEnever evaluated
FALSEevaluated 15764 times by 507 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-15764
277 return;
never executed: return;
0
278-
279 do { if (!(function)
!(function)Description
TRUEnever evaluated
FALSEevaluated 15764 times by 507 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__,343);
never executed: qt_assert("function",__FILE__,343);
} while (0);
0-15764
280-
281 QTest::TestLoggers::enterTestFunction(function);-
282}
executed 15764 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15764
283-
284int QTestLog::unhandledIgnoreMessages()-
285{-
286 int i = 0;-
287 QTest::IgnoreResultList *list = QTest::ignoreResultList;-
288 while (list
listDescription
TRUEevaluated 175 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 126438 times by 507 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
  • ...
) {
175-126438
289 ++i;-
290 list = list->next;-
291 }
executed 175 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
175
292 return
executed 126438 times by 507 tests: return i;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
i;
executed 126438 times by 507 tests: return i;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
126438
293}-
294-
295void QTestLog::leaveTestFunction()-
296{-
297 if (printAvailableTags
printAvailableTagsDescription
TRUEnever evaluated
FALSEevaluated 15762 times by 507 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-15762
298 return;
never executed: return;
0
299-
300 QTest::TestLoggers::leaveTestFunction();-
301}
executed 15762 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
15762
302-
303void QTestLog::printUnhandledIgnoreMessages()-
304{-
305 QString message;-
306 QTest::IgnoreResultList *list = QTest::ignoreResultList;-
307 while (list
listDescription
TRUEevaluated 175 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 100 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) {
100-175
308 if (list->pattern.type() == QVariant::String
list->pattern....ariant::StringDescription
TRUEevaluated 150 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 25 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) {
25-150
309 message = ([]() -> QString { enum { Size = sizeof(u"" "Did not receive message: \"")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Did not receive message: \"" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 150 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
qstring_literal_temp;
executed 150 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
}()) + list->pattern.toString() + QLatin1Char('"');
150
310 }
executed 150 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
else {
150
311-
312 message = ([]() -> QString { enum { Size = sizeof(u"" "Did not receive any message matching: \"")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Did not receive any message matching: \"" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 25 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
qstring_literal_temp;
executed 25 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_selftests - unknown status
}()) + list->pattern.toRegularExpression().pattern() + QLatin1Char('"');
25
313-
314 }
executed 25 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
25
315 QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, message);-
316-
317 list = list->next;-
318 }
executed 175 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
175
319}
executed 100 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
100
320-
321void QTestLog::clearIgnoreMessages()-
322{-
323 QTest::IgnoreResultList::clearList(QTest::ignoreResultList);-
324}
executed 128856 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
128856
325-
326void QTestLog::addPass(const char *msg)-
327{-
328 if (printAvailableTags
printAvailableTagsDescription
TRUEnever evaluated
FALSEevaluated 124566 times by 507 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-124566
329 return;
never executed: return;
0
330-
331 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 124566 times by 507 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__,395);
never executed: qt_assert("msg",__FILE__,395);
} while (0);
0-124566
332-
333 ++QTest::passes;-
334-
335 QTest::TestLoggers::addIncident(QAbstractTestLogger::Pass, msg);-
336}
executed 124566 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
124566
337-
338void QTestLog::addFail(const char *msg, const char *file, int line)-
339{-
340 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 2655 times by 23 tests
Evaluated by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGlyphRun
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QProcess
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,404);
never executed: qt_assert("msg",__FILE__,404);
} while (0);
0-2655
341-
342 ++QTest::fails;-
343-
344 QTest::TestLoggers::addIncident(QAbstractTestLogger::Fail, msg, file, line);-
345}
executed 2655 times by 23 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGlyphRun
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QProcess
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
2655
346-
347void QTestLog::addXFail(const char *msg, const char *file, int line)-
348{-
349 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 512 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__,413);
never executed: qt_assert("msg",__FILE__,413);
} while (0);
0-512
350 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 512 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__,414);
never executed: qt_assert("file",__FILE__,414);
} while (0);
0-512
351-
352 QTest::TestLoggers::addIncident(QAbstractTestLogger::XFail, msg, file, line);-
353}
executed 512 times by 38 tests: end of block
Executed by:
  • tst_LargeFile
  • tst_QAbstractPrintDialog
  • tst_QAuthenticator
  • tst_QColumnView
  • tst_QDBusAbstractInterface
  • tst_QDateTime
  • tst_QEventLoop
  • tst_QFile
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsLayoutItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiEventLoop
  • tst_QHttpNetworkConnection
  • tst_QLatin1String
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QSequentialAnimationGroup
  • tst_QShortcut
  • tst_QSqlDatabase
  • tst_QSqlTableModel
  • ...
512
354-
355void QTestLog::addXPass(const char *msg, const char *file, int line)-
356{-
357 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 104 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,421);
never executed: qt_assert("msg",__FILE__,421);
} while (0);
0-104
358 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 104 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) qt_assert("file",__FILE__,422);
never executed: qt_assert("file",__FILE__,422);
} while (0);
0-104
359-
360 ++QTest::fails;-
361-
362 QTest::TestLoggers::addIncident(QAbstractTestLogger::XPass, msg, file, line);-
363}
executed 104 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
104
364-
365void QTestLog::addBPass(const char *msg)-
366{-
367 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 531 times by 19 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_QTouchEvent
  • tst_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,431);
never executed: qt_assert("msg",__FILE__,431);
} while (0);
0-531
368-
369 ++QTest::blacklists;-
370-
371 QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedPass, msg);-
372}
executed 531 times by 19 tests: end of block
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QGestureRecognizer
  • tst_QGraphicsView
  • tst_QMdiArea
  • tst_QNetworkInterface
  • tst_QNetworkReply
  • tst_QPauseAnimation
  • tst_QSemaphore
  • tst_QSizeGrip
  • tst_QSocks5SocketEngine
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTcpServer
  • tst_QTextDocumentLayout
  • tst_QTouchEvent
  • tst_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
531
373-
374void QTestLog::addBFail(const char *msg, const char *file, int line)-
375{-
376 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 14 times by 7 tests
Evaluated by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QWidget
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,440);
never executed: qt_assert("msg",__FILE__,440);
} while (0);
0-14
377 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 14 times by 7 tests
Evaluated by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QWidget
  • tst_selftests - unknown status
) qt_assert("file",__FILE__,441);
never executed: qt_assert("file",__FILE__,441);
} while (0);
0-14
378-
379 ++QTest::blacklists;-
380-
381 QTest::TestLoggers::addIncident(QAbstractTestLogger::BlacklistedFail, msg, file, line);-
382}
executed 14 times by 7 tests: end of block
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QWidget
  • tst_selftests - unknown status
14
383-
384void QTestLog::addSkip(const char *msg, const char *file, int line)-
385{-
386 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 1403 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_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • tst_QMainWindow
  • ...
) qt_assert("msg",__FILE__,450);
never executed: qt_assert("msg",__FILE__,450);
} while (0);
0-1403
387 do { if (!(file)
!(file)Description
TRUEnever evaluated
FALSEevaluated 1403 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_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • tst_QMainWindow
  • ...
) qt_assert("file",__FILE__,451);
never executed: qt_assert("file",__FILE__,451);
} while (0);
0-1403
388-
389 ++QTest::skips;-
390-
391 QTest::TestLoggers::addMessage(QAbstractTestLogger::Skip, QString::fromUtf8(msg), file, line);-
392}
executed 1403 times by 56 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • tst_QMainWindow
  • ...
1403
393-
394void QTestLog::addBenchmarkResult(const QBenchmarkResult &result)-
395{-
396 QTest::TestLoggers::addBenchmarkResult(result);-
397}
executed 282 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
282
398-
399void QTestLog::startLogging()-
400{-
401 elapsedTotalTime.start();-
402 elapsedFunctionTime.start();-
403 QTest::TestLoggers::startLogging();-
404 QTest::oldMessageHandler = qInstallMessageHandler(QTest::messageHandler);-
405}
executed 1320 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1320
406-
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 1318 times by 509 tests: end of block
Executed by:
  • tst_collections - unknown status
  • tst_compiler - unknown status
  • tst_gestures - unknown status
  • tst_lancelot - unknown status
  • tst_languagechange - unknown status
  • tst_largefile - unknown status
  • tst_modeltest - unknown status
  • tst_networkselftest - unknown status
  • tst_platformsocketengine - unknown status
  • tst_q_func_info - unknown status
  • tst_qabstractanimation - unknown status
  • tst_qabstractbutton - unknown status
  • tst_qabstractfileengine - unknown status
  • tst_qabstractitemmodel - unknown status
  • tst_qabstractitemview - unknown status
  • tst_qabstractnetworkcache - unknown status
  • tst_qabstractprintdialog - unknown status
  • tst_qabstractproxymodel - unknown status
  • tst_qabstractscrollarea - unknown status
  • tst_qabstractslider - unknown status
  • tst_qabstractsocket - unknown status
  • tst_qabstractspinbox - unknown status
  • tst_qabstracttextdocumentlayout - unknown status
  • tst_qaccessibility - unknown status
  • tst_qaction - unknown status
  • ...
1318
415-
416void QTestLog::addLogger(LogMode mode, const char *filename)-
417{-
418 if (filename
filenameDescription
TRUEevaluated 900 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 693 times by 506 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 291 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 609 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
)
291-900
419 filename = 0;
executed 291 times by 1 test: filename = 0;
Executed by:
  • tst_selftests - unknown status
291
420 if (!filename
!filenameDescription
TRUEevaluated 984 times by 506 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 609 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
)
609-984
421 QTest::loggerUsingStdout = true;
executed 984 times by 506 tests: QTest::loggerUsingStdout = true;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
984
422-
423 QAbstractTestLogger *logger = 0;-
424 switch (mode) {-
425 case
executed 855 times by 506 tests: case QTestLog::Plain:
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTestLog::Plain:
executed 855 times by 506 tests: case QTestLog::Plain:
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
855
426 logger = new QPlainTestLogger(filename);-
427 break;
executed 855 times by 506 tests: break;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
855
428 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 case
executed 146 times by 1 test: case QTestLog::TeamCity:
Executed by:
  • tst_selftests - unknown status
QTestLog::TeamCity:
executed 146 times by 1 test: case QTestLog::TeamCity:
Executed by:
  • tst_selftests - unknown status
146
441 logger = new QTeamCityLogger(filename);-
442 break;
executed 146 times by 1 test: break;
Executed by:
  • tst_selftests - unknown status
146
443-
444-
445-
446-
447-
448 }-
449 do { if (!(logger)
!(logger)Description
TRUEnever evaluated
FALSEevaluated 1593 times by 506 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__,513);
never executed: qt_assert("logger",__FILE__,513);
} while (0);
0-1593
450 QTest::TestLoggers::addLogger(logger);-
451}
executed 1593 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1593
452-
453int QTestLog::loggerCount()-
454{-
455 return
executed 1320 times by 506 tests: return QTest::TestLoggers::loggerCount();
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTest::TestLoggers::loggerCount();
executed 1320 times by 506 tests: return QTest::TestLoggers::loggerCount();
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1320
456}-
457-
458bool QTestLog::loggerUsingStdout()-
459{-
460 return
executed 291 times by 1 test: return QTest::loggerUsingStdout;
Executed by:
  • tst_selftests - unknown status
QTest::loggerUsingStdout;
executed 291 times by 1 test: return QTest::loggerUsingStdout;
Executed by:
  • tst_selftests - unknown status
291
461}-
462-
463void QTestLog::warn(const char *msg, const char *file, int line)-
464{-
465 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 949 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__,529);
never executed: qt_assert("msg",__FILE__,529);
} while (0);
0-949
466-
467 if (QTest::TestLoggers::loggerCount() > 0
QTest::TestLog...gerCount() > 0Description
TRUEevaluated 111 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 838 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
)
111-838
468 QTest::TestLoggers::addMessage(QAbstractTestLogger::Warn, QString::fromUtf8(msg), file, line);
executed 111 times by 13 tests: QTest::TestLoggers::addMessage(QAbstractTestLogger::Warn, QString::fromUtf8(msg), file, line);
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QLocalSocket
  • tst_QMimeDatabase
  • tst_QMouseEvent
  • tst_QPluginLoader
  • tst_QSqlQuery
  • tst_QString_NoCastFromByteArray
  • tst_QTreeView
  • tst_QWidget
  • tst_selftests - unknown status
111
469}
executed 949 times by 13 tests: end of block
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QGuiApplication
  • tst_QLocalSocket
  • tst_QMimeDatabase
  • tst_QMouseEvent
  • tst_QPluginLoader
  • tst_QSqlQuery
  • tst_QString_NoCastFromByteArray
  • tst_QTreeView
  • tst_QWidget
  • tst_selftests - unknown status
949
470-
471void QTestLog::info(const char *msg, const char *file, int line)-
472{-
473 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 604 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) qt_assert("msg",__FILE__,537);
never executed: qt_assert("msg",__FILE__,537);
} while (0);
0-604
474-
475 QTest::TestLoggers::addMessage(QAbstractTestLogger::Info, QString::fromUtf8(msg), file, line);-
476}
executed 604 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
604
477-
478void QTestLog::setVerboseLevel(int level)-
479{-
480 QTest::verbosity = level;-
481}
executed 77 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
77
482-
483int QTestLog::verboseLevel()-
484{-
485 return
executed 52813990 times by 513 tests: return QTest::verbosity;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTest::verbosity;
executed 52813990 times by 513 tests: return QTest::verbosity;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
52813990
486}-
487-
488void QTestLog::ignoreMessage(QtMsgType type, const char *msg)-
489{-
490 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 1073 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__,554);
never executed: qt_assert("msg",__FILE__,554);
} while (0);
0-1073
491-
492 QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QString::fromLocal8Bit(msg));-
493}
executed 1073 times by 82 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_PlatformSocketEngine
  • tst_QAccessibility
  • tst_QAnimationGroup
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QBoxLayout
  • tst_QBuffer
  • tst_QComboBox
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDBusMetaType
  • tst_QDate
  • tst_QDebug
  • tst_QDesktopWidget
  • tst_QDir
  • tst_QDnsLookup_Appless
  • tst_QEasingCurve
  • tst_QFile
  • tst_QFileSystemWatcher
  • tst_QFormLayout
  • tst_QFutureWatcher
  • ...
1073
494-
495-
496void QTestLog::ignoreMessage(QtMsgType type, const QRegularExpression &expression)-
497{-
498 do { if (!(expression.isValid())
!(expression.isValid())Description
TRUEnever evaluated
FALSEevaluated 116 times by 4 tests
Evaluated by:
  • tst_QGuiVariant
  • tst_QVariant
  • tst_QWidgetsVariant
  • tst_selftests - unknown status
) qt_assert("expression.isValid()",__FILE__,562);
never executed: qt_assert("expression.isValid()",__FILE__,562);
} while (0);
0-116
499-
500 QTest::IgnoreResultList::append(QTest::ignoreResultList, type, QVariant(expression));-
501}
executed 116 times by 4 tests: end of block
Executed by:
  • tst_QGuiVariant
  • tst_QVariant
  • tst_QWidgetsVariant
  • tst_selftests - unknown status
116
502-
503-
504void QTestLog::setMaxWarnings(int m)-
505{-
506 QTest::maxWarnings = m <= 0
m <= 0Description
TRUEnever evaluated
FALSEnever evaluated
? 2147483647 : m + 2;
0
507}
never executed: end of block
0
508-
509bool QTestLog::printAvailableTags = false;-
510-
511void QTestLog::setPrintAvailableTagsMode()-
512{-
513 printAvailableTags = true;-
514}
executed 4 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
4
515-
516int QTestLog::passCount()-
517{-
518 return
executed 851 times by 506 tests: return QTest::passes;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTest::passes;
executed 851 times by 506 tests: return QTest::passes;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
851
519}-
520-
521int QTestLog::failCount()-
522{-
523 return
executed 3407 times by 1013 tests: return QTest::fails;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTest::fails;
executed 3407 times by 1013 tests: return QTest::fails;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
3407
524}-
525-
526int QTestLog::skipCount()-
527{-
528 return
executed 851 times by 506 tests: return QTest::skips;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTest::skips;
executed 851 times by 506 tests: return QTest::skips;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
851
529}-
530-
531int QTestLog::blacklistCount()-
532{-
533 return
executed 851 times by 506 tests: return QTest::blacklists;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTest::blacklists;
executed 851 times by 506 tests: return QTest::blacklists;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
851
534}-
535-
536void QTestLog::resetCounters()-
537{-
538 QTest::passes = 0;-
539 QTest::fails = 0;-
540 QTest::skips = 0;-
541}
executed 815 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
815
542-
543void QTestLog::setInstalledTestCoverage(bool installed)-
544{-
545 QTest::installedTestCoverage = installed;-
546}
executed 1320 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1320
547-
548bool QTestLog::installedTestCoverage()-
549{-
550 return
executed 1318 times by 506 tests: return QTest::installedTestCoverage;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
QTest::installedTestCoverage;
executed 1318 times by 506 tests: return QTest::installedTestCoverage;
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1318
551}-
552-
553qint64 QTestLog::nsecsTotalTime()-
554{-
555 return
executed 1220 times by 506 tests: return elapsedTotalTime.nsecsElapsed();
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
elapsedTotalTime.nsecsElapsed();
executed 1220 times by 506 tests: return elapsedTotalTime.nsecsElapsed();
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
1220
556}-
557-
558qint64 QTestLog::nsecsFunctionTime()-
559{-
560 return
executed 2274 times by 1 test: return elapsedFunctionTime.nsecsElapsed();
Executed by:
  • tst_selftests - unknown status
elapsedFunctionTime.nsecsElapsed();
executed 2274 times by 1 test: return elapsedFunctionTime.nsecsElapsed();
Executed by:
  • tst_selftests - unknown status
2274
561}-
562-
563-
Switch to Source codePreprocessed file

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