Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | QString QFileInfoPrivate::getFileName(QAbstractFileEngine::FileName name) const | - |
6 | { | - |
7 | if (cache_enabledTRUE | evaluated 42573 times by 168 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| FALSE | evaluated 1 time by 1 test |
&& !fileNames[(int)name].isNull()TRUE | evaluated 3182 times by 32 testsEvaluated by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QSslCertificate
- ...
| FALSE | evaluated 39391 times by 168 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
|
) | 1-42573 |
8 | returnexecuted 3182 times by 32 tests: return fileNames[(int)name]; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QSslCertificate
- ...
fileNames[(int)name];executed 3182 times by 32 tests: return fileNames[(int)name]; Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSidebar
- tst_QSslCertificate
- ...
| 3182 |
9 | | - |
10 | QString ret; | - |
11 | if (fileEngine == 0TRUE | evaluated 35988 times by 168 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| FALSE | evaluated 3404 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMimeDatabase
- ...
|
) { | 3404-35988 |
12 | switch (name) { | - |
13 | caseexecuted 24371 times by 143 tests: case QAbstractFileEngine::CanonicalName: Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
QAbstractFileEngine::CanonicalName:executed 24371 times by 143 tests: case QAbstractFileEngine::CanonicalName: Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
| 24371 |
14 | caseexecuted 1 time by 1 test: case QAbstractFileEngine::CanonicalPathName: QAbstractFileEngine::CanonicalPathName:executed 1 time by 1 test: case QAbstractFileEngine::CanonicalPathName: { | 1 |
15 | QFileSystemEntry entry = QFileSystemEngine::canonicalName(fileEntry, metaData); | - |
16 | if (cache_enabledTRUE | evaluated 24372 times by 143 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
| FALSE | never evaluated |
) { | 0-24372 |
17 | fileNames[QAbstractFileEngine::CanonicalName] = entry.filePath(); | - |
18 | fileNames[QAbstractFileEngine::CanonicalPathName] = entry.path(); | - |
19 | }executed 24372 times by 143 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
| 24372 |
20 | if (name == QAbstractFileEngine::CanonicalNameTRUE | evaluated 24371 times by 143 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
| FALSE | evaluated 1 time by 1 test |
) | 1-24371 |
21 | ret = entry.filePath();executed 24371 times by 143 tests: ret = entry.filePath(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
| 24371 |
22 | else | - |
23 | ret = entry.path();executed 1 time by 1 test: ret = entry.path(); | 1 |
24 | break;executed 24372 times by 143 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
| 24372 |
25 | } | - |
26 | caseexecuted 403 times by 10 tests: case QAbstractFileEngine::LinkName: Executed by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
QAbstractFileEngine::LinkName:executed 403 times by 10 tests: case QAbstractFileEngine::LinkName: Executed by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 403 |
27 | ret = QFileSystemEngine::getLinkTarget(fileEntry, metaData).filePath(); | - |
28 | break;executed 403 times by 10 tests: break; Executed by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 403 |
29 | caseexecuted 2 times by 1 test: case QAbstractFileEngine::BundleName: QAbstractFileEngine::BundleName:executed 2 times by 1 test: case QAbstractFileEngine::BundleName: | 2 |
30 | ret = QFileSystemEngine::bundleName(fileEntry); | - |
31 | break;executed 2 times by 1 test: break; | 2 |
32 | caseexecuted 9629 times by 54 tests: case QAbstractFileEngine::AbsoluteName: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- ...
QAbstractFileEngine::AbsoluteName:executed 9629 times by 54 tests: case QAbstractFileEngine::AbsoluteName: Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- ...
| 9629 |
33 | caseexecuted 1582 times by 31 tests: case QAbstractFileEngine::AbsolutePathName: Executed by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
QAbstractFileEngine::AbsolutePathName:executed 1582 times by 31 tests: case QAbstractFileEngine::AbsolutePathName: Executed by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
{ | 1582 |
34 | QFileSystemEntry entry = QFileSystemEngine::absoluteName(fileEntry); | - |
35 | if (cache_enabledTRUE | evaluated 11210 times by 70 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 1 time by 1 test |
) { | 1-11210 |
36 | fileNames[QAbstractFileEngine::AbsoluteName] = entry.filePath(); | - |
37 | fileNames[QAbstractFileEngine::AbsolutePathName] = entry.path(); | - |
38 | }executed 11210 times by 70 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- ...
| 11210 |
39 | if (name == QAbstractFileEngine::AbsoluteNameTRUE | evaluated 9629 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- ...
| FALSE | evaluated 1582 times by 31 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
|
) | 1582-9629 |
40 | ret = entry.filePath();executed 9629 times by 54 tests: ret = entry.filePath(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- ...
| 9629 |
41 | else | - |
42 | ret = entry.path();executed 1582 times by 31 tests: ret = entry.path(); Executed by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
| 1582 |
43 | break;executed 11211 times by 70 tests: break; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- ...
| 11211 |
44 | } | - |
45 | default never executed: default: :never executed: default: break;never executed: break; | 0 |
46 | } | - |
47 | } else { | - |
48 | ret = fileEngine->fileName(name); | - |
49 | }executed 3404 times by 37 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| 3404 |
50 | if (ret.isNull()TRUE | evaluated 647 times by 6 testsEvaluated by:- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| FALSE | evaluated 38745 times by 168 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
|
) | 647-38745 |
51 | ret = QLatin1String("");executed 647 times by 6 tests: ret = QLatin1String(""); Executed by:- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| 647 |
52 | if (cache_enabledTRUE | evaluated 39391 times by 168 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| FALSE | evaluated 1 time by 1 test |
) | 1-39391 |
53 | fileNames[(int)name] = ret;executed 39391 times by 168 tests: fileNames[(int)name] = ret; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| 39391 |
54 | returnexecuted 39392 times by 168 tests: return ret; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
ret;executed 39392 times by 168 tests: return ret; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| 39392 |
55 | } | - |
56 | | - |
57 | QString QFileInfoPrivate::getFileOwner(QAbstractFileEngine::FileOwner own) const | - |
58 | { | - |
59 | if (cache_enabledTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
&& !fileOwners[(int)own].isNull()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
60 | return never executed: return fileOwners[(int)own]; fileOwners[(int)own];never executed: return fileOwners[(int)own]; | 0 |
61 | QString ret; | - |
62 | if (fileEngine == 0TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
63 | switch (own) { | - |
64 | caseexecuted 1 time by 1 test: case QAbstractFileEngine::OwnerUser: QAbstractFileEngine::OwnerUser:executed 1 time by 1 test: case QAbstractFileEngine::OwnerUser: | 1 |
65 | ret = QFileSystemEngine::resolveUserName(fileEntry, metaData); | - |
66 | break;executed 1 time by 1 test: break; | 1 |
67 | caseexecuted 1 time by 1 test: case QAbstractFileEngine::OwnerGroup: QAbstractFileEngine::OwnerGroup:executed 1 time by 1 test: case QAbstractFileEngine::OwnerGroup: | 1 |
68 | ret = QFileSystemEngine::resolveGroupName(fileEntry, metaData); | - |
69 | break;executed 1 time by 1 test: break; | 1 |
70 | } | - |
71 | }executed 2 times by 1 test: end of block else { | 2 |
72 | ret = fileEngine->owner(own); | - |
73 | } never executed: end of block | 0 |
74 | if (ret.isNull()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
75 | ret = QLatin1String(""); never executed: ret = QLatin1String(""); | 0 |
76 | if (cache_enabledTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
77 | fileOwners[(int)own] = ret;executed 2 times by 1 test: fileOwners[(int)own] = ret; | 2 |
78 | returnexecuted 2 times by 1 test: return ret; ret;executed 2 times by 1 test: return ret; | 2 |
79 | } | - |
80 | | - |
81 | uint QFileInfoPrivate::getFileFlags(QAbstractFileEngine::FileFlags request) const | - |
82 | { | - |
83 | ((!(fileEngine)) ? qt_assert("fileEngine",__FILE__,126) : qt_noop()); | - |
84 | QAbstractFileEngine::FileFlags req = 0; | - |
85 | uint cachedFlags = 0; | - |
86 | | - |
87 | if (request & (QAbstractFileEngine::FlagsMask | QAbstractFileEngine::TypesMask)TRUE | evaluated 10733 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 222 times by 4 testsEvaluated by:- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
|
) { | 222-10733 |
88 | if (!getCachedFlag(CachedFileFlags)TRUE | evaluated 8670 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 2063 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) { | 2063-8670 |
89 | req |= QAbstractFileEngine::FlagsMask; | - |
90 | req |= QAbstractFileEngine::TypesMask; | - |
91 | req &= (~QAbstractFileEngine::LinkType); | - |
92 | req &= (~QAbstractFileEngine::BundleType); | - |
93 | | - |
94 | cachedFlags |= CachedFileFlags; | - |
95 | }executed 8670 times by 79 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 8670 |
96 | | - |
97 | if (request & QAbstractFileEngine::LinkTypeTRUE | evaluated 81 times by 3 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_rcc
| FALSE | evaluated 10652 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 81-10652 |
98 | if (!getCachedFlag(CachedLinkTypeFlag)TRUE | evaluated 81 times by 3 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_rcc
| FALSE | never evaluated |
) { | 0-81 |
99 | req |= QAbstractFileEngine::LinkType; | - |
100 | cachedFlags |= CachedLinkTypeFlag; | - |
101 | }executed 81 times by 3 tests: end of block Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_rcc
| 81 |
102 | }executed 81 times by 3 tests: end of block Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_rcc
| 81 |
103 | | - |
104 | if (request & QAbstractFileEngine::BundleTypeTRUE | never evaluated | FALSE | evaluated 10733 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 0-10733 |
105 | if (!getCachedFlag(CachedBundleTypeFlag)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
106 | req |= QAbstractFileEngine::BundleType; | - |
107 | cachedFlags |= CachedBundleTypeFlag; | - |
108 | } never executed: end of block | 0 |
109 | } never executed: end of block | 0 |
110 | }executed 10733 times by 79 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 10733 |
111 | | - |
112 | if (request & QAbstractFileEngine::PermsMaskTRUE | evaluated 222 times by 4 testsEvaluated by:- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
| FALSE | evaluated 10733 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
) { | 222-10733 |
113 | if (!getCachedFlag(CachedPerms)TRUE | evaluated 80 times by 4 testsEvaluated by:- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
| FALSE | evaluated 142 times by 1 test |
) { | 80-142 |
114 | req |= QAbstractFileEngine::PermsMask; | - |
115 | cachedFlags |= CachedPerms; | - |
116 | }executed 80 times by 4 tests: end of block Executed by:- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
| 80 |
117 | }executed 222 times by 4 tests: end of block Executed by:- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
| 222 |
118 | | - |
119 | if (reqTRUE | evaluated 8831 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 2124 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) { | 2124-8831 |
120 | if (cache_enabledTRUE | evaluated 8830 times by 79 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 1 time by 1 test |
) | 1-8830 |
121 | req &= (~QAbstractFileEngine::Refresh);executed 8830 times by 79 tests: req &= (~QAbstractFileEngine::Refresh); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 8830 |
122 | else | - |
123 | req |= QAbstractFileEngine::Refresh;executed 1 time by 1 test: req |= QAbstractFileEngine::Refresh; | 1 |
124 | | - |
125 | QAbstractFileEngine::FileFlags flags = fileEngine->fileFlags(req); | - |
126 | fileFlags |= uint(flags); | - |
127 | setCachedFlag(cachedFlags); | - |
128 | }executed 8831 times by 79 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 8831 |
129 | | - |
130 | returnexecuted 10955 times by 79 tests: return fileFlags & request; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
fileFlags & request;executed 10955 times by 79 tests: return fileFlags & request; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 10955 |
131 | } | - |
132 | | - |
133 | QDateTime &QFileInfoPrivate::getFileTime(QAbstractFileEngine::FileTime request) const | - |
134 | { | - |
135 | ((!(fileEngine)) ? qt_assert("fileEngine",__FILE__,187) : qt_noop()); | - |
136 | if (fileTimes.size() != 3TRUE | evaluated 998 times by 29 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| FALSE | evaluated 1 time by 1 test |
) | 1-998 |
137 | fileTimes.resize(3);executed 998 times by 29 tests: fileTimes.resize(3); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| 998 |
138 | if (!cache_enabledTRUE | never evaluated | FALSE | evaluated 999 times by 29 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
|
) | 0-999 |
139 | clearFlags(); never executed: clearFlags(); | 0 |
140 | uint cf; | - |
141 | if (request == QAbstractFileEngine::CreationTimeTRUE | never evaluated | FALSE | evaluated 999 times by 29 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
|
) | 0-999 |
142 | cf = CachedCTime; never executed: cf = CachedCTime; | 0 |
143 | else if (request == QAbstractFileEngine::ModificationTimeTRUE | evaluated 999 times by 29 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| FALSE | never evaluated |
) | 0-999 |
144 | cf = CachedMTime;executed 999 times by 29 tests: cf = CachedMTime; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| 999 |
145 | else | - |
146 | cf = CachedATime; never executed: cf = CachedATime; | 0 |
147 | if (!getCachedFlag(cf)TRUE | evaluated 998 times by 29 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| FALSE | evaluated 1 time by 1 test |
) { | 1-998 |
148 | fileTimes[request] = fileEngine->fileTime(request); | - |
149 | setCachedFlag(cf); | - |
150 | }executed 998 times by 29 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| 998 |
151 | returnexecuted 999 times by 29 tests: return fileTimes[request]; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
fileTimes[request];executed 999 times by 29 tests: return fileTimes[request]; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| 999 |
152 | } | - |
153 | QFileInfo::QFileInfo(QFileInfoPrivate *p) : d_ptr(p) | - |
154 | { | - |
155 | }executed 110212 times by 189 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- ...
| 110212 |
156 | QFileInfo::QFileInfo() : d_ptr(new QFileInfoPrivate()) | - |
157 | { | - |
158 | }executed 38000 times by 173 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| 38000 |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | | - |
165 | | - |
166 | QFileInfo::QFileInfo(const QString &file) : d_ptr(new QFileInfoPrivate(file)) | - |
167 | { | - |
168 | }executed 96060 times by 290 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- ...
| 96060 |
169 | QFileInfo::QFileInfo(const QFile &file) : d_ptr(new QFileInfoPrivate(file.fileName())) | - |
170 | { | - |
171 | }executed 240 times by 29 tests: end of block Executed by:- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPrinter
- tst_QProcess
- tst_QSidebar
- tst_QStyle
- ...
| 240 |
172 | QFileInfo::QFileInfo(const QDir &dir, const QString &file) | - |
173 | : d_ptr(new QFileInfoPrivate(dir.filePath(file))) | - |
174 | { | - |
175 | }executed 260 times by 7 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_languageChange
- tst_rcc
| 260 |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | QFileInfo::QFileInfo(const QFileInfo &fileinfo) | - |
181 | : d_ptr(fileinfo.d_ptr) | - |
182 | { | - |
183 | | - |
184 | }executed 125956 times by 154 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| 125956 |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
190 | QFileInfo::~QFileInfo() | - |
191 | { | - |
192 | } | - |
193 | bool QFileInfo::operator==(const QFileInfo &fileinfo) const | - |
194 | { | - |
195 | const QFileInfoPrivate * const d = d_func(); | - |
196 | | - |
197 | | - |
198 | if (fileinfo.d_ptr == d_ptrTRUE | evaluated 2729 times by 7 testsEvaluated by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
| FALSE | evaluated 690 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
|
) | 690-2729 |
199 | returnexecuted 2729 times by 7 tests: return true; Executed by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
true;executed 2729 times by 7 tests: return true; Executed by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
| 2729 |
200 | if (d->isDefaultConstructedTRUE | evaluated 2 times by 1 test | FALSE | evaluated 688 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
|
|| fileinfo.d_ptr->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 688 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
|
) | 0-688 |
201 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
202 | | - |
203 | | - |
204 | if (d->fileEntry.filePath() == fileinfo.d_ptr->fileEntry.filePath()TRUE | evaluated 642 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
| FALSE | evaluated 46 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_languageChange
|
) | 46-642 |
205 | returnexecuted 642 times by 9 tests: return true; Executed by:- tst_QCompleter
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
true;executed 642 times by 9 tests: return true; Executed by:- tst_QCompleter
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
| 642 |
206 | | - |
207 | Qt::CaseSensitivity sensitive; | - |
208 | if (d->fileEngine == 0TRUE | evaluated 46 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_languageChange
| FALSE | never evaluated |
|| fileinfo.d_ptr->fileEngine == 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0-46 |
209 | if (d->fileEngine != fileinfo.d_ptr->fileEngineTRUE | never evaluated | FALSE | evaluated 46 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_languageChange
|
) | 0-46 |
210 | return never executed: return false; false;never executed: return false; | 0 |
211 | | - |
212 | sensitive = QFileSystemEngine::isCaseSensitive()TRUE | evaluated 46 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_languageChange
| FALSE | never evaluated |
? Qt::CaseSensitive : Qt::CaseInsensitive; | 0-46 |
213 | }executed 46 times by 5 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_languageChange
else { | 46 |
214 | if (d->fileEngine->caseSensitive() != fileinfo.d_ptr->fileEngine->caseSensitive()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
215 | return never executed: return false; false;never executed: return false; | 0 |
216 | sensitive = d->fileEngine->caseSensitive()TRUE | never evaluated | FALSE | never evaluated |
? Qt::CaseSensitive : Qt::CaseInsensitive; | 0 |
217 | } never executed: end of block | 0 |
218 | | - |
219 | | - |
220 | returnexecuted 46 times by 5 tests: return canonicalFilePath().compare(fileinfo.canonicalFilePath(), sensitive) == 0; Executed by:- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_languageChange
canonicalFilePath().compare(fileinfo.canonicalFilePath(), sensitive) == 0;executed 46 times by 5 tests: return canonicalFilePath().compare(fileinfo.canonicalFilePath(), sensitive) == 0; Executed by:- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_languageChange
| 46 |
221 | } | - |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | QFileInfo &QFileInfo::operator=(const QFileInfo &fileinfo) | - |
227 | { | - |
228 | d_ptr = fileinfo.d_ptr; | - |
229 | returnexecuted 131904 times by 169 tests: return *this; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
*this;executed 131904 times by 169 tests: return *this; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| 131904 |
230 | } | - |
231 | void QFileInfo::setFile(const QString &file) | - |
232 | { | - |
233 | bool caching = d_ptr.constData()->cache_enabled; | - |
234 | *this = QFileInfo(file); | - |
235 | d_ptr->cache_enabled = caching; | - |
236 | }executed 1740 times by 25 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QApplication
- tst_QChar
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QKeySequence
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPluginLoader
- tst_QRawFont
- tst_QResourceEngine
- tst_QSaveFile
- tst_QTranslator
- tst_QVariant
- tst_qdbuscpp2xml
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| 1740 |
237 | void QFileInfo::setFile(const QFile &file) | - |
238 | { | - |
239 | setFile(file.fileName()); | - |
240 | }executed 1 time by 1 test: end of block | 1 |
241 | void QFileInfo::setFile(const QDir &dir, const QString &file) | - |
242 | { | - |
243 | setFile(dir.filePath(file)); | - |
244 | }executed 740 times by 2 tests: end of block Executed by:- tst_QFileInfo
- tst_selftests - unknown status
| 740 |
245 | QString QFileInfo::absoluteFilePath() const | - |
246 | { | - |
247 | const QFileInfoPrivate * const d = d_func(); | - |
248 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 16039 times by 65 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- ...
|
) | 0-16039 |
249 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
250 | returnexecuted 16039 times by 65 tests: return d->getFileName(QAbstractFileEngine::AbsoluteName); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- ...
d->getFileName(QAbstractFileEngine::AbsoluteName);executed 16039 times by 65 tests: return d->getFileName(QAbstractFileEngine::AbsoluteName); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- ...
| 16039 |
251 | } | - |
252 | QString QFileInfo::canonicalFilePath() const | - |
253 | { | - |
254 | const QFileInfoPrivate * const d = d_func(); | - |
255 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 24539 times by 143 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
|
) | 0-24539 |
256 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
257 | returnexecuted 24539 times by 143 tests: return d->getFileName(QAbstractFileEngine::CanonicalName); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
d->getFileName(QAbstractFileEngine::CanonicalName);executed 24539 times by 143 tests: return d->getFileName(QAbstractFileEngine::CanonicalName); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDirIterator
- ...
| 24539 |
258 | } | - |
259 | QString QFileInfo::absolutePath() const | - |
260 | { | - |
261 | const QFileInfoPrivate * const d = d_func(); | - |
262 | | - |
263 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 1590 times by 32 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
|
) { | 0-1590 |
264 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
265 | } else if (d->fileEntry.isEmpty()TRUE | never evaluated | FALSE | evaluated 1590 times by 32 testsEvaluated by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
|
) { | 0-1590 |
266 | QMessageLogger(__FILE__, 586, __PRETTY_FUNCTION__).warning("QFileInfo::absolutePath: Constructed with empty filename"); | - |
267 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
268 | } | - |
269 | returnexecuted 1590 times by 32 tests: return d->getFileName(QAbstractFileEngine::AbsolutePathName); Executed by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
d->getFileName(QAbstractFileEngine::AbsolutePathName);executed 1590 times by 32 tests: return d->getFileName(QAbstractFileEngine::AbsolutePathName); Executed by:- tst_QApplication
- tst_QClipboard
- tst_QColorDialog
- tst_QDir
- tst_QDirIterator
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QLockFile
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- ...
| 1590 |
270 | } | - |
271 | QString QFileInfo::canonicalPath() const | - |
272 | { | - |
273 | const QFileInfoPrivate * const d = d_func(); | - |
274 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
275 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
276 | returnexecuted 1 time by 1 test: return d->getFileName(QAbstractFileEngine::CanonicalPathName); d->getFileName(QAbstractFileEngine::CanonicalPathName);executed 1 time by 1 test: return d->getFileName(QAbstractFileEngine::CanonicalPathName); | 1 |
277 | } | - |
278 | QString QFileInfo::path() const | - |
279 | { | - |
280 | const QFileInfoPrivate * const d = d_func(); | - |
281 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 2186 times by 40 testsEvaluated by:- tst_QApplication
- tst_QChar
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QFileSelector
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPluginLoader
- tst_QRawFont
- tst_QSql
- tst_QTemporaryFile
- ...
|
) | 0-2186 |
282 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
283 | returnexecuted 2186 times by 40 tests: return d->fileEntry.path(); Executed by:- tst_QApplication
- tst_QChar
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QFileSelector
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPluginLoader
- tst_QRawFont
- tst_QSql
- tst_QTemporaryFile
- ...
d->fileEntry.path();executed 2186 times by 40 tests: return d->fileEntry.path(); Executed by:- tst_QApplication
- tst_QChar
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QFileSelector
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGraphicsScene
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPluginLoader
- tst_QRawFont
- tst_QSql
- tst_QTemporaryFile
- ...
| 2186 |
284 | } | - |
285 | bool QFileInfo::isRelative() const | - |
286 | { | - |
287 | const QFileInfoPrivate * const d = d_func(); | - |
288 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 20613 times by 253 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
|
) | 0-20613 |
289 | return never executed: return true; true;never executed: return true; | 0 |
290 | if (d->fileEngine == 0TRUE | evaluated 20600 times by 252 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| FALSE | evaluated 13 times by 5 testsEvaluated by:- tst_QDir
- tst_QGuiApplication
- tst_QKeySequence
- tst_QTextBrowser
- tst_QTranslator
|
) | 13-20600 |
291 | returnexecuted 20600 times by 252 tests: return d->fileEntry.isRelative(); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
d->fileEntry.isRelative();executed 20600 times by 252 tests: return d->fileEntry.isRelative(); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 20600 |
292 | returnexecuted 13 times by 5 tests: return d->fileEngine->isRelativePath(); Executed by:- tst_QDir
- tst_QGuiApplication
- tst_QKeySequence
- tst_QTextBrowser
- tst_QTranslator
d->fileEngine->isRelativePath();executed 13 times by 5 tests: return d->fileEngine->isRelativePath(); Executed by:- tst_QDir
- tst_QGuiApplication
- tst_QKeySequence
- tst_QTextBrowser
- tst_QTranslator
| 13 |
293 | } | - |
294 | bool QFileInfo::makeAbsolute() | - |
295 | { | - |
296 | if (d_ptr.constData()->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
297 | || !d_ptr.constData()->fileEntry.isRelative()TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
298 | return never executed: return false; false;never executed: return false; | 0 |
299 | | - |
300 | setFile(absoluteFilePath()); | - |
301 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
302 | } | - |
303 | | - |
304 | | - |
305 | | - |
306 | | - |
307 | | - |
308 | | - |
309 | | - |
310 | bool QFileInfo::exists() const | - |
311 | { | - |
312 | const QFileInfoPrivate * const d = d_func(); | - |
313 | if (d->isDefaultConstructedTRUE | evaluated 80 times by 2 testsEvaluated by:- tst_QFileInfo
- tst_qdbuscpp2xml - unknown status
| FALSE | evaluated 56301 times by 167 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
|
) | 80-56301 |
314 | returnexecuted 80 times by 2 tests: return false; Executed by:- tst_QFileInfo
- tst_qdbuscpp2xml - unknown status
false;executed 80 times by 2 tests: return false; Executed by:- tst_QFileInfo
- tst_qdbuscpp2xml - unknown status
| 80 |
315 | if (d->fileEngine == 0TRUE | evaluated 50179 times by 162 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| FALSE | evaluated 6122 times by 64 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- ...
|
) { | 6122-50179 |
316 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 50179 times by 162 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
|
|| !d->metaData.hasFlags(QFileSystemMetaData::ExistsAttribute)TRUE | evaluated 10490 times by 77 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| FALSE | evaluated 39689 times by 138 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
|
) | 0-50179 |
317 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::ExistsAttribute);executed 10490 times by 77 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::ExistsAttribute); Executed by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- ...
| 10490 |
318 | returnexecuted 50179 times by 162 tests: return d->metaData.exists(); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
d->metaData.exists();executed 50179 times by 162 tests: return d->metaData.exists(); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| 50179 |
319 | } | - |
320 | returnexecuted 6122 times by 64 tests: return d->getFileFlags(QAbstractFileEngine::ExistsFlag); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- ...
d->getFileFlags(QAbstractFileEngine::ExistsFlag);executed 6122 times by 64 tests: return d->getFileFlags(QAbstractFileEngine::ExistsFlag); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGraphicsProxyWidget
- ...
| 6122 |
321 | } | - |
322 | bool QFileInfo::exists(const QString &file) | - |
323 | { | - |
324 | QFileSystemEntry entry(file); | - |
325 | QFileSystemMetaData data; | - |
326 | QAbstractFileEngine *engine = | - |
327 | QFileSystemEngine::resolveEntryAndCreateLegacyEngine(entry, data); | - |
328 | | - |
329 | if (engineTRUE | evaluated 4525 times by 35 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QFileInfo
- tst_QFileSelector
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGuiApplication
- tst_QIcon
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPluginLoader
- tst_QRawFont
- tst_QResourceEngine
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- ...
| FALSE | evaluated 12770 times by 221 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
|
) | 4525-12770 |
330 | returnexecuted 4525 times by 35 tests: return QFileInfo(new QFileInfoPrivate(entry, data, engine)).exists(); Executed by:- tst_QAbstractFileEngine
- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QFileInfo
- tst_QFileSelector
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGuiApplication
- tst_QIcon
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPluginLoader
- tst_QRawFont
- tst_QResourceEngine
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- ...
QFileInfo(new QFileInfoPrivate(entry, data, engine)).exists();executed 4525 times by 35 tests: return QFileInfo(new QFileInfoPrivate(entry, data, engine)).exists(); Executed by:- tst_QAbstractFileEngine
- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QFileInfo
- tst_QFileSelector
- tst_QFontDialog
- tst_QGlobal
- tst_QGlyphRun
- tst_QGuiApplication
- tst_QIcon
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPluginLoader
- tst_QRawFont
- tst_QResourceEngine
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- ...
| 4525 |
331 | | - |
332 | QFileSystemEngine::fillMetaData(entry, data, QFileSystemMetaData::ExistsAttribute); | - |
333 | returnexecuted 12770 times by 221 tests: return data.exists(); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
data.exists();executed 12770 times by 221 tests: return data.exists(); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 12770 |
334 | } | - |
335 | | - |
336 | | - |
337 | | - |
338 | | - |
339 | | - |
340 | void QFileInfo::refresh() | - |
341 | { | - |
342 | QFileInfoPrivate * const d = d_func(); | - |
343 | d->clear(); | - |
344 | }executed 8 times by 2 tests: end of block Executed by:- tst_QFileInfo
- tst_QFileSystemWatcher
| 8 |
345 | | - |
346 | | - |
347 | | - |
348 | | - |
349 | | - |
350 | | - |
351 | | - |
352 | QString QFileInfo::filePath() const | - |
353 | { | - |
354 | const QFileInfoPrivate * const d = d_func(); | - |
355 | if (d->isDefaultConstructedTRUE | evaluated 176 times by 8 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | evaluated 59686 times by 175 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- ...
|
) | 176-59686 |
356 | returnexecuted 176 times by 8 tests: return QLatin1String(""); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
QLatin1String("");executed 176 times by 8 tests: return QLatin1String(""); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 176 |
357 | returnexecuted 59686 times by 175 tests: return d->fileEntry.filePath(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- ...
d->fileEntry.filePath();executed 59686 times by 175 tests: return d->fileEntry.filePath(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- ...
| 59686 |
358 | } | - |
359 | QString QFileInfo::fileName() const | - |
360 | { | - |
361 | const QFileInfoPrivate * const d = d_func(); | - |
362 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 48786 times by 136 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
|
) | 0-48786 |
363 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
364 | returnexecuted 48786 times by 136 tests: return d->fileEntry.fileName(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
d->fileEntry.fileName();executed 48786 times by 136 tests: return d->fileEntry.fileName(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| 48786 |
365 | } | - |
366 | QString QFileInfo::bundleName() const | - |
367 | { | - |
368 | const QFileInfoPrivate * const d = d_func(); | - |
369 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
370 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
371 | returnexecuted 2 times by 1 test: return d->getFileName(QAbstractFileEngine::BundleName); d->getFileName(QAbstractFileEngine::BundleName);executed 2 times by 1 test: return d->getFileName(QAbstractFileEngine::BundleName); | 2 |
372 | } | - |
373 | QString QFileInfo::baseName() const | - |
374 | { | - |
375 | const QFileInfoPrivate * const d = d_func(); | - |
376 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 11952 times by 82 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- ...
|
) | 0-11952 |
377 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
378 | returnexecuted 11952 times by 82 tests: return d->fileEntry.baseName(); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- ...
d->fileEntry.baseName();executed 11952 times by 82 tests: return d->fileEntry.baseName(); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- ...
| 11952 |
379 | } | - |
380 | QString QFileInfo::completeBaseName() const | - |
381 | { | - |
382 | const QFileInfoPrivate * const d = d_func(); | - |
383 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 7 times by 1 test |
) | 0-7 |
384 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
385 | returnexecuted 7 times by 1 test: return d->fileEntry.completeBaseName(); d->fileEntry.completeBaseName();executed 7 times by 1 test: return d->fileEntry.completeBaseName(); | 7 |
386 | } | - |
387 | QString QFileInfo::completeSuffix() const | - |
388 | { | - |
389 | const QFileInfoPrivate * const d = d_func(); | - |
390 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 1112 times by 35 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGroupBox
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPixmap
- tst_QPixmapFilter
- tst_QPlugin
- ...
|
) | 0-1112 |
391 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
392 | returnexecuted 1112 times by 35 tests: return d->fileEntry.completeSuffix(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGroupBox
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPixmap
- tst_QPixmapFilter
- tst_QPlugin
- ...
d->fileEntry.completeSuffix();executed 1112 times by 35 tests: return d->fileEntry.completeSuffix(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGroupBox
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QPixmap
- tst_QPixmapFilter
- tst_QPlugin
- ...
| 1112 |
393 | } | - |
394 | QString QFileInfo::suffix() const | - |
395 | { | - |
396 | const QFileInfoPrivate * const d = d_func(); | - |
397 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 17087 times by 77 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
|
) | 0-17087 |
398 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
399 | returnexecuted 17087 times by 77 tests: return d->fileEntry.suffix(); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
d->fileEntry.suffix();executed 17087 times by 77 tests: return d->fileEntry.suffix(); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsEffect
- ...
| 17087 |
400 | } | - |
401 | QDir QFileInfo::dir() const | - |
402 | { | - |
403 | const QFileInfoPrivate * const d = d_func(); | - |
404 | | - |
405 | returnexecuted 15 times by 3 tests: return QDir(d->fileEntry.path()); Executed by:- tst_QDirModel
- tst_QFileInfo
- tst_QSettings
QDir(d->fileEntry.path());executed 15 times by 3 tests: return QDir(d->fileEntry.path()); Executed by:- tst_QDirModel
- tst_QFileInfo
- tst_QSettings
| 15 |
406 | } | - |
407 | | - |
408 | | - |
409 | | - |
410 | | - |
411 | | - |
412 | | - |
413 | QDir QFileInfo::absoluteDir() const | - |
414 | { | - |
415 | returnexecuted 41 times by 5 tests: return QDir(absolutePath()); Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
QDir(absolutePath());executed 41 times by 5 tests: return QDir(absolutePath()); Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QFiledialog
| 41 |
416 | } | - |
417 | bool QFileInfo::isReadable() const | - |
418 | { | - |
419 | const QFileInfoPrivate * const d = d_func(); | - |
420 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 200 times by 6 testsEvaluated by:- tst_QDir
- tst_QKeySequence
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
|
) | 0-200 |
421 | return never executed: return false; false;never executed: return false; | 0 |
422 | if (d->fileEngine == 0TRUE | evaluated 125 times by 4 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
| FALSE | evaluated 75 times by 3 testsEvaluated by:- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
|
) { | 75-125 |
423 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 125 times by 4 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
|
|| !d->metaData.hasFlags(QFileSystemMetaData::UserReadPermission)TRUE | evaluated 125 times by 4 testsEvaluated by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
| FALSE | never evaluated |
) | 0-125 |
424 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserReadPermission);executed 125 times by 4 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserReadPermission); Executed by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
| 125 |
425 | returnexecuted 125 times by 4 tests: return (d->metaData.permissions() & QFile::ReadUser) != 0; Executed by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
(d->metaData.permissions() & QFile::ReadUser) != 0;executed 125 times by 4 tests: return (d->metaData.permissions() & QFile::ReadUser) != 0; Executed by:- tst_QDir
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
| 125 |
426 | } | - |
427 | returnexecuted 75 times by 3 tests: return d->getFileFlags(QAbstractFileEngine::ReadUserPerm); Executed by:- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
d->getFileFlags(QAbstractFileEngine::ReadUserPerm);executed 75 times by 3 tests: return d->getFileFlags(QAbstractFileEngine::ReadUserPerm); Executed by:- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
| 75 |
428 | } | - |
429 | bool QFileInfo::isWritable() const | - |
430 | { | - |
431 | const QFileInfoPrivate * const d = d_func(); | - |
432 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 538 times by 11 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QResourceEngine
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
|
) | 0-538 |
433 | return never executed: return false; false;never executed: return false; | 0 |
434 | if (d->fileEngine == 0TRUE | evaluated 467 times by 10 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
| FALSE | evaluated 71 times by 1 test |
) { | 71-467 |
435 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 467 times by 10 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
|
|| !d->metaData.hasFlags(QFileSystemMetaData::UserWritePermission)TRUE | evaluated 467 times by 10 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
| FALSE | never evaluated |
) | 0-467 |
436 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserWritePermission);executed 467 times by 10 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserWritePermission); Executed by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
| 467 |
437 | returnexecuted 467 times by 10 tests: return (d->metaData.permissions() & QFile::WriteUser) != 0; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
(d->metaData.permissions() & QFile::WriteUser) != 0;executed 467 times by 10 tests: return (d->metaData.permissions() & QFile::WriteUser) != 0; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
| 467 |
438 | } | - |
439 | returnexecuted 71 times by 1 test: return d->getFileFlags(QAbstractFileEngine::WriteUserPerm); d->getFileFlags(QAbstractFileEngine::WriteUserPerm);executed 71 times by 1 test: return d->getFileFlags(QAbstractFileEngine::WriteUserPerm); | 71 |
440 | } | - |
441 | | - |
442 | | - |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | bool QFileInfo::isExecutable() const | - |
448 | { | - |
449 | const QFileInfoPrivate * const d = d_func(); | - |
450 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 89 times by 6 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_QThreadStorage
- tst_qstandardpaths
|
) | 0-89 |
451 | return never executed: return false; false;never executed: return false; | 0 |
452 | if (d->fileEngine == 0TRUE | evaluated 18 times by 5 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QThreadStorage
- tst_qstandardpaths
| FALSE | evaluated 71 times by 1 test |
) { | 18-71 |
453 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 18 times by 5 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QThreadStorage
- tst_qstandardpaths
|
|| !d->metaData.hasFlags(QFileSystemMetaData::UserExecutePermission)TRUE | evaluated 18 times by 5 testsEvaluated by:- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QThreadStorage
- tst_qstandardpaths
| FALSE | never evaluated |
) | 0-18 |
454 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserExecutePermission);executed 18 times by 5 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserExecutePermission); Executed by:- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QThreadStorage
- tst_qstandardpaths
| 18 |
455 | returnexecuted 18 times by 5 tests: return (d->metaData.permissions() & QFile::ExeUser) != 0; Executed by:- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QThreadStorage
- tst_qstandardpaths
(d->metaData.permissions() & QFile::ExeUser) != 0;executed 18 times by 5 tests: return (d->metaData.permissions() & QFile::ExeUser) != 0; Executed by:- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QThreadStorage
- tst_qstandardpaths
| 18 |
456 | } | - |
457 | returnexecuted 71 times by 1 test: return d->getFileFlags(QAbstractFileEngine::ExeUserPerm); d->getFileFlags(QAbstractFileEngine::ExeUserPerm);executed 71 times by 1 test: return d->getFileFlags(QAbstractFileEngine::ExeUserPerm); | 71 |
458 | } | - |
459 | | - |
460 | | - |
461 | | - |
462 | | - |
463 | | - |
464 | | - |
465 | | - |
466 | bool QFileInfo::isHidden() const | - |
467 | { | - |
468 | const QFileInfoPrivate * const d = d_func(); | - |
469 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 41811 times by 138 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
|
) | 0-41811 |
470 | return never executed: return false; false;never executed: return false; | 0 |
471 | if (d->fileEngine == 0TRUE | evaluated 41224 times by 135 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 587 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
|
) { | 587-41224 |
472 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 41224 times by 135 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
|| !d->metaData.hasFlags(QFileSystemMetaData::HiddenAttribute)TRUE | evaluated 38803 times by 135 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 2421 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QSslCertificate
- tst_languageChange
|
) | 0-41224 |
473 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::HiddenAttribute);executed 38803 times by 135 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::HiddenAttribute); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 38803 |
474 | returnexecuted 41224 times by 135 tests: return d->metaData.isHidden(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
d->metaData.isHidden();executed 41224 times by 135 tests: return d->metaData.isHidden(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 41224 |
475 | } | - |
476 | returnexecuted 587 times by 7 tests: return d->getFileFlags(QAbstractFileEngine::HiddenFlag); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
d->getFileFlags(QAbstractFileEngine::HiddenFlag);executed 587 times by 7 tests: return d->getFileFlags(QAbstractFileEngine::HiddenFlag); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 587 |
477 | } | - |
478 | bool QFileInfo::isNativePath() const | - |
479 | { | - |
480 | const QFileInfoPrivate * const d = d_func(); | - |
481 | if (d->isDefaultConstructedTRUE | evaluated 1 time by 1 test | FALSE | evaluated 444 times by 124 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
) | 1-444 |
482 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
483 | if (d->fileEngine == 0TRUE | evaluated 401 times by 124 testsEvaluated by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| FALSE | evaluated 43 times by 5 testsEvaluated by:- tst_QFileInfo
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
|
) | 43-401 |
484 | returnexecuted 401 times by 124 tests: return true; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
true;executed 401 times by 124 tests: return true; Executed by:- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QComplexText
- tst_QCssParser
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 401 |
485 | returnexecuted 43 times by 5 tests: return d->getFileFlags(QAbstractFileEngine::LocalDiskFlag); Executed by:- tst_QFileInfo
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
d->getFileFlags(QAbstractFileEngine::LocalDiskFlag);executed 43 times by 5 tests: return d->getFileFlags(QAbstractFileEngine::LocalDiskFlag); Executed by:- tst_QFileInfo
- tst_QFontDialog
- tst_QFontMetrics
- tst_QGlyphRun
- tst_QRawFont
| 43 |
486 | } | - |
487 | bool QFileInfo::isFile() const | - |
488 | { | - |
489 | const QFileInfoPrivate * const d = d_func(); | - |
490 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 93735 times by 165 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
|
) | 0-93735 |
491 | return never executed: return false; false;never executed: return false; | 0 |
492 | if (d->fileEngine == 0TRUE | evaluated 93159 times by 162 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| FALSE | evaluated 576 times by 9 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
- tst_QVariant
- tst_rcc
|
) { | 576-93159 |
493 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 93159 times by 162 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
|
|| !d->metaData.hasFlags(QFileSystemMetaData::FileType)TRUE | evaluated 40041 times by 75 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- ...
| FALSE | evaluated 53118 times by 132 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- ...
|
) | 0-93159 |
494 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::FileType);executed 40041 times by 75 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::FileType); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- ...
| 40041 |
495 | returnexecuted 93159 times by 162 tests: return d->metaData.isFile(); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
d->metaData.isFile();executed 93159 times by 162 tests: return d->metaData.isFile(); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- ...
| 93159 |
496 | } | - |
497 | returnexecuted 576 times by 9 tests: return d->getFileFlags(QAbstractFileEngine::FileType); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
- tst_QVariant
- tst_rcc
d->getFileFlags(QAbstractFileEngine::FileType);executed 576 times by 9 tests: return d->getFileFlags(QAbstractFileEngine::FileType); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileInfo
- tst_QKeySequence
- tst_QResourceEngine
- tst_QTranslator
- tst_QVariant
- tst_rcc
| 576 |
498 | } | - |
499 | | - |
500 | | - |
501 | | - |
502 | | - |
503 | | - |
504 | | - |
505 | | - |
506 | bool QFileInfo::isDir() const | - |
507 | { | - |
508 | const QFileInfoPrivate * const d = d_func(); | - |
509 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 122940 times by 162 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
|
) | 0-122940 |
510 | return never executed: return false; false;never executed: return false; | 0 |
511 | if (d->fileEngine == 0TRUE | evaluated 119618 times by 160 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
| FALSE | evaluated 3322 times by 38 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
|
) { | 3322-119618 |
512 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 119618 times by 160 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
|
|| !d->metaData.hasFlags(QFileSystemMetaData::DirectoryType)TRUE | evaluated 2049 times by 44 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| FALSE | evaluated 117569 times by 156 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
|
) | 0-119618 |
513 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::DirectoryType);executed 2049 times by 44 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::DirectoryType); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| 2049 |
514 | returnexecuted 119618 times by 160 tests: return d->metaData.isDirectory(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
d->metaData.isDirectory();executed 119618 times by 160 tests: return d->metaData.isDirectory(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QErrorMessage
- ...
| 119618 |
515 | } | - |
516 | returnexecuted 3322 times by 38 tests: return d->getFileFlags(QAbstractFileEngine::DirectoryType); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
d->getFileFlags(QAbstractFileEngine::DirectoryType);executed 3322 times by 38 tests: return d->getFileFlags(QAbstractFileEngine::DirectoryType); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| 3322 |
517 | } | - |
518 | bool QFileInfo::isBundle() const | - |
519 | { | - |
520 | const QFileInfoPrivate * const d = d_func(); | - |
521 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 240 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_qstandardpaths
|
) | 0-240 |
522 | return never executed: return false; false;never executed: return false; | 0 |
523 | if (d->fileEngine == 0TRUE | evaluated 240 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_qstandardpaths
| FALSE | never evaluated |
) { | 0-240 |
524 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 240 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_qstandardpaths
|
|| !d->metaData.hasFlags(QFileSystemMetaData::BundleType)TRUE | never evaluated | FALSE | evaluated 240 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_qstandardpaths
|
) | 0-240 |
525 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::BundleType); never executed: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::BundleType); | 0 |
526 | returnexecuted 240 times by 5 tests: return d->metaData.isBundle(); Executed by:- tst_NetworkSelfTest
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_qstandardpaths
d->metaData.isBundle();executed 240 times by 5 tests: return d->metaData.isBundle(); Executed by:- tst_NetworkSelfTest
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_qstandardpaths
| 240 |
527 | } | - |
528 | return never executed: return d->getFileFlags(QAbstractFileEngine::BundleType); d->getFileFlags(QAbstractFileEngine::BundleType);never executed: return d->getFileFlags(QAbstractFileEngine::BundleType); | 0 |
529 | } | - |
530 | bool QFileInfo::isSymLink() const | - |
531 | { | - |
532 | const QFileInfoPrivate * const d = d_func(); | - |
533 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 26121 times by 58 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QItemModel
- ...
|
) | 0-26121 |
534 | return never executed: return false; false;never executed: return false; | 0 |
535 | if (d->fileEngine == 0TRUE | evaluated 26040 times by 57 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QItemModel
- ...
| FALSE | evaluated 81 times by 3 testsEvaluated by:- tst_QDirIterator
- tst_QFileInfo
- tst_rcc
|
) { | 81-26040 |
536 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 26040 times by 57 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QItemModel
- ...
|
|| !d->metaData.hasFlags(QFileSystemMetaData::LegacyLinkType)TRUE | evaluated 4914 times by 40 testsEvaluated by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemModel
- tst_QLockFile
- tst_QNetworkConfigurationManager
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- ...
| FALSE | evaluated 21126 times by 30 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSidebar
- tst_QTemporaryDir
- tst_languageChange
- tst_qfileinfo - unknown status
- tst_qmakelib
- tst_qmimedatabase-cache - unknown status
- ...
|
) | 0-26040 |
537 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::LegacyLinkType);executed 4914 times by 40 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::LegacyLinkType); Executed by:- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QItemModel
- tst_QLockFile
- tst_QNetworkConfigurationManager
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- ...
| 4914 |
538 | returnexecuted 26040 times by 57 tests: return d->metaData.isLegacyLink(); Executed by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QItemModel
- ...
d->metaData.isLegacyLink();executed 26040 times by 57 tests: return d->metaData.isLegacyLink(); Executed by:- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QItemModel
- ...
| 26040 |
539 | } | - |
540 | returnexecuted 81 times by 3 tests: return d->getFileFlags(QAbstractFileEngine::LinkType); Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_rcc
d->getFileFlags(QAbstractFileEngine::LinkType);executed 81 times by 3 tests: return d->getFileFlags(QAbstractFileEngine::LinkType); Executed by:- tst_QDirIterator
- tst_QFileInfo
- tst_rcc
| 81 |
541 | } | - |
542 | | - |
543 | | - |
544 | | - |
545 | | - |
546 | | - |
547 | | - |
548 | bool QFileInfo::isRoot() const | - |
549 | { | - |
550 | const QFileInfoPrivate * const d = d_func(); | - |
551 | if (d->isDefaultConstructedTRUE | evaluated 2 times by 1 test | FALSE | evaluated 13776 times by 13 testsEvaluated by:- tst_QCompleter
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
- tst_qmakelib
|
) | 2-13776 |
552 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
553 | if (d->fileEngine == 0TRUE | evaluated 13774 times by 13 testsEvaluated by:- tst_QCompleter
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 2 times by 1 test |
) { | 2-13774 |
554 | if (d->fileEntry.isRoot()TRUE | evaluated 653 times by 11 testsEvaluated by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
| FALSE | evaluated 13121 times by 13 testsEvaluated by:- tst_QCompleter
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
- tst_qmakelib
|
) { | 653-13121 |
555 | | - |
556 | | - |
557 | | - |
558 | | - |
559 | | - |
560 | | - |
561 | | - |
562 | returnexecuted 653 times by 11 tests: return true; Executed by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
true;executed 653 times by 11 tests: return true; Executed by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
| 653 |
563 | | - |
564 | } | - |
565 | returnexecuted 13121 times by 13 tests: return false; Executed by:- tst_QCompleter
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
- tst_qmakelib
false;executed 13121 times by 13 tests: return false; Executed by:- tst_QCompleter
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_languageChange
- tst_qmakelib
| 13121 |
566 | } | - |
567 | returnexecuted 2 times by 1 test: return d->getFileFlags(QAbstractFileEngine::RootFlag); d->getFileFlags(QAbstractFileEngine::RootFlag);executed 2 times by 1 test: return d->getFileFlags(QAbstractFileEngine::RootFlag); | 2 |
568 | } | - |
569 | QString QFileInfo::readLink() const | - |
570 | { | - |
571 | const QFileInfoPrivate * const d = d_func(); | - |
572 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 403 times by 10 testsEvaluated by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
) | 0-403 |
573 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
574 | returnexecuted 403 times by 10 tests: return d->getFileName(QAbstractFileEngine::LinkName); Executed by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
d->getFileName(QAbstractFileEngine::LinkName);executed 403 times by 10 tests: return d->getFileName(QAbstractFileEngine::LinkName); Executed by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QItemModel
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 403 |
575 | } | - |
576 | QString QFileInfo::owner() const | - |
577 | { | - |
578 | const QFileInfoPrivate * const d = d_func(); | - |
579 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
580 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
581 | returnexecuted 1 time by 1 test: return d->getFileOwner(QAbstractFileEngine::OwnerUser); d->getFileOwner(QAbstractFileEngine::OwnerUser);executed 1 time by 1 test: return d->getFileOwner(QAbstractFileEngine::OwnerUser); | 1 |
582 | } | - |
583 | uint QFileInfo::ownerId() const | - |
584 | { | - |
585 | const QFileInfoPrivate * const d = d_func(); | - |
586 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 45 times by 2 testsEvaluated by:- tst_QFileSystemWatcher
- tst_qstandardpaths
|
) | 0-45 |
587 | return never executed: return 0; 0;never executed: return 0; | 0 |
588 | if (d->fileEngine == 0TRUE | evaluated 45 times by 2 testsEvaluated by:- tst_QFileSystemWatcher
- tst_qstandardpaths
| FALSE | never evaluated |
) { | 0-45 |
589 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 45 times by 2 testsEvaluated by:- tst_QFileSystemWatcher
- tst_qstandardpaths
|
|| !d->metaData.hasFlags(QFileSystemMetaData::UserId)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 41 times by 2 testsEvaluated by:- tst_QFileSystemWatcher
- tst_qstandardpaths
|
) | 0-45 |
590 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserId);executed 4 times by 1 test: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::UserId); | 4 |
591 | returnexecuted 45 times by 2 tests: return d->metaData.userId(); Executed by:- tst_QFileSystemWatcher
- tst_qstandardpaths
d->metaData.userId();executed 45 times by 2 tests: return d->metaData.userId(); Executed by:- tst_QFileSystemWatcher
- tst_qstandardpaths
| 45 |
592 | } | - |
593 | return never executed: return d->fileEngine->ownerId(QAbstractFileEngine::OwnerUser); d->fileEngine->ownerId(QAbstractFileEngine::OwnerUser);never executed: return d->fileEngine->ownerId(QAbstractFileEngine::OwnerUser); | 0 |
594 | } | - |
595 | QString QFileInfo::group() const | - |
596 | { | - |
597 | const QFileInfoPrivate * const d = d_func(); | - |
598 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
599 | return never executed: return QLatin1String(""); QLatin1String("");never executed: return QLatin1String(""); | 0 |
600 | returnexecuted 1 time by 1 test: return d->getFileOwner(QAbstractFileEngine::OwnerGroup); d->getFileOwner(QAbstractFileEngine::OwnerGroup);executed 1 time by 1 test: return d->getFileOwner(QAbstractFileEngine::OwnerGroup); | 1 |
601 | } | - |
602 | uint QFileInfo::groupId() const | - |
603 | { | - |
604 | const QFileInfoPrivate * const d = d_func(); | - |
605 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 38 times by 1 test |
) | 0-38 |
606 | return never executed: return 0; 0;never executed: return 0; | 0 |
607 | if (d->fileEngine == 0TRUE | evaluated 38 times by 1 test | FALSE | never evaluated |
) { | 0-38 |
608 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 38 times by 1 test |
|| !d->metaData.hasFlags(QFileSystemMetaData::GroupId)TRUE | never evaluated | FALSE | evaluated 38 times by 1 test |
) | 0-38 |
609 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::GroupId); never executed: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::GroupId); | 0 |
610 | returnexecuted 38 times by 1 test: return d->metaData.groupId(); d->metaData.groupId();executed 38 times by 1 test: return d->metaData.groupId(); | 38 |
611 | } | - |
612 | return never executed: return d->fileEngine->ownerId(QAbstractFileEngine::OwnerGroup); d->fileEngine->ownerId(QAbstractFileEngine::OwnerGroup);never executed: return d->fileEngine->ownerId(QAbstractFileEngine::OwnerGroup); | 0 |
613 | } | - |
614 | bool QFileInfo::permission(QFile::Permissions permissions) const | - |
615 | { | - |
616 | const QFileInfoPrivate * const d = d_func(); | - |
617 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 5 times by 1 test |
) | 0-5 |
618 | return never executed: return false; false;never executed: return false; | 0 |
619 | if (d->fileEngine == 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3 times by 1 test |
) { | 2-3 |
620 | | - |
621 | QFileSystemMetaData::MetaDataFlag permissionFlags = static_cast<QFileSystemMetaData::MetaDataFlag>((int)permissions); | - |
622 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
|| !d->metaData.hasFlags(permissionFlags)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
623 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, permissionFlags);executed 2 times by 1 test: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, permissionFlags); | 2 |
624 | returnexecuted 2 times by 1 test: return (d->metaData.permissions() & permissions) == permissions; (d->metaData.permissions() & permissions) == permissions;executed 2 times by 1 test: return (d->metaData.permissions() & permissions) == permissions; | 2 |
625 | } | - |
626 | returnexecuted 3 times by 1 test: return d->getFileFlags(QAbstractFileEngine::FileFlags((int)permissions)) == (uint)permissions; d->getFileFlags(QAbstractFileEngine::FileFlags((int)permissions)) == (uint)permissions;executed 3 times by 1 test: return d->getFileFlags(QAbstractFileEngine::FileFlags((int)permissions)) == (uint)permissions; | 3 |
627 | } | - |
628 | QFile::Permissions QFileInfo::permissions() const | - |
629 | { | - |
630 | const QFileInfoPrivate * const d = d_func(); | - |
631 | if (d->isDefaultConstructedTRUE | never evaluated | FALSE | evaluated 14912 times by 13 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qstandardpaths
|
) | 0-14912 |
632 | return never executed: return 0; 0;never executed: return 0; | 0 |
633 | if (d->fileEngine == 0TRUE | evaluated 14910 times by 13 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qstandardpaths
| FALSE | evaluated 2 times by 1 test |
) { | 2-14910 |
634 | if (!d->cache_enabledTRUE | never evaluated | FALSE | evaluated 14910 times by 13 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qstandardpaths
|
|| !d->metaData.hasFlags(QFileSystemMetaData::Permissions)TRUE | evaluated 5045 times by 13 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qstandardpaths
| FALSE | evaluated 9865 times by 7 testsEvaluated by:- tst_QCompleter
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_languageChange
|
) | 0-14910 |
635 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::Permissions);executed 5045 times by 13 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::Permissions); Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qstandardpaths
| 5045 |
636 | returnexecuted 14910 times by 13 tests: return d->metaData.permissions(); Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qstandardpaths
d->metaData.permissions();executed 14910 times by 13 tests: return d->metaData.permissions(); Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qstandardpaths
| 14910 |
637 | } | - |
638 | returnexecuted 2 times by 1 test: return QFile::Permissions(d->getFileFlags(QAbstractFileEngine::PermsMask) & QAbstractFileEngine::PermsMask); QFile::Permissions(d->getFileFlags(QAbstractFileEngine::PermsMask) & QAbstractFileEngine::PermsMask);executed 2 times by 1 test: return QFile::Permissions(d->getFileFlags(QAbstractFileEngine::PermsMask) & QAbstractFileEngine::PermsMask); | 2 |
639 | } | - |
640 | qint64 QFileInfo::size() const | - |
641 | { | - |
642 | const QFileInfoPrivate * const d = d_func(); | - |
643 | if (d->isDefaultConstructedTRUE | evaluated 1 time by 1 test | FALSE | evaluated 10450 times by 54 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- ...
|
) | 1-10450 |
644 | returnexecuted 1 time by 1 test: return 0; 0;executed 1 time by 1 test: return 0; | 1 |
645 | if (d->fileEngine == 0TRUE | evaluated 9355 times by 46 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- ...
| FALSE | evaluated 1095 times by 31 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QResourceEngine
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- ...
|
) { | 1095-9355 |
646 | if (!d->cache_enabledTRUE | evaluated 2 times by 1 test | FALSE | evaluated 9353 times by 45 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- ...
|
|| !d->metaData.hasFlags(QFileSystemMetaData::SizeAttribute)TRUE | evaluated 4874 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPixmap
- tst_QResourceEngine
- tst_QSettings
- tst_QTemporaryFile
- tst_QTextFormat
- tst_languageChange
| FALSE | evaluated 4479 times by 41 testsEvaluated by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkDiskCache
- ...
|
) | 2-9353 |
647 | QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::SizeAttribute);executed 4876 times by 21 tests: QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::SizeAttribute); Executed by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPixmap
- tst_QProcess
- tst_QResourceEngine
- tst_QSettings
- tst_QTemporaryFile
- tst_QTextFormat
- tst_languageChange
| 4876 |
648 | returnexecuted 9355 times by 46 tests: return d->metaData.size(); Executed by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- ...
d->metaData.size();executed 9355 times by 46 tests: return d->metaData.size(); Executed by:- tst_LargeFile
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- ...
| 9355 |
649 | } | - |
650 | if (!d->getCachedFlag(QFileInfoPrivate::CachedSize)TRUE | evaluated 1066 times by 31 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QResourceEngine
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- ...
| FALSE | evaluated 29 times by 3 testsEvaluated by:- tst_QIcon
- tst_QSettings
- tst_selftests - unknown status
|
) { | 29-1066 |
651 | d->setCachedFlag(QFileInfoPrivate::CachedSize); | - |
652 | d->fileSize = d->fileEngine->size(); | - |
653 | }executed 1066 times by 31 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QResourceEngine
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- ...
| 1066 |
654 | returnexecuted 1095 times by 31 tests: return d->fileSize; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QResourceEngine
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- ...
d->fileSize;executed 1095 times by 31 tests: return d->fileSize; Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QResourceEngine
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- ...
| 1095 |
655 | } | - |
656 | QDateTime QFileInfo::created() const | - |
657 | { | - |
658 | const QFileInfoPrivate * const d = d_func(); | - |
659 | if (d->isDefaultConstructedTRUE | evaluated 1 time by 1 test | FALSE | evaluated 104 times by 3 testsEvaluated by:- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
|
) | 1-104 |
660 | returnexecuted 1 time by 1 test: return QDateTime(); QDateTime();executed 1 time by 1 test: return QDateTime(); | 1 |
661 | if (d->fileEngine == 0TRUE | evaluated 104 times by 3 testsEvaluated by:- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
| FALSE | never evaluated |
) { | 0-104 |
662 | if (!d->cache_enabledTRUE | evaluated 2 times by 1 test | FALSE | evaluated 102 times by 3 testsEvaluated by:- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
|
|| !d->metaData.hasFlags(QFileSystemMetaData::CreationTime)TRUE | evaluated 102 times by 3 testsEvaluated by:- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
| FALSE | never evaluated |
) | 0-102 |
663 | if (!QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::CreationTime)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 101 times by 3 testsEvaluated by:- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
|
) | 3-101 |
664 | returnexecuted 3 times by 1 test: return QDateTime(); QDateTime();executed 3 times by 1 test: return QDateTime(); | 3 |
665 | returnexecuted 101 times by 3 tests: return d->metaData.creationTime(); Executed by:- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
d->metaData.creationTime();executed 101 times by 3 tests: return d->metaData.creationTime(); Executed by:- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
| 101 |
666 | } | - |
667 | return never executed: return d->getFileTime(QAbstractFileEngine::CreationTime); d->getFileTime(QAbstractFileEngine::CreationTime);never executed: return d->getFileTime(QAbstractFileEngine::CreationTime); | 0 |
668 | } | - |
669 | | - |
670 | | - |
671 | | - |
672 | | - |
673 | | - |
674 | | - |
675 | QDateTime QFileInfo::lastModified() const | - |
676 | { | - |
677 | const QFileInfoPrivate * const d = d_func(); | - |
678 | if (d->isDefaultConstructedTRUE | evaluated 1 time by 1 test | FALSE | evaluated 11574 times by 55 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFontDialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGroupBox
- ...
|
) | 1-11574 |
679 | returnexecuted 1 time by 1 test: return QDateTime(); QDateTime();executed 1 time by 1 test: return QDateTime(); | 1 |
680 | if (d->fileEngine == 0TRUE | evaluated 10575 times by 47 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- ...
| FALSE | evaluated 999 times by 29 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
|
) { | 999-10575 |
681 | if (!d->cache_enabledTRUE | evaluated 2 times by 1 test | FALSE | evaluated 10573 times by 47 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- ...
|
|| !d->metaData.hasFlags(QFileSystemMetaData::ModificationTime)TRUE | evaluated 4525 times by 42 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- ...
| FALSE | evaluated 6048 times by 39 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QPixmap
- ...
|
) | 2-10573 |
682 | if (!QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::ModificationTime)TRUE | evaluated 2911 times by 10 testsEvaluated by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QPixmap
- tst_QSettings
- tst_QTextFormat
- tst_languageChange
| FALSE | evaluated 1616 times by 38 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontComboBox
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QLockFile
- ...
|
) | 1616-2911 |
683 | returnexecuted 2911 times by 10 tests: return QDateTime(); Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QPixmap
- tst_QSettings
- tst_QTextFormat
- tst_languageChange
QDateTime();executed 2911 times by 10 tests: return QDateTime(); Executed by:- tst_QColorDialog
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QPixmap
- tst_QSettings
- tst_QTextFormat
- tst_languageChange
| 2911 |
684 | returnexecuted 7664 times by 46 tests: return d->metaData.modificationTime(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- ...
d->metaData.modificationTime();executed 7664 times by 46 tests: return d->metaData.modificationTime(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- tst_QFrame
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QGuiVariant
- tst_QIcon
- tst_QItemModel
- ...
| 7664 |
685 | } | - |
686 | returnexecuted 999 times by 29 tests: return d->getFileTime(QAbstractFileEngine::ModificationTime); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
d->getFileTime(QAbstractFileEngine::ModificationTime);executed 999 times by 29 tests: return d->getFileTime(QAbstractFileEngine::ModificationTime); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGroupBox
- tst_QIcon
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QNetworkReply
- tst_QPixmap
- tst_QPrinter
- tst_QSettings
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| 999 |
687 | } | - |
688 | QDateTime QFileInfo::lastRead() const | - |
689 | { | - |
690 | const QFileInfoPrivate * const d = d_func(); | - |
691 | if (d->isDefaultConstructedTRUE | evaluated 1 time by 1 test | FALSE | evaluated 6 times by 1 test |
) | 1-6 |
692 | returnexecuted 1 time by 1 test: return QDateTime(); QDateTime();executed 1 time by 1 test: return QDateTime(); | 1 |
693 | if (d->fileEngine == 0TRUE | evaluated 6 times by 1 test | FALSE | never evaluated |
) { | 0-6 |
694 | if (!d->cache_enabledTRUE | evaluated 2 times by 1 test | FALSE | evaluated 4 times by 1 test |
|| !d->metaData.hasFlags(QFileSystemMetaData::AccessTime)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-4 |
695 | if (!QFileSystemEngine::fillMetaData(d->fileEntry, d->metaData, QFileSystemMetaData::AccessTime)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 3 times by 1 test |
) | 3 |
696 | returnexecuted 3 times by 1 test: return QDateTime(); QDateTime();executed 3 times by 1 test: return QDateTime(); | 3 |
697 | returnexecuted 3 times by 1 test: return d->metaData.accessTime(); d->metaData.accessTime();executed 3 times by 1 test: return d->metaData.accessTime(); | 3 |
698 | } | - |
699 | return never executed: return d->getFileTime(QAbstractFileEngine::AccessTime); d->getFileTime(QAbstractFileEngine::AccessTime);never executed: return d->getFileTime(QAbstractFileEngine::AccessTime); | 0 |
700 | } | - |
701 | | - |
702 | | - |
703 | | - |
704 | | - |
705 | QFileInfoPrivate* QFileInfo::d_func() | - |
706 | { | - |
707 | returnexecuted 29 times by 5 tests: return d_ptr.data(); Executed by:- tst_QDirModel
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QProcess
- tst_QResourceEngine
d_ptr.data();executed 29 times by 5 tests: return d_ptr.data(); Executed by:- tst_QDirModel
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QProcess
- tst_QResourceEngine
| 29 |
708 | } | - |
709 | | - |
710 | | - |
711 | | - |
712 | | - |
713 | | - |
714 | | - |
715 | bool QFileInfo::caching() const | - |
716 | { | - |
717 | const QFileInfoPrivate * const d = d_func(); | - |
718 | returnexecuted 13 times by 1 test: return d->cache_enabled; d->cache_enabled;executed 13 times by 1 test: return d->cache_enabled; | 13 |
719 | } | - |
720 | void QFileInfo::setCaching(bool enable) | - |
721 | { | - |
722 | QFileInfoPrivate * const d = d_func(); | - |
723 | d->cache_enabled = enable; | - |
724 | }executed 21 times by 4 tests: end of block Executed by:- tst_QDirModel
- tst_QFileInfo
- tst_QProcess
- tst_QResourceEngine
| 21 |
725 | | - |
| | |