Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | QFileSystemEntry QFileSystemEngine::getLinkTarget(const QFileSystemEntry &link, QFileSystemMetaData &data) | - |
11 | { | - |
12 | char s[4096 +1]; | - |
13 | int len = readlink(link.nativeFilePath().constData(), s, 4096); | - |
14 | | - |
15 | if (len > 0TRUE | evaluated 398 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
| FALSE | evaluated 1 time by 1 test |
) { | 1-398 |
16 | QString ret; | - |
17 | if (!data.hasFlags(QFileSystemMetaData::DirectoryType)TRUE | evaluated 393 times by 8 testsEvaluated by:- tst_QApplication
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 5 times by 4 testsEvaluated by:- tst_QDirModel
- tst_QFile
- tst_QItemModel
- tst_QSaveFile
|
) | 5-393 |
18 | fillMetaData(link, data, QFileSystemMetaData::DirectoryType);executed 393 times by 8 tests: fillMetaData(link, data, QFileSystemMetaData::DirectoryType); Executed by:- tst_QApplication
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
| 393 |
19 | if (data.isDirectory()TRUE | evaluated 2 times by 2 tests | FALSE | evaluated 396 times by 9 testsEvaluated by:- tst_QApplication
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QGuiApplication
- tst_QSaveFile
- tst_qapplication - unknown status
- tst_qprocess - unknown status
- tst_selftests - unknown status
|
&& s[0] != '/'TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-396 |
20 | QDir parent(link.filePath()); | - |
21 | parent.cdUp(); | - |
22 | ret = parent.path(); | - |
23 | if (!ret.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
&& !ret.endsWith(QLatin1Char('/'))TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
24 | ret += QLatin1Char('/');executed 1 time by 1 test: ret += QLatin1Char('/'); | 1 |
25 | }executed 1 time by 1 test: end of block | 1 |
26 | s[len] = '\0'; | - |
27 | ret += QFile::decodeName(QByteArray(s)); | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | if (!ret.startsWith(QLatin1Char('/'))TRUE | evaluated 5 times by 2 tests | FALSE | evaluated 393 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
|
) { | 5-393 |
33 | if (link.filePath().startsWith(QLatin1Char('/'))TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 2 tests |
) { | 1-4 |
34 | ret.prepend(link.filePath().left(link.filePath().lastIndexOf(QLatin1Char('/'))) | - |
35 | + QLatin1Char('/')); | - |
36 | }executed 1 time by 1 test: end of block else { | 1 |
37 | ret.prepend(QDir::currentPath() + QLatin1Char('/')); | - |
38 | }executed 4 times by 2 tests: end of block | 4 |
39 | } | - |
40 | ret = QDir::cleanPath(ret); | - |
41 | if (ret.size() > 1TRUE | evaluated 398 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
| FALSE | never evaluated |
&& ret.endsWith(QLatin1Char('/'))TRUE | never evaluated | FALSE | evaluated 398 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-398 |
42 | ret.chop(1); never executed: ret.chop(1); | 0 |
43 | returnexecuted 398 times by 10 tests: return QFileSystemEntry(ret); 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
QFileSystemEntry(ret);executed 398 times by 10 tests: return QFileSystemEntry(ret); 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
| 398 |
44 | } | - |
45 | returnexecuted 1 time by 1 test: return QFileSystemEntry(); QFileSystemEntry();executed 1 time by 1 test: return QFileSystemEntry(); | 1 |
46 | } | - |
47 | | - |
48 | | - |
49 | QFileSystemEntry QFileSystemEngine::canonicalName(const QFileSystemEntry &entry, QFileSystemMetaData &data) | - |
50 | { | - |
51 | if (entry.isEmpty()TRUE | never evaluated | FALSE | evaluated 25130 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_QDir
- ...
|
|| entry.isRoot()TRUE | evaluated 34 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QStorageInfo
| FALSE | evaluated 25096 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_QDir
- ...
|
) | 0-25130 |
52 | returnexecuted 34 times by 5 tests: return entry; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QStorageInfo
entry;executed 34 times by 5 tests: return entry; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QStorageInfo
| 34 |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | char *ret = 0; | - |
60 | ret = realpath(entry.nativeFilePath().constData(), (char*)0); | - |
61 | if (retTRUE | evaluated 24454 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_QDir
- ...
| FALSE | evaluated 641 times by 8 testsEvaluated by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
|
) { | 641-24454 |
62 | data.knownFlagsMask |= QFileSystemMetaData::ExistsAttribute; | - |
63 | data.entryFlags |= QFileSystemMetaData::ExistsAttribute; | - |
64 | QString canonicalPath = QDir::cleanPath(QFile::decodeName(ret)); | - |
65 | free(ret); | - |
66 | returnexecuted 24454 times by 143 tests: return QFileSystemEntry(canonicalPath); 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_QDir
- ...
QFileSystemEntry(canonicalPath);executed 24454 times by 143 tests: return QFileSystemEntry(canonicalPath); 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_QDir
- ...
| 24454 |
67 | } else if ((*TRUE | evaluated 641 times by 8 testsEvaluated by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| FALSE | never evaluated |
__errno_location ()) == 2TRUE | evaluated 641 times by 8 testsEvaluated by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| FALSE | never evaluated |
) { | 0-641 |
68 | data.knownFlagsMask |= QFileSystemMetaData::ExistsAttribute; | - |
69 | data.entryFlags &= ~(QFileSystemMetaData::ExistsAttribute); | - |
70 | returnexecuted 641 times by 8 tests: return QFileSystemEntry(); Executed by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
QFileSystemEntry();executed 641 times by 8 tests: return QFileSystemEntry(); Executed by:- tst_QApplication
- tst_QDir
- tst_QFileInfo
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QStorageInfo
- tst_qmakelib
| 641 |
71 | } | - |
72 | return never executed: return entry; entry;never executed: return entry; | 0 |
73 | | - |
74 | } | - |
75 | | - |
76 | | - |
77 | QFileSystemEntry QFileSystemEngine::absoluteName(const QFileSystemEntry &entry) | - |
78 | { | - |
79 | if (entry.isAbsolute()TRUE | evaluated 12847 times by 73 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- 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
- ...
| FALSE | evaluated 678 times by 27 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- ...
|
&& entry.isClean()TRUE | evaluated 9657 times by 73 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- 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
- ...
| FALSE | evaluated 3190 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkDiskCache
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
|
) | 678-12847 |
80 | returnexecuted 9657 times by 73 tests: return entry; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- 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
- ...
entry;executed 9657 times by 73 tests: return entry; Executed by:- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDBusMarshall
- 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
- ...
| 9657 |
81 | | - |
82 | QByteArray orig = entry.nativeFilePath(); | - |
83 | QByteArray result; | - |
84 | if (orig.isEmpty()TRUE | never evaluated | FALSE | evaluated 3868 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
|
|| !orig.startsWith('/')TRUE | evaluated 678 times by 27 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- ...
| FALSE | evaluated 3190 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkDiskCache
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
|
) { | 0-3868 |
85 | QFileSystemEntry cur(currentPath()); | - |
86 | result = cur.nativeFilePath(); | - |
87 | }executed 678 times by 27 tests: end of block Executed by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- ...
| 678 |
88 | if (!orig.isEmpty()TRUE | evaluated 3868 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
| FALSE | never evaluated |
&& !(orig.length() == 1TRUE | evaluated 258 times by 10 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 3610 times by 47 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_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
|
&& orig[0] == '.'TRUE | evaluated 257 times by 10 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 1 time by 1 test |
)) { | 0-3868 |
89 | if (!result.isEmpty()TRUE | evaluated 421 times by 23 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_qimagereader - unknown status
| FALSE | evaluated 3190 times by 32 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QNetworkDiskCache
- tst_QPlainTextEdit
- tst_QPrinter
- tst_QSidebar
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- ...
|
&& !result.endsWith('/')TRUE | evaluated 421 times by 23 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_qimagereader - unknown status
| FALSE | never evaluated |
) | 0-3190 |
90 | result.append('/');executed 421 times by 23 tests: result.append('/'); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPixmap
- tst_QPixmapFilter
- tst_QProcess
- tst_QSettings
- tst_QSystemTrayIcon
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_qimagereader - unknown status
| 421 |
91 | result.append(orig); | - |
92 | }executed 3611 times by 47 tests: end of block 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_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- tst_QMessageBox
- tst_QMimeDatabase
- ...
| 3611 |
93 | | - |
94 | if (result.length() == 1TRUE | never evaluated | FALSE | evaluated 3868 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
|
&& result[0] == '/'TRUE | never evaluated | FALSE | never evaluated |
) | 0-3868 |
95 | return never executed: return QFileSystemEntry(result, QFileSystemEntry::FromNativePath()); QFileSystemEntry(result, QFileSystemEntry::FromNativePath());never executed: return QFileSystemEntry(result, QFileSystemEntry::FromNativePath()); | 0 |
96 | const bool isDir = result.endsWith('/'); | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | QFileSystemEntry resultingEntry(result, QFileSystemEntry::FromNativePath()); | - |
103 | QString stringVersion = QDir::cleanPath(resultingEntry.filePath()); | - |
104 | if (isDirTRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QFileInfo
- tst_QFiledialog
| FALSE | evaluated 3865 times by 49 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
|
) | 3-3865 |
105 | stringVersion.append(QLatin1Char('/'));executed 3 times by 2 tests: stringVersion.append(QLatin1Char('/')); Executed by:- tst_QFileInfo
- tst_QFiledialog
| 3 |
106 | returnexecuted 3868 times by 49 tests: return QFileSystemEntry(stringVersion); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
QFileSystemEntry(stringVersion);executed 3868 times by 49 tests: return QFileSystemEntry(stringVersion); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLabel
- tst_QLineEdit
- ...
| 3868 |
107 | } | - |
108 | | - |
109 | | - |
110 | QByteArray QFileSystemEngine::id(const QFileSystemEntry &entry) | - |
111 | { | - |
112 | struct stat statResult; | - |
113 | if (stat(entry.nativeFilePath().constData(), &statResult)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
114 | qErrnoWarning("stat() failed for '%s'", entry.nativeFilePath().constData()); | - |
115 | return never executed: return QByteArray(); QByteArray();never executed: return QByteArray(); | 0 |
116 | } | - |
117 | QByteArray result = QByteArray::number(quint64(statResult.st_dev), 16); | - |
118 | result += ':'; | - |
119 | result += QByteArray::number(quint64(statResult.st_ino)); | - |
120 | return never executed: return result; result;never executed: return result; | 0 |
121 | } | - |
122 | | - |
123 | | - |
124 | QString QFileSystemEngine::resolveUserName(uint userId) | - |
125 | { | - |
126 | | - |
127 | int size_max = sysconf(_SC_GETPW_R_SIZE_MAX); | - |
128 | if (size_max == -1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
129 | size_max = 1024; never executed: size_max = 1024; | 0 |
130 | QVarLengthArray<char, 1024> buf(size_max); | - |
131 | | - |
132 | | - |
133 | struct passwd *pw = 0; | - |
134 | | - |
135 | | - |
136 | struct passwd entry; | - |
137 | getpwuid_r(userId, &entry, buf.data(), buf.size(), &pw); | - |
138 | | - |
139 | | - |
140 | | - |
141 | | - |
142 | if (pwTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
143 | returnexecuted 1 time by 1 test: return QFile::decodeName(QByteArray(pw->pw_name)); QFile::decodeName(QByteArray(pw->pw_name));executed 1 time by 1 test: return QFile::decodeName(QByteArray(pw->pw_name)); | 1 |
144 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
145 | } | - |
146 | | - |
147 | | - |
148 | QString QFileSystemEngine::resolveGroupName(uint groupId) | - |
149 | { | - |
150 | | - |
151 | int size_max = sysconf(_SC_GETPW_R_SIZE_MAX); | - |
152 | if (size_max == -1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
153 | size_max = 1024; never executed: size_max = 1024; | 0 |
154 | QVarLengthArray<char, 1024> buf(size_max); | - |
155 | | - |
156 | | - |
157 | struct group *gr = 0; | - |
158 | | - |
159 | | - |
160 | size_max = sysconf(_SC_GETGR_R_SIZE_MAX); | - |
161 | if (size_max == -1TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-1 |
162 | size_max = 1024; never executed: size_max = 1024; | 0 |
163 | buf.resize(size_max); | - |
164 | struct group entry; | - |
165 | | - |
166 | | - |
167 | for (unsigned size = size_max; size < 256000TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
; size += size) | 0-1 |
168 | { | - |
169 | buf.resize(size); | - |
170 | | - |
171 | if (!getgrgid_r(groupId, &entry, buf.data(), buf.size(), &gr)TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-1 |
172 | || (*TRUE | never evaluated | FALSE | never evaluated |
__errno_location ()) != 34TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
173 | break;executed 1 time by 1 test: break; | 1 |
174 | } never executed: end of block | 0 |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | if (grTRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
180 | returnexecuted 1 time by 1 test: return QFile::decodeName(QByteArray(gr->gr_name)); QFile::decodeName(QByteArray(gr->gr_name));executed 1 time by 1 test: return QFile::decodeName(QByteArray(gr->gr_name)); | 1 |
181 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
182 | } | - |
183 | bool QFileSystemEngine::fillMetaData(const QFileSystemEntry &entry, QFileSystemMetaData &data, | - |
184 | QFileSystemMetaData::MetaDataFlags what) | - |
185 | { | - |
186 | if (what & QFileSystemMetaData::PosixStatFlagsTRUE | evaluated 51918 times by 123 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- ...
| FALSE | evaluated 169910 times by 230 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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
- ...
|
) | 51918-169910 |
187 | what |= QFileSystemMetaData::PosixStatFlags;executed 51918 times by 123 tests: what |= QFileSystemMetaData::PosixStatFlags; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- ...
| 51918 |
188 | | - |
189 | if (what & QFileSystemMetaData::ExistsAttributeTRUE | evaluated 129864 times by 251 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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
- ...
| FALSE | evaluated 91964 times by 168 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
|
) { | 91964-129864 |
190 | | - |
191 | what |= QFileSystemMetaData::PosixStatFlags; | - |
192 | }executed 129864 times by 251 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- 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
- ...
| 129864 |
193 | | - |
194 | data.entryFlags &= ~what; | - |
195 | | - |
196 | const char * nativeFilePath; | - |
197 | int nativeFilePathLength; | - |
198 | { | - |
199 | const QByteArray &path = entry.nativeFilePath(); | - |
200 | nativeFilePath = path.constData(); | - |
201 | nativeFilePathLength = path.size(); | - |
202 | (void)nativeFilePathLength;; | - |
203 | } | - |
204 | | - |
205 | bool entryExists = true; | - |
206 | | - |
207 | struct stat64 statBuffer; | - |
208 | bool statBufferValid = false; | - |
209 | if (what & QFileSystemMetaData::LinkTypeTRUE | evaluated 7162 times by 82 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| FALSE | evaluated 214666 times by 258 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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
- ...
|
) { | 7162-214666 |
210 | if (::TRUE | evaluated 5799 times by 77 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| FALSE | evaluated 1363 times by 20 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
|
lstat64(nativeFilePath, &statBuffer) == 0TRUE | evaluated 5799 times by 77 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| FALSE | evaluated 1363 times by 20 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
|
) { | 1363-5799 |
211 | if (((((TRUE | evaluated 1143 times by 25 testsEvaluated by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSaveFile
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 4656 times by 55 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
statBuffer.st_mode)) & 0170000) == (0120000))TRUE | evaluated 1143 times by 25 testsEvaluated by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSaveFile
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
| FALSE | evaluated 4656 times by 55 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
) { | 1143-4656 |
212 | data.entryFlags |= QFileSystemMetaData::LinkType; | - |
213 | }executed 1143 times by 25 tests: end of block Executed by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileInfo
- tst_QGlobal
- tst_QGuiApplication
- tst_QNetworkConfigurationManager
- tst_QSaveFile
- tst_QSql
- tst_qapplication - unknown status
- tst_qdbusabstractadaptor - unknown status
- tst_qdbusabstractinterface - unknown status
- tst_qdbusinterface - unknown status
- tst_qdbusmarshall - unknown status
- tst_qlogging - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsharedmemory - unknown status
- tst_qsystemsemaphore - unknown status
- tst_selftests - unknown status
else { | 1143 |
214 | statBufferValid = true; | - |
215 | data.entryFlags &= ~QFileSystemMetaData::PosixStatFlags; | - |
216 | }executed 4656 times by 55 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| 4656 |
217 | } else { | - |
218 | entryExists = false; | - |
219 | }executed 1363 times by 20 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSaveFile
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
| 1363 |
220 | | - |
221 | data.knownFlagsMask |= QFileSystemMetaData::LinkType; | - |
222 | }executed 7162 times by 82 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- ...
| 7162 |
223 | | - |
224 | if (statBufferValidTRUE | evaluated 4656 times by 55 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
| FALSE | evaluated 217172 times by 258 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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
- ...
|
|| (what & QFileSystemMetaData::PosixStatFlags)) { | 4656-217172 |
225 | if (entryExistsTRUE | evaluated 180166 times by 258 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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
- ...
| FALSE | evaluated 1239 times by 19 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QImage
- tst_QImageWriter
- tst_QLockFile
- tst_QNetworkReply
- tst_QPainter
- tst_QPixmap
- tst_QProcess
- tst_QSettings
- tst_QStyleSheetStyle
- tst_QTemporaryFile
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_rcc
|
&& !statBufferValidTRUE | evaluated 175510 times by 258 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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
- ...
| FALSE | evaluated 4656 times by 55 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirModel
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QItemModel
- ...
|
) | 1239-180166 |
226 | statBufferValid = (::stat64(nativeFilePath, &statBuffer) == 0);executed 175510 times by 258 tests: statBufferValid = (::stat64(nativeFilePath, &statBuffer) == 0); Executed by:- tst_Gestures
- tst_LargeFile
- 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
- ...
| 175510 |
227 | | - |
228 | if (statBufferValidTRUE | evaluated 58676 times by 223 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_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| FALSE | evaluated 122729 times by 200 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
|
) | 58676-122729 |
229 | data.fillFromStatBuf(statBuffer);executed 58676 times by 223 tests: data.fillFromStatBuf(statBuffer); 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_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 58676 |
230 | else { | - |
231 | entryExists = false; | - |
232 | data.creationTime_ = 0; | - |
233 | data.modificationTime_ = 0; | - |
234 | data.accessTime_ = 0; | - |
235 | data.size_ = 0; | - |
236 | data.userId_ = (uint) -2; | - |
237 | data.groupId_ = (uint) -2; | - |
238 | }executed 122729 times by 200 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- 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_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
| 122729 |
239 | | - |
240 | | - |
241 | data.knownFlagsMask |= QFileSystemMetaData::PosixStatFlags | - |
242 | | QFileSystemMetaData::ExistsAttribute; | - |
243 | }executed 181405 times by 258 tests: end of block Executed by:- tst_Gestures
- tst_LargeFile
- 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
- ...
| 181405 |
244 | if (what & QFileSystemMetaData::UserPermissionsTRUE | evaluated 5852 times by 25 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 215976 times by 258 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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
- ...
|
) { | 5852-215976 |
245 | | - |
246 | | - |
247 | if (entryExistsTRUE | evaluated 5852 times by 25 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | never evaluated |
) { | 0-5852 |
248 | if (what & QFileSystemMetaData::UserReadPermissionTRUE | evaluated 5369 times by 23 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 483 times by 13 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_languageChange
- tst_qstandardpaths
|
) { | 483-5369 |
249 | if (::TRUE | evaluated 5305 times by 23 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 64 times by 8 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QTranslator
- tst_languageChange
|
access(nativeFilePath, 4) == 0TRUE | evaluated 5305 times by 23 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 64 times by 8 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QTranslator
- tst_languageChange
|
) | 64-5305 |
250 | data.entryFlags |= QFileSystemMetaData::UserReadPermission;executed 5305 times by 23 tests: data.entryFlags |= QFileSystemMetaData::UserReadPermission; Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5305 |
251 | }executed 5369 times by 23 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5369 |
252 | if (what & QFileSystemMetaData::UserWritePermissionTRUE | evaluated 5705 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 147 times by 8 testsEvaluated by:- tst_QDir
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSslCertificate
- tst_QSslKey
- tst_QThreadStorage
- tst_QTranslator
- tst_qstandardpaths
|
) { | 147-5705 |
253 | if (::TRUE | evaluated 4746 times by 18 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 959 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QTemporaryDir
- tst_languageChange
|
access(nativeFilePath, 2) == 0TRUE | evaluated 4746 times by 18 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 959 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QTemporaryDir
- tst_languageChange
|
) | 959-4746 |
254 | data.entryFlags |= QFileSystemMetaData::UserWritePermission;executed 4746 times by 18 tests: data.entryFlags |= QFileSystemMetaData::UserWritePermission; Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 4746 |
255 | }executed 5705 times by 21 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5705 |
256 | if (what & QFileSystemMetaData::UserExecutePermissionTRUE | evaluated 5258 times by 20 testsEvaluated by:- tst_QColorDialog
- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 594 times by 13 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QTranslator
- tst_languageChange
|
) { | 594-5258 |
257 | if (::TRUE | evaluated 3750 times by 13 testsEvaluated by:- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_languageChange
- tst_qstandardpaths
| FALSE | evaluated 1508 times by 17 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
|
access(nativeFilePath, 1) == 0TRUE | evaluated 3750 times by 13 testsEvaluated by:- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_languageChange
- tst_qstandardpaths
| FALSE | evaluated 1508 times by 17 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
|
) | 1508-3750 |
258 | data.entryFlags |= QFileSystemMetaData::UserExecutePermission;executed 3750 times by 13 tests: data.entryFlags |= QFileSystemMetaData::UserExecutePermission; Executed by:- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_languageChange
- tst_qstandardpaths
| 3750 |
259 | }executed 5258 times by 20 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QThreadStorage
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5258 |
260 | }executed 5852 times by 25 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5852 |
261 | data.knownFlagsMask |= (what & QFileSystemMetaData::UserPermissions); | - |
262 | }executed 5852 times by 25 tests: end of block Executed by:- tst_QColorDialog
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QThreadStorage
- tst_QTranslator
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 5852 |
263 | | - |
264 | if (what & QFileSystemMetaData::HiddenAttribute | - |
265 | && !data.isHidden()TRUE | evaluated 40859 times by 146 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_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
- ...
| FALSE | never evaluated |
) { | 0-40859 |
266 | QString fileName = entry.fileName(); | - |
267 | if ((fileName.size() > 0TRUE | evaluated 40857 times by 146 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_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
- ...
| FALSE | evaluated 2 times by 1 test |
&& fileName.at(0) == QLatin1Char('.')TRUE | evaluated 1201 times by 15 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSslCertificate
- tst_QTemporaryFile
- tst_QUrl
- tst_languageChange
| FALSE | evaluated 39656 times by 146 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_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
- ...
|
) | 2-40857 |
268 | | - |
269 | | - |
270 | | - |
271 | ) | - |
272 | data.entryFlags |= QFileSystemMetaData::HiddenAttribute;executed 1201 times by 15 tests: data.entryFlags |= QFileSystemMetaData::HiddenAttribute; Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSslCertificate
- tst_QTemporaryFile
- tst_QUrl
- tst_languageChange
| 1201 |
273 | data.knownFlagsMask |= QFileSystemMetaData::HiddenAttribute; | - |
274 | }executed 40859 times by 146 tests: end of block 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_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
- ...
| 40859 |
275 | if (!entryExistsTRUE | evaluated 122853 times by 200 testsEvaluated by:- tst_Gestures
- tst_LargeFile
- 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_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
| FALSE | evaluated 98975 times by 223 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_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
|
) { | 98975-122853 |
276 | data.clearFlags(what); | - |
277 | returnexecuted 122853 times by 200 tests: return false; Executed by:- tst_Gestures
- tst_LargeFile
- 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_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
false;executed 122853 times by 200 tests: return false; Executed by:- tst_Gestures
- tst_LargeFile
- 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_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- ...
| 122853 |
278 | } | - |
279 | returnexecuted 98975 times by 223 tests: return data.hasFlags(what); 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_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
data.hasFlags(what);executed 98975 times by 223 tests: return data.hasFlags(what); 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_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QCssParser
- tst_QDBusAbstractAdaptor
- ...
| 98975 |
280 | } | - |
281 | | - |
282 | static bool pathIsDir(const QByteArray &nativeName) | - |
283 | { | - |
284 | | - |
285 | | - |
286 | | - |
287 | struct stat64 st; | - |
288 | returnexecuted 48 times by 5 tests: return ::stat64(nativeName.constData(), &st) == 0 && (st.st_mode & 0170000) == 0040000; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
::TRUE | evaluated 48 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| FALSE | never evaluated |
stat64(nativeName.constData(), &st) == 0TRUE | evaluated 48 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| FALSE | never evaluated |
&& (TRUE | evaluated 46 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| FALSE | evaluated 2 times by 2 tests |
st.st_mode & 0170000) == 0040000TRUE | evaluated 46 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| FALSE | evaluated 2 times by 2 tests |
;executed 48 times by 5 tests: return ::stat64(nativeName.constData(), &st) == 0 && (st.st_mode & 0170000) == 0040000; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| 0-48 |
289 | }; | - |
290 | | - |
291 | | - |
292 | | - |
293 | static bool createDirectoryWithParents(const QByteArray &nativeName, bool shouldMkdirFirst = true) | - |
294 | { | - |
295 | if (shouldMkdirFirstTRUE | evaluated 147 times by 7 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| FALSE | evaluated 153 times by 7 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
&& ::TRUE | evaluated 107 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| FALSE | evaluated 40 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSettings
|
mkdir(nativeName, 0777) == 0TRUE | evaluated 107 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| FALSE | evaluated 40 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSettings
|
) | 40-153 |
296 | returnexecuted 107 times by 6 tests: return true; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
true;executed 107 times by 6 tests: return true; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| 107 |
297 | if ((*TRUE | evaluated 48 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| FALSE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
__errno_location ()) == 17TRUE | evaluated 48 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| FALSE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
) | 48-145 |
298 | returnexecuted 48 times by 5 tests: return pathIsDir(nativeName); Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
pathIsDir(nativeName);executed 48 times by 5 tests: return pathIsDir(nativeName); Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QNetworkDiskCache
- tst_qmakelib
| 48 |
299 | if ((*TRUE | never evaluated | FALSE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
__errno_location ()) != 2TRUE | never evaluated | FALSE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
) | 0-145 |
300 | return never executed: return false; false;never executed: return false; | 0 |
301 | | - |
302 | | - |
303 | int slash = nativeName.lastIndexOf('/'); | - |
304 | if (slash < 1TRUE | never evaluated | FALSE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
) | 0-145 |
305 | return never executed: return false; false;never executed: return false; | 0 |
306 | | - |
307 | QByteArray parentNativeName = nativeName.left(slash); | - |
308 | if (!createDirectoryWithParents(parentNativeName)TRUE | never evaluated | FALSE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
) | 0-145 |
309 | return never executed: return false; false;never executed: return false; | 0 |
310 | | - |
311 | | - |
312 | if (::TRUE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| FALSE | never evaluated |
mkdir(nativeName, 0777) == 0TRUE | evaluated 145 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| FALSE | never evaluated |
) | 0-145 |
313 | returnexecuted 145 times by 6 tests: return true; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
true;executed 145 times by 6 tests: return true; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| 145 |
314 | return never executed: return (*__errno_location ()) == 17 && pathIsDir(nativeName); (*TRUE | never evaluated | FALSE | never evaluated |
__errno_location ()) == 17TRUE | never evaluated | FALSE | never evaluated |
&& pathIsDir(nativeName)TRUE | never evaluated | FALSE | never evaluated |
;never executed: return (*__errno_location ()) == 17 && pathIsDir(nativeName); | 0 |
315 | } | - |
316 | | - |
317 | | - |
318 | bool QFileSystemEngine::createDirectory(const QFileSystemEntry &entry, bool createParents) | - |
319 | { | - |
320 | QString dirName = entry.filePath(); | - |
321 | | - |
322 | | - |
323 | while (dirName.size() > 1TRUE | evaluated 1940 times by 24 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
- tst_uic
| FALSE | never evaluated |
&& dirName.endsWith(QLatin1Char('/'))TRUE | evaluated 134 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
| FALSE | evaluated 1806 times by 24 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
- tst_uic
|
) | 0-1940 |
324 | dirName.chop(1);executed 134 times by 6 tests: dirName.chop(1); Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
| 134 |
325 | | - |
326 | | - |
327 | QByteArray nativeName = QFile::encodeName(dirName); | - |
328 | if (::TRUE | evaluated 1357 times by 23 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
- tst_uic
| FALSE | evaluated 449 times by 9 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
mkdir(nativeName, 0777) == 0TRUE | evaluated 1357 times by 23 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
- tst_uic
| FALSE | evaluated 449 times by 9 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
) | 449-1357 |
329 | returnexecuted 1357 times by 23 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
- tst_uic
true;executed 1357 times by 23 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_selftests - unknown status
- tst_uic
| 1357 |
330 | if (!createParentsTRUE | evaluated 294 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QNetworkDiskCache
| FALSE | evaluated 155 times by 7 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
) | 155-294 |
331 | returnexecuted 294 times by 4 tests: return false; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QNetworkDiskCache
false;executed 294 times by 4 tests: return false; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QNetworkDiskCache
| 294 |
332 | | - |
333 | | - |
334 | | - |
335 | int savedErrno = (*__errno_location ()); | - |
336 | bool pathChanged; | - |
337 | { | - |
338 | QString cleanName = QDir::cleanPath(dirName); | - |
339 | | - |
340 | | - |
341 | | - |
342 | | - |
343 | | - |
344 | | - |
345 | pathChanged = !dirName.isSharedWith(cleanName); | - |
346 | if (pathChangedTRUE | evaluated 2 times by 1 test | FALSE | evaluated 153 times by 7 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
|
) | 2-153 |
347 | nativeName = QFile::encodeName(cleanName);executed 2 times by 1 test: nativeName = QFile::encodeName(cleanName); | 2 |
348 | } | - |
349 | | - |
350 | (*__errno_location ()) = savedErrno; | - |
351 | returnexecuted 155 times by 7 tests: return createDirectoryWithParents(nativeName, pathChanged); Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
createDirectoryWithParents(nativeName, pathChanged);executed 155 times by 7 tests: return createDirectoryWithParents(nativeName, pathChanged); Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QSettings
- tst_qmakelib
| 155 |
352 | } | - |
353 | | - |
354 | | - |
355 | bool QFileSystemEngine::removeDirectory(const QFileSystemEntry &entry, bool removeEmptyParents) | - |
356 | { | - |
357 | if (removeEmptyParentsTRUE | evaluated 67 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 2730 times by 54 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QXmlStream
- tst_languageChange
- ...
|
) { | 67-2730 |
358 | QString dirName = QDir::cleanPath(entry.filePath()); | - |
359 | for (int oldslash = 0, slash=dirName.length(); slash > 0TRUE | evaluated 154 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | never evaluated |
; oldslash = slash) { | 0-154 |
360 | const QByteArray chunk = QFile::encodeName(dirName.left(slash)); | - |
361 | struct stat64 st; | - |
362 | if (::TRUE | evaluated 151 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 3 times by 1 test |
stat64(chunk.constData(), &st) != -1TRUE | evaluated 151 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 3 times by 1 test |
) { | 3-151 |
363 | if ((TRUE | never evaluated | FALSE | evaluated 151 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
st.st_mode & 0170000) != 0040000TRUE | never evaluated | FALSE | evaluated 151 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
) | 0-151 |
364 | return never executed: return false; false;never executed: return false; | 0 |
365 | if (::TRUE | evaluated 64 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 87 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
rmdir(chunk.constData()) != 0TRUE | evaluated 64 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | evaluated 87 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
) | 64-87 |
366 | returnexecuted 64 times by 2 tests: return oldslash != 0; Executed by:- tst_QDir
- tst_selftests - unknown status
oldslash != 0;executed 64 times by 2 tests: return oldslash != 0; Executed by:- tst_QDir
- tst_selftests - unknown status
| 64 |
367 | }executed 87 times by 2 tests: end of block Executed by:- tst_QDir
- tst_selftests - unknown status
else { | 87 |
368 | returnexecuted 3 times by 1 test: return false; false;executed 3 times by 1 test: return false; | 3 |
369 | } | - |
370 | slash = dirName.lastIndexOf(QDir::separator(), oldslash-1); | - |
371 | }executed 87 times by 2 tests: end of block Executed by:- tst_QDir
- tst_selftests - unknown status
| 87 |
372 | return never executed: return true; true;never executed: return true; | 0 |
373 | } | - |
374 | returnexecuted 2730 times by 54 tests: return rmdir(QFile::encodeName(entry.filePath()).constData()) == 0; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QXmlStream
- tst_languageChange
- ...
rmdir(QFile::encodeName(entry.filePath()).constData()) == 0;executed 2730 times by 54 tests: return rmdir(QFile::encodeName(entry.filePath()).constData()) == 0; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QXmlStream
- tst_languageChange
- ...
| 2730 |
375 | } | - |
376 | | - |
377 | | - |
378 | bool QFileSystemEngine::createLink(const QFileSystemEntry &source, const QFileSystemEntry &target, QSystemError &error) | - |
379 | { | - |
380 | if (::TRUE | evaluated 161 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
| FALSE | never evaluated |
symlink(source.nativeFilePath().constData(), target.nativeFilePath().constData()) == 0TRUE | evaluated 161 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
| FALSE | never evaluated |
) | 0-161 |
381 | returnexecuted 161 times by 8 tests: return true; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
true;executed 161 times by 8 tests: return true; Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QMimeDatabase
- tst_QSaveFile
- tst_qstandardpaths
| 161 |
382 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | - |
383 | return never executed: return false; false;never executed: return false; | 0 |
384 | } | - |
385 | | - |
386 | | - |
387 | bool QFileSystemEngine::copyFile(const QFileSystemEntry &source, const QFileSystemEntry &target, QSystemError &error) | - |
388 | { | - |
389 | (void)source;; | - |
390 | (void)target;; | - |
391 | error = QSystemError(38, QSystemError::StandardLibraryError); | - |
392 | returnexecuted 100 times by 2 tests: return false; Executed by:- tst_QFile
- tst_QImageReader
false;executed 100 times by 2 tests: return false; Executed by:- tst_QFile
- tst_QImageReader
| 100 |
393 | } | - |
394 | | - |
395 | | - |
396 | bool QFileSystemEngine::renameFile(const QFileSystemEntry &source, const QFileSystemEntry &target, QSystemError &error) | - |
397 | { | - |
398 | if (::TRUE | evaluated 816 times by 19 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 4 times by 4 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
|
rename(source.nativeFilePath().constData(), target.nativeFilePath().constData()) == 0TRUE | evaluated 816 times by 19 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| FALSE | evaluated 4 times by 4 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
|
) | 4-816 |
399 | returnexecuted 816 times by 19 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
true;executed 816 times by 19 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| 816 |
400 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | - |
401 | returnexecuted 4 times by 4 tests: return false; Executed by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
false;executed 4 times by 4 tests: return false; Executed by:- tst_QDir
- tst_QFile
- tst_QSaveFile
- tst_QTemporaryFile
| 4 |
402 | } | - |
403 | | - |
404 | | - |
405 | bool QFileSystemEngine::removeFile(const QFileSystemEntry &entry, QSystemError &error) | - |
406 | { | - |
407 | if (unlink(entry.nativeFilePath().constData()) == 0TRUE | evaluated 12129 times by 75 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- ...
| FALSE | evaluated 584 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedMemory
- tst_QTextStream
- tst_QXmlStream
- tst_qmake
- tst_qstandardpaths
- tst_selftests - unknown status
|
) | 584-12129 |
408 | returnexecuted 12129 times by 75 tests: return true; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- ...
true;executed 12129 times by 75 tests: return true; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QColorDialog
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QIODevice
- tst_QImage
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLockFile
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- ...
| 12129 |
409 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | - |
410 | returnexecuted 584 times by 21 tests: return false; Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedMemory
- tst_QTextStream
- tst_QXmlStream
- tst_qmake
- tst_qstandardpaths
- tst_selftests - unknown status
false;executed 584 times by 21 tests: return false; Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemWatcher
- tst_QIODevice
- tst_QImageWriter
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPrinter
- tst_QSaveFile
- tst_QSettings
- tst_QSharedMemory
- tst_QTextStream
- tst_QXmlStream
- tst_qmake
- tst_qstandardpaths
- tst_selftests - unknown status
| 584 |
411 | | - |
412 | } | - |
413 | | - |
414 | | - |
415 | bool QFileSystemEngine::setPermissions(const QFileSystemEntry &entry, QFile::Permissions permissions, QSystemError &error, QFileSystemMetaData *data) | - |
416 | { | - |
417 | mode_t mode = 0; | - |
418 | if (permissions & (QFile::ReadOwner | QFile::ReadUser)TRUE | evaluated 1052 times by 19 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 19 times by 7 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QLockFile
- tst_QNetworkReply
- tst_QSaveFile
|
) | 19-1052 |
419 | mode |= 0400;executed 1052 times by 19 tests: mode |= 0400; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1052 |
420 | if (permissions & (QFile::WriteOwner | QFile::WriteUser)TRUE | evaluated 963 times by 20 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 108 times by 10 testsEvaluated by:- tst_QDir
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QTemporaryDir
|
) | 108-963 |
421 | mode |= 0200;executed 963 times by 20 tests: mode |= 0200; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 963 |
422 | if (permissions & (QFile::ExeOwner | QFile::ExeUser)TRUE | evaluated 234 times by 6 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QLockFile
- tst_QSaveFile
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 837 times by 19 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
|
) | 234-837 |
423 | mode |= 0100;executed 234 times by 6 tests: mode |= 0100; Executed by:- tst_QDir
- tst_QFileSystemModel
- tst_QLockFile
- tst_QSaveFile
- tst_qmakelib
- tst_qstandardpaths
| 234 |
424 | if (permissions & QFile::ReadGroupTRUE | evaluated 757 times by 14 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 314 times by 10 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QLockFile
- tst_QNetworkReply
- tst_QSaveFile
- tst_QTemporaryDir
- tst_qstandardpaths
|
) | 314-757 |
425 | mode |= (0400 >> 3);executed 757 times by 14 tests: mode |= (0400 >> 3); Executed by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| 757 |
426 | if (permissions & QFile::WriteGroupTRUE | never evaluated | FALSE | evaluated 1071 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) | 0-1071 |
427 | mode |= (0200 >> 3); never executed: mode |= (0200 >> 3); | 0 |
428 | if (permissions & QFile::ExeGroupTRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1069 times by 20 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qstandardpaths
|
) | 2-1069 |
429 | mode |= (0100 >> 3);executed 2 times by 2 tests: mode |= (0100 >> 3); Executed by:- tst_qmakelib
- tst_qstandardpaths
| 2 |
430 | if (permissions & QFile::ReadOtherTRUE | evaluated 758 times by 14 testsEvaluated by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| FALSE | evaluated 313 times by 11 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QLockFile
- tst_QNetworkReply
- tst_QSaveFile
- tst_QTemporaryDir
- tst_qstandardpaths
|
) | 313-758 |
431 | mode |= ((0400 >> 3) >> 3);executed 758 times by 14 tests: mode |= ((0400 >> 3) >> 3); Executed by:- tst_QColorDialog
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QMimeDatabase
- tst_QSaveFile
- tst_QSettings
- tst_languageChange
- tst_qmakelib
| 758 |
432 | if (permissions & QFile::WriteOtherTRUE | evaluated 218 times by 2 testsEvaluated by:- tst_QFile
- tst_QFileSystemModel
| FALSE | evaluated 853 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) | 218-853 |
433 | mode |= ((0200 >> 3) >> 3);executed 218 times by 2 tests: mode |= ((0200 >> 3) >> 3); Executed by:- tst_QFile
- tst_QFileSystemModel
| 218 |
434 | if (permissions & QFile::ExeOtherTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QFileSystemWatcher
- tst_qmakelib
| FALSE | evaluated 1067 times by 20 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qstandardpaths
|
) | 4-1067 |
435 | mode |= ((0100 >> 3) >> 3);executed 4 times by 2 tests: mode |= ((0100 >> 3) >> 3); Executed by:- tst_QFileSystemWatcher
- tst_qmakelib
| 4 |
436 | | - |
437 | bool success = ::chmod(entry.nativeFilePath().constData(), mode) == 0; | - |
438 | if (successTRUE | evaluated 1070 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1 time by 1 test |
&& dataTRUE | never evaluated | FALSE | evaluated 1070 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) { | 0-1070 |
439 | data->entryFlags &= ~QFileSystemMetaData::Permissions; | - |
440 | data->entryFlags |= QFileSystemMetaData::MetaDataFlag(uint(permissions)); | - |
441 | data->knownFlagsMask |= QFileSystemMetaData::Permissions; | - |
442 | } never executed: end of block | 0 |
443 | if (!successTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1070 times by 21 testsEvaluated by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
|
) | 1-1070 |
444 | error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError);executed 1 time by 1 test: error = QSystemError((*__errno_location ()), QSystemError::StandardLibraryError); | 1 |
445 | returnexecuted 1071 times by 21 tests: return success; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
success;executed 1071 times by 21 tests: return success; Executed by:- tst_QColorDialog
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QImageReader
- tst_QImageWriter
- tst_QLockFile
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
| 1071 |
446 | } | - |
447 | | - |
448 | QString QFileSystemEngine::homePath() | - |
449 | { | - |
450 | QString home = QFile::decodeName(qgetenv("HOME")); | - |
451 | if (home.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1926 times by 62 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- ...
|
) | 1-1926 |
452 | home = rootPath();executed 1 time by 1 test: home = rootPath(); | 1 |
453 | returnexecuted 1927 times by 62 tests: return QDir::cleanPath(home); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- ...
QDir::cleanPath(home);executed 1927 times by 62 tests: return QDir::cleanPath(home); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- ...
| 1927 |
454 | } | - |
455 | | - |
456 | QString QFileSystemEngine::rootPath() | - |
457 | { | - |
458 | returnexecuted 122 times by 16 tests: return QLatin1String("/"); Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_QStorageInfo
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
QLatin1String("/");executed 122 times by 16 tests: return QLatin1String("/"); Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QSidebar
- tst_QStorageInfo
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| 122 |
459 | } | - |
460 | | - |
461 | QString QFileSystemEngine::tempPath() | - |
462 | { | - |
463 | QString temp = QFile::decodeName(qgetenv("TMPDIR")); | - |
464 | if (temp.isEmpty()TRUE | evaluated 8777 times by 48 testsEvaluated by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- ...
| FALSE | never evaluated |
) { | 0-8777 |
465 | | - |
466 | | - |
467 | | - |
468 | | - |
469 | | - |
470 | { | - |
471 | | - |
472 | temp = QLatin1String("/tmp"); | - |
473 | } | - |
474 | }executed 8777 times by 48 tests: end of block Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- ...
| 8777 |
475 | returnexecuted 8777 times by 48 tests: return QDir::cleanPath(temp); Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- ...
QDir::cleanPath(temp);executed 8777 times by 48 tests: return QDir::cleanPath(temp); Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCompleter
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGuiApplication
- tst_QIODevice
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- tst_QSaveFile
- ...
| 8777 |
476 | | - |
477 | } | - |
478 | | - |
479 | bool QFileSystemEngine::setCurrentPath(const QFileSystemEntry &path) | - |
480 | { | - |
481 | int r; | - |
482 | r = ::chdir(path.nativeFilePath().constData()); | - |
483 | returnexecuted 494 times by 25 tests: return r >= 0; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QApplication
- tst_QClipboard
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QIODevice
- tst_QLockFile
- tst_QObject
- tst_QProcess
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qlibrary - unknown status
- tst_qmake
- tst_qstandardpaths
- tst_rcc
r >= 0;executed 494 times by 25 tests: return r >= 0; Executed by:- tst_LargeFile
- tst_QAbstractFileEngine
- tst_QApplication
- tst_QClipboard
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileInfo
- tst_QIODevice
- tst_QLockFile
- tst_QObject
- tst_QProcess
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_QTextBrowser
- tst_QTextStream
- tst_QTranslator
- tst_QUuid
- tst_QXmlSimpleReader
- tst_Selftests
- tst_qlibrary - unknown status
- tst_qmake
- tst_qstandardpaths
- tst_rcc
| 494 |
484 | } | - |
485 | | - |
486 | QFileSystemEntry QFileSystemEngine::currentPath() | - |
487 | { | - |
488 | QFileSystemEntry result; | - |
489 | | - |
490 | | - |
491 | | - |
492 | | - |
493 | | - |
494 | | - |
495 | | - |
496 | char currentName[4096 +1]; | - |
497 | if (::TRUE | evaluated 2175 times by 56 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| FALSE | never evaluated |
getcwd(currentName, 4096)TRUE | evaluated 2175 times by 56 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| FALSE | never evaluated |
) { | 0-2175 |
498 | | - |
499 | | - |
500 | | - |
501 | | - |
502 | | - |
503 | | - |
504 | | - |
505 | result = QFileSystemEntry(QByteArray(currentName), QFileSystemEntry::FromNativePath()); | - |
506 | }executed 2175 times by 56 tests: end of block Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| 2175 |
507 | | - |
508 | if (result.isEmpty()TRUE | never evaluated | FALSE | evaluated 2175 times by 56 testsEvaluated by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
|
) | 0-2175 |
509 | QMessageLogger(__FILE__, 793, __PRETTY_FUNCTION__).warning("QFileSystemEngine::currentPath: getcwd() failed"); never executed: QMessageLogger(__FILE__, 793, __PRETTY_FUNCTION__).warning("QFileSystemEngine::currentPath: getcwd() failed"); | 0 |
510 | | - |
511 | | - |
512 | returnexecuted 2175 times by 56 tests: return result; Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
result;executed 2175 times by 56 tests: return result; Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QCoreApplication
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QIODevice
- tst_QIcon
- tst_QImageReader
- tst_QImageWriter
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- ...
| 2175 |
513 | } | - |
514 | | - |
| | |