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