OpenCoverage

qplaintestlogger.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/testlib/qplaintestlogger.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3namespace QTest {-
4-
5 static const char *incidentType2String(QAbstractTestLogger::IncidentTypes type)-
6 {-
7 switch (type) {-
8 case
executed 121692 times by 507 tests: case QAbstractTestLogger::Pass:
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
  • ...
QAbstractTestLogger::Pass:
executed 121692 times by 507 tests: case QAbstractTestLogger::Pass:
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
  • ...
121692
9 return
executed 121692 times by 507 tests: return "PASS ";
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
  • ...
"PASS ";
executed 121692 times by 507 tests: return "PASS ";
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
  • ...
121692
10 case
executed 285 times by 38 tests: case QAbstractTestLogger::XFail:
Executed by:
  • tst_LargeFile
  • tst_QAbstractPrintDialog
  • tst_QAuthenticator
  • tst_QColumnView
  • tst_QDBusAbstractInterface
  • tst_QDateTime
  • tst_QEventLoop
  • tst_QFile
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsLayoutItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiEventLoop
  • tst_QHttpNetworkConnection
  • tst_QLatin1String
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QSequentialAnimationGroup
  • tst_QShortcut
  • tst_QSqlDatabase
  • tst_QSqlTableModel
  • ...
QAbstractTestLogger::XFail:
executed 285 times by 38 tests: case QAbstractTestLogger::XFail:
Executed by:
  • tst_LargeFile
  • tst_QAbstractPrintDialog
  • tst_QAuthenticator
  • tst_QColumnView
  • tst_QDBusAbstractInterface
  • tst_QDateTime
  • tst_QEventLoop
  • tst_QFile
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsLayoutItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiEventLoop
  • tst_QHttpNetworkConnection
  • tst_QLatin1String
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QSequentialAnimationGroup
  • tst_QShortcut
  • tst_QSqlDatabase
  • tst_QSqlTableModel
  • ...
285
11 return
executed 285 times by 38 tests: return "XFAIL ";
Executed by:
  • tst_LargeFile
  • tst_QAbstractPrintDialog
  • tst_QAuthenticator
  • tst_QColumnView
  • tst_QDBusAbstractInterface
  • tst_QDateTime
  • tst_QEventLoop
  • tst_QFile
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsLayoutItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiEventLoop
  • tst_QHttpNetworkConnection
  • tst_QLatin1String
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QSequentialAnimationGroup
  • tst_QShortcut
  • tst_QSqlDatabase
  • tst_QSqlTableModel
  • ...
"XFAIL ";
executed 285 times by 38 tests: return "XFAIL ";
Executed by:
  • tst_LargeFile
  • tst_QAbstractPrintDialog
  • tst_QAuthenticator
  • tst_QColumnView
  • tst_QDBusAbstractInterface
  • tst_QDateTime
  • tst_QEventLoop
  • tst_QFile
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsLayoutItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiEventLoop
  • tst_QHttpNetworkConnection
  • tst_QLatin1String
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QSequentialAnimationGroup
  • tst_QShortcut
  • tst_QSqlDatabase
  • tst_QSqlTableModel
  • ...
285
12 case
executed 1070 times by 23 tests: case QAbstractTestLogger::Fail:
Executed by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGlyphRun
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QProcess
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
QAbstractTestLogger::Fail:
executed 1070 times by 23 tests: case QAbstractTestLogger::Fail:
Executed by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGlyphRun
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QProcess
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
1070
13 return
executed 1070 times by 23 tests: return "FAIL! ";
Executed by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGlyphRun
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QProcess
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
"FAIL! ";
executed 1070 times by 23 tests: return "FAIL! ";
Executed by:
  • tst_Gestures
  • tst_QCommandLineParser
  • tst_QFile
  • tst_QGlyphRun
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QNetworkCookieJar
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QProcess
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpSocket
  • tst_QTextCodec
  • tst_QTextStream
  • tst_QThreadStorage
  • tst_QUdpSocket
  • tst_QWidget
  • tst_qmake
  • tst_selftests - unknown status
1070
14 case
executed 44 times by 1 test: case QAbstractTestLogger::XPass:
Executed by:
  • tst_selftests - unknown status
QAbstractTestLogger::XPass:
executed 44 times by 1 test: case QAbstractTestLogger::XPass:
Executed by:
  • tst_selftests - unknown status
44
15 return
executed 44 times by 1 test: return "XPASS ";
Executed by:
  • tst_selftests - unknown status
"XPASS ";
executed 44 times by 1 test: return "XPASS ";
Executed by:
  • tst_selftests - unknown status
44
16 case
executed 531 times by 19 tests: case QAbstractTestLogger::BlacklistedPass:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QGestureRecognizer
  • tst_QGraphicsView
  • tst_QMdiArea
  • tst_QNetworkInterface
  • tst_QNetworkReply
  • tst_QPauseAnimation
  • tst_QSemaphore
  • tst_QSizeGrip
  • tst_QSocks5SocketEngine
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTcpServer
  • tst_QTextDocumentLayout
  • tst_QTouchEvent
  • tst_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
QAbstractTestLogger::BlacklistedPass:
executed 531 times by 19 tests: case QAbstractTestLogger::BlacklistedPass:
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QGestureRecognizer
  • tst_QGraphicsView
  • tst_QMdiArea
  • tst_QNetworkInterface
  • tst_QNetworkReply
  • tst_QPauseAnimation
  • tst_QSemaphore
  • tst_QSizeGrip
  • tst_QSocks5SocketEngine
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTcpServer
  • tst_QTextDocumentLayout
  • tst_QTouchEvent
  • tst_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
531
17 return
executed 531 times by 19 tests: return "BPASS ";
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QGestureRecognizer
  • tst_QGraphicsView
  • tst_QMdiArea
  • tst_QNetworkInterface
  • tst_QNetworkReply
  • tst_QPauseAnimation
  • tst_QSemaphore
  • tst_QSizeGrip
  • tst_QSocks5SocketEngine
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTcpServer
  • tst_QTextDocumentLayout
  • tst_QTouchEvent
  • tst_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
"BPASS ";
executed 531 times by 19 tests: return "BPASS ";
Executed by:
  • tst_QDBusAbstractAdaptor
  • tst_QGestureRecognizer
  • tst_QGraphicsView
  • tst_QMdiArea
  • tst_QNetworkInterface
  • tst_QNetworkReply
  • tst_QPauseAnimation
  • tst_QSemaphore
  • tst_QSizeGrip
  • tst_QSocks5SocketEngine
  • tst_QSslCertificate
  • tst_QSslKey
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QTcpServer
  • tst_QTextDocumentLayout
  • tst_QTouchEvent
  • tst_QUdpSocket
  • tst_Spdy
  • tst_selftests - unknown status
531
18 case
executed 14 times by 7 tests: case QAbstractTestLogger::BlacklistedFail:
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QWidget
  • tst_selftests - unknown status
QAbstractTestLogger::BlacklistedFail:
executed 14 times by 7 tests: case QAbstractTestLogger::BlacklistedFail:
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QWidget
  • tst_selftests - unknown status
14
19 return
executed 14 times by 7 tests: return "BFAIL ";
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QWidget
  • tst_selftests - unknown status
"BFAIL ";
executed 14 times by 7 tests: return "BFAIL ";
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QFtp
  • tst_QSocks5SocketEngine
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QWidget
  • tst_selftests - unknown status
14
20 }-
21 return
never executed: return "??????";
"??????";
never executed: return "??????";
0
22 }-
23-
24 static const char *benchmarkResult2String()-
25 {-
26 return
executed 94 times by 2 tests: return "RESULT ";
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
"RESULT ";
executed 94 times by 2 tests: return "RESULT ";
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
94
27 }-
28-
29 static const char *messageType2String(QAbstractTestLogger::MessageTypes type)-
30 {-
31 switch (type) {-
32 case
executed 842 times by 56 tests: case QAbstractTestLogger::Skip:
Executed by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • tst_QMainWindow
  • ...
QAbstractTestLogger::Skip:
executed 842 times by 56 tests: case QAbstractTestLogger::Skip:
Executed by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • tst_QMainWindow
  • ...
842
33 return
executed 842 times by 56 tests: return "SKIP ";
Executed by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • tst_QMainWindow
  • ...
"SKIP ";
executed 842 times by 56 tests: return "SKIP ";
Executed by:
  • tst_Compiler
  • tst_Lancelot
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QByteArray
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QFileInfo
  • tst_QFiledialog
  • tst_QFont
  • tst_QFontDatabase
  • tst_QFtp
  • tst_QGLThreads
  • tst_QGraphicsProxyWidget
  • tst_QIODevice
  • tst_QImageReader
  • tst_QItemView
  • tst_QLockFile
  • tst_QMainWindow
  • ...
842
34 case
executed 79 times by 13 tests: case QAbstractTestLogger::Warn:
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
QAbstractTestLogger::Warn:
executed 79 times by 13 tests: case QAbstractTestLogger::Warn:
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
79
35 return
executed 79 times by 13 tests: return "WARNING";
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
"WARNING";
executed 79 times by 13 tests: return "WARNING";
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
79
36 case
executed 20639 times by 69 tests: case QAbstractTestLogger::QWarning:
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
  • ...
QAbstractTestLogger::QWarning:
executed 20639 times by 69 tests: case QAbstractTestLogger::QWarning:
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
  • ...
20639
37 return
executed 20639 times by 69 tests: return "QWARN ";
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
  • ...
"QWARN ";
executed 20639 times by 69 tests: return "QWARN ";
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
  • ...
20639
38 case
executed 1949 times by 55 tests: case QAbstractTestLogger::QDebug:
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
  • ...
QAbstractTestLogger::QDebug:
executed 1949 times by 55 tests: case QAbstractTestLogger::QDebug:
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
  • ...
1949
39 return
executed 1949 times by 55 tests: return "QDEBUG ";
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
  • ...
"QDEBUG ";
executed 1949 times by 55 tests: return "QDEBUG ";
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
  • ...
1949
40 case
executed 22 times by 1 test: case QAbstractTestLogger::QInfo:
Executed by:
  • tst_selftests - unknown status
QAbstractTestLogger::QInfo:
executed 22 times by 1 test: case QAbstractTestLogger::QInfo:
Executed by:
  • tst_selftests - unknown status
22
41 return
executed 22 times by 1 test: return "QINFO ";
Executed by:
  • tst_selftests - unknown status
"QINFO ";
executed 22 times by 1 test: return "QINFO ";
Executed by:
  • tst_selftests - unknown status
22
42 case
executed 12 times by 1 test: case QAbstractTestLogger::QSystem:
Executed by:
  • tst_selftests - unknown status
QAbstractTestLogger::QSystem:
executed 12 times by 1 test: case QAbstractTestLogger::QSystem:
Executed by:
  • tst_selftests - unknown status
12
43 return
executed 12 times by 1 test: return "QSYSTEM";
Executed by:
  • tst_selftests - unknown status
"QSYSTEM";
executed 12 times by 1 test: return "QSYSTEM";
Executed by:
  • tst_selftests - unknown status
12
44 case
executed 25 times by 2 tests: case QAbstractTestLogger::QFatal:
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
QAbstractTestLogger::QFatal:
executed 25 times by 2 tests: case QAbstractTestLogger::QFatal:
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
25
45 return
executed 25 times by 2 tests: return "QFATAL ";
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
"QFATAL ";
executed 25 times by 2 tests: return "QFATAL ";
Executed by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
25
46 case
executed 652 times by 1 test: case QAbstractTestLogger::Info:
Executed by:
  • tst_selftests - unknown status
QAbstractTestLogger::Info:
executed 652 times by 1 test: case QAbstractTestLogger::Info:
Executed by:
  • tst_selftests - unknown status
652
47 return
executed 652 times by 1 test: return "INFO ";
Executed by:
  • tst_selftests - unknown status
"INFO ";
executed 652 times by 1 test: return "INFO ";
Executed by:
  • tst_selftests - unknown status
652
48 }-
49 return
never executed: return "??????";
"??????";
never executed: return "??????";
0
50 }-
51-
52 template <typename T>-
53 static int countSignificantDigits(T num)-
54 {-
55 if (num <= 0
num <= 0Description
TRUEevaluated 50 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
)
50-138
56 return
executed 50 times by 2 tests: return 0;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
0;
executed 50 times by 2 tests: return 0;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
50
57-
58 int digits = 0;-
59 qreal divisor = 1;-
60-
61 while (num / divisor >= 1
num / divisor >= 1Description
TRUEevaluated 410 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
) {
138-410
62 divisor *= 10;-
63 ++digits;-
64 }
executed 410 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
410
65-
66 return
executed 138 times by 2 tests: return digits;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
digits;
executed 138 times by 2 tests: return digits;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
138
67 }-
68-
69-
70 template <typename T> QString formatResult(T number, int significantDigits)-
71 {-
72 if (number < T(0)
number < T(0)Description
TRUEnever evaluated
FALSEevaluated 188 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
)
0-188
73 return
never executed: return QLatin1String("NAN");
QLatin1String("NAN");
never executed: return QLatin1String("NAN");
0
74 if (number == T(0)
number == T(0)Description
TRUEevaluated 50 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
)
50-138
75 return
executed 50 times by 2 tests: return QLatin1String("0");
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
QLatin1String("0");
executed 50 times by 2 tests: return QLatin1String("0");
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
50
76-
77 QString beforeDecimalPoint = QString::number(qint64(number), 'f', 0);-
78 QString afterDecimalPoint = QString::number(number, 'f', 20);-
79 afterDecimalPoint.remove(0, beforeDecimalPoint.count() + 1);-
80-
81 int beforeUse = qMin(beforeDecimalPoint.count(), significantDigits);-
82 int beforeRemove = beforeDecimalPoint.count() - beforeUse;-
83-
84-
85 beforeDecimalPoint.chop(beforeRemove);-
86 for (int i = 0; i < beforeRemove
i < beforeRemoveDescription
TRUEnever evaluated
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
; ++i) {
0-138
87 beforeDecimalPoint.append(QLatin1Char('0'));-
88 }
never executed: end of block
0
89-
90 int afterUse = significantDigits - beforeUse;-
91-
92-
93 if (beforeDecimalPoint == QLatin1String("0")
beforeDecimalP...in1String("0")Description
TRUEnever evaluated
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
&& afterDecimalPoint.isEmpty() == false
afterDecimalPo...pty() == falseDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0-138
94 ++afterUse;-
95-
96 int i = 0;-
97 while (i < afterDecimalPoint.count()
i < afterDecimalPoint.count()Description
TRUEnever evaluated
FALSEnever evaluated
&& afterDecimalPoint.at(i) == QLatin1Char('0')
afterDecimalPo...atin1Char('0')Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
98 ++i;-
99 }
never executed: end of block
0
100-
101 afterUse += i;-
102 }
never executed: end of block
0
103-
104 int afterRemove = afterDecimalPoint.count() - afterUse;-
105 afterDecimalPoint.chop(afterRemove);-
106-
107 QChar separator = QLatin1Char(',');-
108 QChar decimalPoint = QLatin1Char('.');-
109-
110-
111 int length = beforeDecimalPoint.length();-
112 for (int i = beforeDecimalPoint.length() -1; i >= 1
i >= 1Description
TRUEevaluated 266 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 138 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
; --i) {
138-266
113 if ((
(length - i) % 3 == 0Description
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 226 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
length - i) % 3 == 0
(length - i) % 3 == 0Description
TRUEevaluated 40 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 226 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
)
40-226
114 beforeDecimalPoint.insert(i, separator);
executed 40 times by 1 test: beforeDecimalPoint.insert(i, separator);
Executed by:
  • tst_selftests - unknown status
40
115 }
executed 266 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
266
116-
117 QString print;-
118 print = beforeDecimalPoint;-
119 if (afterUse > 0
afterUse > 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 134 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
)
4-134
120 print.append(decimalPoint);
executed 4 times by 1 test: print.append(decimalPoint);
Executed by:
  • tst_selftests - unknown status
4
121-
122 print += afterDecimalPoint;-
123-
124-
125 return
executed 138 times by 2 tests: return print;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
print;
executed 138 times by 2 tests: return print;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
138
126 }-
127-
128 template <typename T>-
129 int formatResult(char * buffer, int bufferSize, T number, int significantDigits)-
130 {-
131 QString result = formatResult(number, significantDigits);-
132 qstrncpy(buffer, result.toLatin1().constData(), bufferSize);-
133 int size = result.count();-
134 return
executed 188 times by 2 tests: return size;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
size;
executed 188 times by 2 tests: return size;
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
188
135 }-
136}-
137-
138-
139-
140-
141-
142void QPlainTestLogger::outputMessage(const char *str)-
143{-
144 outputString(str);-
145}
executed 149654 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
149654
146-
147void QPlainTestLogger::printMessage(const char *type, const char *msg, const char *file, int line)-
148{-
149 do { if (!(type)
!(type)Description
TRUEnever evaluated
FALSEevaluated 147856 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
) qt_assert("type",__FILE__,241);
never executed: qt_assert("type",__FILE__,241);
} while (0);
0-147856
150 do { if (!(msg)
!(msg)Description
TRUEnever evaluated
FALSEevaluated 147856 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
) qt_assert("msg",__FILE__,242);
never executed: qt_assert("msg",__FILE__,242);
} while (0);
0-147856
151-
152 QTestCharBuffer buf;-
153-
154 const char *fn = QTestResult::currentTestFunction()
QTestResult::c...TestFunction()Description
TRUEevaluated 147856 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEnever evaluated
? QTestResult::currentTestFunction()
0-147856
155 : "UnknownTestFunc";-
156 const char *tag = QTestResult::currentDataTag()
QTestResult::currentDataTag()Description
TRUEevaluated 115651 times by 328 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • tst_QAtomicInteger_char32_t
  • tst_QAtomicInteger_int
  • tst_QAtomicInteger_long
  • ...
FALSEevaluated 32205 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
? QTestResult::currentDataTag() : "";
32205-115651
157 const char *gtag = QTestResult::currentGlobalDataTag()
QTestResult::c...lobalDataTag()Description
TRUEevaluated 3022 times by 15 tests
Evaluated by:
  • tst_QDBusLocalCalls
  • tst_QDnsLookup
  • tst_QFtp
  • tst_QHostInfo
  • tst_QSqlDriver
  • tst_QSqlRelationalTableModel
  • tst_QSslSocket
  • tst_QSslSocket_onDemandCertificates_member
  • tst_QSslSocket_onDemandCertificates_static
  • tst_QTcpServer
  • tst_QTcpSocket
  • tst_QUdpSocket
  • tst_Utf8
  • tst_qdbusxml2cpp
  • tst_selftests - unknown status
FALSEevaluated 144834 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
3022-144834
158 ? QTestResult::currentGlobalDataTag()-
159 : "";-
160 const char *filler = (tag[0]
tag[0]Description
TRUEevaluated 115634 times by 328 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • tst_QAtomicInteger_char32_t
  • tst_QAtomicInteger_int
  • tst_QAtomicInteger_long
  • ...
FALSEevaluated 32222 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
&& gtag[0]
gtag[0]Description
TRUEevaluated 2092 times by 11 tests
Evaluated by:
  • tst_QDBusLocalCalls
  • tst_QDnsLookup
  • tst_QFtp
  • tst_QHostInfo
  • tst_QSslSocket
  • tst_QTcpServer
  • tst_QTcpSocket
  • tst_QUdpSocket
  • tst_Utf8
  • tst_qdbusxml2cpp
  • tst_selftests - unknown status
FALSEevaluated 113542 times by 318 tests
Evaluated by:
  • tst_Collections
  • tst_Gestures
  • tst_LargeFile
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QAction
  • tst_QAlgorithms
  • tst_QApplication
  • tst_QArrayData
  • tst_QArrayData_StrictIterators
  • tst_QAsn1Element
  • tst_QAtomicInt
  • tst_QAtomicInteger_char
  • tst_QAtomicInteger_char16_t
  • tst_QAtomicInteger_char32_t
  • tst_QAtomicInteger_int
  • tst_QAtomicInteger_long
  • ...
) ? ":" : "";
2092-115634
161 if (file
fileDescription
TRUEevaluated 2469 times by 105 tests
Evaluated by:
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAction
  • tst_QAuthenticator
  • tst_QByteArray
  • tst_QColumnView
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QEventLoop
  • tst_QFile
  • tst_QFileInfo
  • ...
FALSEevaluated 145387 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
) {
2469-145387
162 QTest::qt_asprintf(&buf, "%s: %s::%s(%s%s%s)%s%s\n"-
163-
164-
165-
166 " Loc: [%s(%d)]\n"-
167-
168 , type, QTestResult::currentTestObjectName(), fn, gtag, filler, tag,-
169 msg[0] ? " " : "", msg, file, line);-
170 }
executed 2469 times by 105 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_NetworkSelfTest
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAction
  • tst_QAuthenticator
  • tst_QByteArray
  • tst_QColumnView
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QCssParser
  • tst_QDBusAbstractInterface
  • tst_QDBusConnection_NoApplication
  • tst_QDBusLocalCalls
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDialog
  • tst_QDir
  • tst_QDockWidget
  • tst_QEventLoop
  • tst_QFile
  • tst_QFileInfo
  • ...
else {
2469
171 QTest::qt_asprintf(&buf, "%s: %s::%s(%s%s%s)%s%s\n",-
172 type, QTestResult::currentTestObjectName(), fn, gtag, filler, tag,-
173 msg[0] ? " " : "", msg);-
174 }
executed 145387 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
145387
175-
176-
177 memcpy(buf.data(), type, strlen(type));-
178 outputMessage(buf.data());-
179}
executed 147856 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
147856
180-
181void QPlainTestLogger::printBenchmarkResult(const QBenchmarkResult &result)-
182{-
183 const char *bmtag = QTest::benchmarkResult2String();-
184-
185 char buf1[1024];-
186 qsnprintf(-
187 buf1, sizeof(buf1), "%s: %s::%s",-
188 bmtag,-
189 QTestResult::currentTestObjectName(),-
190 result.context.slotName.toLatin1().data());-
191-
192 char bufTag[1024];-
193 bufTag[0] = 0;-
194 QByteArray tag = result.context.tag.toLocal8Bit();-
195 if (tag.isEmpty() == false
tag.isEmpty() == falseDescription
TRUEevaluated 78 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
) {
16-78
196 qsnprintf(bufTag, sizeof(bufTag), ":\"%s\"", tag.data());-
197 }
executed 78 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
78
198-
199-
200 char fillFormat[8];-
201 int fillLength = 5;-
202 qsnprintf(fillFormat, sizeof(fillFormat), ":\n%%%ds", fillLength);-
203 char fill[1024];-
204 qsnprintf(fill, sizeof(fill), fillFormat, "");-
205-
206 const char * unitText = QTest::benchmarkMetricUnit(result.metric);-
207-
208 qreal valuePerIteration = qreal(result.value) / qreal(result.iterations);-
209 char resultBuffer[100] = "";-
210 QTest::formatResult(resultBuffer, 100, valuePerIteration, QTest::countSignificantDigits(result.value));-
211-
212 char buf2[1024];-
213 qsnprintf(buf2, sizeof(buf2), "%s %s", resultBuffer, unitText);-
214-
215 char buf2_[1024];-
216 QByteArray iterationText = " per iteration";-
217 ((!(result.iterations > 0)) ? qt_assert("result.iterations > 0",__FILE__,309) : qt_noop());-
218 qsnprintf(buf2_, sizeof(buf2_), "%s", iterationText.data());-
219-
220 char buf3[1024];-
221 ((!(result.iterations > 0)) ? qt_assert("result.iterations > 0",__FILE__,313) : qt_noop());-
222 QTest::formatResult(resultBuffer, 100, result.value, QTest::countSignificantDigits(result.value));-
223 qsnprintf(buf3, sizeof(buf3), " (total: %s, iterations: %d)", resultBuffer, result.iterations);-
224-
225 char buf[1024];-
226-
227 if (result.setByMacro
result.setByMacroDescription
TRUEevaluated 94 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
FALSEnever evaluated
) {
0-94
228 qsnprintf(buf, sizeof(buf), "%s%s%s%s%s%s\n", buf1, bufTag, fill, buf2, buf2_, buf3);-
229 }
executed 94 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
else {
94
230 qsnprintf(buf, sizeof(buf), "%s%s%s%s\n", buf1, bufTag, fill, buf2);-
231 }
never executed: end of block
0
232-
233 memcpy(buf, bmtag, strlen(bmtag));-
234 outputMessage(buf);-
235}
executed 94 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
94
236-
237QPlainTestLogger::QPlainTestLogger(const char *filename)-
238 : QAbstractTestLogger(filename)-
239{-
240}
executed 855 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
855
241-
242QPlainTestLogger::~QPlainTestLogger()-
243{-
244}-
245-
246void QPlainTestLogger::startLogging()-
247{-
248 QAbstractTestLogger::startLogging();-
249-
250 char buf[1024];-
251 if (QTestLog::verboseLevel() < 0
QTestLog::verboseLevel() < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 851 times by 506 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
) {
2-851
252 qsnprintf(buf, sizeof(buf), "Testing %s\n", QTestResult::currentTestObjectName());-
253 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
else {
2
254 qsnprintf(buf, sizeof(buf),-
255 "********* Start testing of %s *********\n"-
256 "Config: Using QtTest library " "5.7.1"-
257 ", %s\n", QTestResult::currentTestObjectName(), QLibraryInfo::build());-
258 }
executed 851 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
851
259 outputMessage(buf);-
260}
executed 853 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
853
261-
262void QPlainTestLogger::stopLogging()-
263{-
264 char buf[1024];-
265 const int timeMs = qRound(QTestLog::msecsTotalTime());-
266 if (QTestLog::verboseLevel() < 0
QTestLog::verboseLevel() < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 849 times by 506 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
) {
2-849
267 qsnprintf(buf, sizeof(buf), "Totals: %d passed, %d failed, %d skipped, %d blacklisted, %dms\n",-
268 QTestLog::passCount(), QTestLog::failCount(),-
269 QTestLog::skipCount(), QTestLog::blacklistCount(), timeMs);-
270 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_selftests - unknown status
else {
2
271 qsnprintf(buf, sizeof(buf),-
272 "Totals: %d passed, %d failed, %d skipped, %d blacklisted, %dms\n"-
273 "********* Finished testing of %s *********\n",-
274 QTestLog::passCount(), QTestLog::failCount(),-
275 QTestLog::skipCount(), QTestLog::blacklistCount(), timeMs,-
276 QTestResult::currentTestObjectName());-
277 }
executed 849 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
849
278 outputMessage(buf);-
279-
280 QAbstractTestLogger::stopLogging();-
281}
executed 851 times by 506 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
851
282-
283-
284void QPlainTestLogger::enterTestFunction(const char * )-
285{-
286 if (QTestLog::verboseLevel() >= 1
QTestLog::verboseLevel() >= 1Description
TRUEevaluated 340 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 12547 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
)
340-12547
287 printMessage(QTest::messageType2String(Info), "entering");
executed 340 times by 1 test: printMessage(QTest::messageType2String(Info), "entering");
Executed by:
  • tst_selftests - unknown status
340
288}
executed 12887 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
12887
289-
290void QPlainTestLogger::leaveTestFunction()-
291{-
292}-
293-
294void QPlainTestLogger::addIncident(IncidentTypes type, const char *description,-
295 const char *file, int line)-
296{-
297-
298 if ((type == QAbstractTestLogger::Pass
type == QAbstr...stLogger::PassDescription
TRUEevaluated 121698 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
FALSEevaluated 1946 times by 73 tests
Evaluated by:
  • tst_Gestures
  • tst_LargeFile
  • tst_QAbstractPrintDialog
  • tst_QAction
  • tst_QAuthenticator
  • tst_QColumnView
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QDBusAbstractInterface
  • tst_QDateTime
  • tst_QEventLoop
  • tst_QFile
  • tst_QFtp
  • tst_QGestureRecognizer
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsLayoutItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGuiEventLoop
  • tst_QHttpNetworkConnection
  • tst_QLatin1String
  • ...
|| type == QAbstractTestLogger::XFail
type == QAbstr...tLogger::XFailDescription
TRUEevaluated 287 times by 38 tests
Evaluated by:
  • tst_LargeFile
  • tst_QAbstractPrintDialog
  • tst_QAuthenticator
  • tst_QColumnView
  • tst_QDBusAbstractInterface
  • tst_QDateTime
  • tst_QEventLoop
  • tst_QFile
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsLayoutItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGuiEventLoop
  • tst_QHttpNetworkConnection
  • tst_QLatin1String
  • tst_QLineEdit
  • tst_QNetworkCookie
  • tst_QNetworkReply
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QSequentialAnimationGroup
  • tst_QShortcut
  • tst_QSqlDatabase
  • tst_QSqlTableModel
  • ...
FALSEevaluated 1659 times by 42 tests
Evaluated by:
  • tst_Gestures
  • tst_QAction
  • tst_QCommandLineParser
  • tst_QCompleter
  • tst_QDBusAbstractAdaptor
  • tst_QFile
  • tst_QFtp
  • tst_QGestureRecognizer
  • tst_QGlyphRun
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QLocalSocket
  • tst_QLocale
  • tst_QLockFile
  • tst_QMdiArea
  • tst_QNetworkCookieJar
  • tst_QNetworkInterface
  • tst_QNetworkReply
  • tst_QOpenGLWidget
  • tst_QPauseAnimation
  • tst_QProcess
  • tst_QSemaphore
  • tst_QSizeGrip
  • tst_QSocks5SocketEngine
  • ...
)
287-121698
299 && QTestLog::verboseLevel() < 0
QTestLog::verboseLevel() < 0Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 121977 times by 507 tests
Evaluated by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
)
8-121977
300 return;
executed 8 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
8
301-
302 printMessage(QTest::incidentType2String(type), description, file, line);-
303}
executed 123636 times by 507 tests: end of block
Executed by:
  • tst_Collections
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractAnimation
  • tst_QAbstractButton
  • tst_QAbstractFileEngine
  • tst_QAbstractItemModel
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractPrintDialog
  • tst_QAbstractProxyModel
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSocket
  • tst_QAbstractSpinBox
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QAlgorithms
  • ...
123636
304-
305void QPlainTestLogger::addBenchmarkResult(const QBenchmarkResult &result)-
306{-
307-
308 if (QTestLog::verboseLevel() < 0
QTestLog::verboseLevel() < 0Description
TRUEnever evaluated
FALSEevaluated 94 times by 2 tests
Evaluated by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
)
0-94
309 return;
never executed: return;
0
310-
311 printBenchmarkResult(result);-
312}
executed 94 times by 2 tests: end of block
Executed by:
  • tst_QByteDataBuffer
  • tst_selftests - unknown status
94
313-
314void QPlainTestLogger::addMessage(MessageTypes type, const QString &message,-
315 const char *file, int line)-
316{-
317-
318 if (type != QAbstractTestLogger::QFatal
type != QAbstr...Logger::QFatalDescription
TRUEevaluated 23869 times by 135 tests
Evaluated by:
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • ...
FALSEevaluated 25 times by 2 tests
Evaluated by:
  • tst_QNetworkReply
  • tst_selftests - unknown status
&& QTestLog::verboseLevel() < 0
QTestLog::verboseLevel() < 0Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tst_selftests - unknown status
FALSEevaluated 23855 times by 135 tests
Evaluated by:
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • ...
)
14-23869
319 return;
executed 14 times by 1 test: return;
Executed by:
  • tst_selftests - unknown status
14
320-
321 printMessage(QTest::messageType2String(type), QString(message).toLocal8Bit().constData(), file, line);-
322}
executed 23880 times by 135 tests: end of block
Executed by:
  • tst_Compiler
  • tst_Gestures
  • tst_Lancelot
  • tst_LargeFile
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_PlatformSocketEngine
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBrush
  • tst_QBuffer
  • tst_QByteArray
  • tst_QColor
  • tst_QColumnView
  • tst_QCssParser
  • tst_QDBusConnection_NoApplication
  • tst_QDBusInterface
  • tst_QDBusLocalCalls
  • tst_QDBusMarshall
  • tst_QDataStream
  • tst_QDateTime
  • tst_QDateTimeEdit
  • tst_QDialog
  • ...
23880
323-
324-
Switch to Source codePreprocessed file

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