Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | QDirPrivate::QDirPrivate(const QString &path, const QStringList &nameFilters_, QDir::SortFlags sort_, QDir::Filters filters_) | - |
14 | : QSharedData() | - |
15 | , fileListsInitialized(false) | - |
16 | , nameFilters(nameFilters_) | - |
17 | , sort(sort_) | - |
18 | , filters(filters_) | - |
19 | { | - |
20 | setPath(path.isEmpty() ? QString::fromLatin1(".") : path); | - |
21 | | - |
22 | bool empty = nameFilters.isEmpty(); | - |
23 | if (!emptyTRUE | evaluated 27 times by 2 tests | FALSE | evaluated 18066 times by 248 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
|
) { | 27-18066 |
24 | empty = true; | - |
25 | for (int i = 0; i < nameFilters.size()TRUE | evaluated 27 times by 2 tests | FALSE | never evaluated |
; ++i) { | 0-27 |
26 | if (!nameFilters.at(i).isEmpty()TRUE | evaluated 27 times by 2 tests | FALSE | never evaluated |
) { | 0-27 |
27 | empty = false; | - |
28 | break;executed 27 times by 2 tests: break; | 27 |
29 | } | - |
30 | } never executed: end of block | 0 |
31 | }executed 27 times by 2 tests: end of block | 27 |
32 | if (emptyTRUE | evaluated 18066 times by 248 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
| FALSE | evaluated 27 times by 2 tests |
) | 27-18066 |
33 | nameFilters = QStringList(QString::fromLatin1("*"));executed 18066 times by 248 tests: nameFilters = QStringList(QString::fromLatin1("*")); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
| 18066 |
34 | }executed 18093 times by 248 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
| 18093 |
35 | | - |
36 | QDirPrivate::QDirPrivate(const QDirPrivate ©) | - |
37 | : QSharedData(copy) | - |
38 | , fileListsInitialized(false) | - |
39 | , nameFilters(copy.nameFilters) | - |
40 | , sort(copy.sort) | - |
41 | , filters(copy.filters) | - |
42 | , dirEntry(copy.dirEntry) | - |
43 | , metaData(copy.metaData) | - |
44 | { | - |
45 | }executed 375 times by 14 tests: end of block Executed by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qmakelib
| 375 |
46 | | - |
47 | bool QDirPrivate::exists() const | - |
48 | { | - |
49 | if (fileEngine.isNull()TRUE | evaluated 3906 times by 64 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPlugin
- tst_QPrinter
- ...
| FALSE | evaluated 111 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSelector
|
) { | 111-3906 |
50 | QFileSystemEngine::fillMetaData(dirEntry, metaData, | - |
51 | QFileSystemMetaData::ExistsAttribute | QFileSystemMetaData::DirectoryType); | - |
52 | returnexecuted 3906 times by 64 tests: return metaData.exists() && metaData.isDirectory(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPlugin
- tst_QPrinter
- ...
metaData.exists() && metaData.isDirectory();executed 3906 times by 64 tests: return metaData.exists() && metaData.isDirectory(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPlugin
- tst_QPrinter
- ...
| 3906 |
53 | } | - |
54 | const QAbstractFileEngine::FileFlags info = | - |
55 | fileEngine->fileFlags(QAbstractFileEngine::DirectoryType | - |
56 | | QAbstractFileEngine::ExistsFlag | - |
57 | | QAbstractFileEngine::Refresh); | - |
58 | if (!(info & QAbstractFileEngine::DirectoryType)TRUE | evaluated 84 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSelector
| FALSE | evaluated 27 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSelector
|
) | 27-84 |
59 | returnexecuted 84 times by 2 tests: return false; Executed by:- tst_QDir
- tst_QFileSelector
false;executed 84 times by 2 tests: return false; Executed by:- tst_QDir
- tst_QFileSelector
| 84 |
60 | returnexecuted 27 times by 2 tests: return info & QAbstractFileEngine::ExistsFlag; Executed by:- tst_QDir
- tst_QFileSelector
info & QAbstractFileEngine::ExistsFlag;executed 27 times by 2 tests: return info & QAbstractFileEngine::ExistsFlag; Executed by:- tst_QDir
- tst_QFileSelector
| 27 |
61 | } | - |
62 | | - |
63 | | - |
64 | inline QChar QDirPrivate::getFilterSepChar(const QString &nameFilter) | - |
65 | { | - |
66 | QChar sep(QLatin1Char(';')); | - |
67 | int i = nameFilter.indexOf(sep, 0); | - |
68 | if (i == -1TRUE | evaluated 29 times by 2 tests | FALSE | evaluated 3 times by 1 test |
&& nameFilter.indexOf(QLatin1Char(' '), 0) != -1TRUE | never evaluated | FALSE | evaluated 29 times by 2 tests |
) | 0-29 |
69 | sep = QChar(QLatin1Char(' ')); never executed: sep = QChar(QLatin1Char(' ')); | 0 |
70 | returnexecuted 32 times by 2 tests: return sep; sep;executed 32 times by 2 tests: return sep; | 32 |
71 | } | - |
72 | | - |
73 | | - |
74 | inline QStringList QDirPrivate::splitFilters(const QString &nameFilter, QChar sep) | - |
75 | { | - |
76 | if (sep.isNull()TRUE | evaluated 32 times by 2 tests | FALSE | never evaluated |
) | 0-32 |
77 | sep = getFilterSepChar(nameFilter);executed 32 times by 2 tests: sep = getFilterSepChar(nameFilter); | 32 |
78 | QStringList ret = nameFilter.split(sep); | - |
79 | for (int i = 0; i < ret.count()TRUE | evaluated 35 times by 2 tests | FALSE | evaluated 32 times by 2 tests |
; ++i) | 32-35 |
80 | ret[i] = ret[i].trimmed();executed 35 times by 2 tests: ret[i] = ret[i].trimmed(); | 35 |
81 | returnexecuted 32 times by 2 tests: return ret; ret;executed 32 times by 2 tests: return ret; | 32 |
82 | } | - |
83 | | - |
84 | inline void QDirPrivate::setPath(const QString &path) | - |
85 | { | - |
86 | QString p = QDir::fromNativeSeparators(path); | - |
87 | if (p.endsWith(QLatin1Char('/'))TRUE | evaluated 1093 times by 19 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QNetworkDiskCache
- tst_QResourceEngine
- tst_QSidebar
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_QVariant
- tst_qmakelib
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 17927 times by 247 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
|
| 1093-17927 |
88 | && p.length() > 1TRUE | evaluated 769 times by 15 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkDiskCache
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_QVariant
- tst_qmakelib
- tst_rcc
| FALSE | evaluated 324 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QItemModel
- tst_QSidebar
- tst_selftests - unknown status
|
| 324-769 |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | ) { | - |
97 | p.truncate(p.length() - 1); | - |
98 | }executed 769 times by 15 tests: end of block Executed by:- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QNetworkDiskCache
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_QVariant
- tst_qmakelib
- tst_rcc
| 769 |
99 | | - |
100 | dirEntry = QFileSystemEntry(p, QFileSystemEntry::FromInternalPath()); | - |
101 | metaData.clear(); | - |
102 | initFileEngine(); | - |
103 | clearFileLists(); | - |
104 | absoluteDirEntry = QFileSystemEntry(); | - |
105 | }executed 19020 times by 248 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
| 19020 |
106 | | - |
107 | inline void QDirPrivate::clearFileLists() | - |
108 | { | - |
109 | fileListsInitialized = false; | - |
110 | files.clear(); | - |
111 | fileInfos.clear(); | - |
112 | }executed 19723 times by 248 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
| 19723 |
113 | | - |
114 | inline void QDirPrivate::resolveAbsoluteEntry() const | - |
115 | { | - |
116 | if (!absoluteDirEntry.isEmpty()TRUE | evaluated 5149 times by 14 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSidebar
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_uic
| FALSE | evaluated 8343 times by 134 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
|
|| dirEntry.isEmpty()TRUE | never evaluated | FALSE | evaluated 8343 times by 134 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
|
) | 0-8343 |
117 | return;executed 5149 times by 14 tests: return; Executed by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSidebar
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qmakelib
- tst_uic
| 5149 |
118 | | - |
119 | QString absoluteName; | - |
120 | if (fileEngine.isNull()TRUE | evaluated 8338 times by 134 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| FALSE | evaluated 5 times by 2 tests |
) { | 5-8338 |
121 | if (!dirEntry.isRelative()TRUE | evaluated 7949 times by 133 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| FALSE | evaluated 389 times by 14 testsEvaluated by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QNetworkDiskCache
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qimagereader - unknown status
|
&& dirEntry.isClean()TRUE | evaluated 7898 times by 133 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| FALSE | evaluated 51 times by 3 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFiledialog
|
) { | 51-7949 |
122 | absoluteDirEntry = dirEntry; | - |
123 | return;executed 7898 times by 133 tests: return; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- ...
| 7898 |
124 | } | - |
125 | | - |
126 | absoluteName = QFileSystemEngine::absoluteName(dirEntry).filePath(); | - |
127 | }executed 440 times by 14 tests: end of block Executed by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QNetworkDiskCache
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qimagereader - unknown status
else { | 440 |
128 | absoluteName = fileEngine->fileName(QAbstractFileEngine::AbsoluteName); | - |
129 | }executed 5 times by 2 tests: end of block | 5 |
130 | | - |
131 | absoluteDirEntry = QFileSystemEntry(QDir::cleanPath(absoluteName), QFileSystemEntry::FromInternalPath()); | - |
132 | }executed 445 times by 15 tests: end of block Executed by:- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qimagereader - unknown status
| 445 |
133 | | - |
134 | | - |
135 | struct QDirSortItem | - |
136 | { | - |
137 | mutable QString filename_cache; | - |
138 | mutable QString suffix_cache; | - |
139 | QFileInfo item; | - |
140 | }; | - |
141 | | - |
142 | | - |
143 | class QDirSortItemComparator | - |
144 | { | - |
145 | int qt_cmp_si_sort_flags; | - |
146 | public: | - |
147 | QDirSortItemComparator(int flags) : qt_cmp_si_sort_flags(flags) {}executed 970 times by 128 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 970 |
148 | bool operator()(const QDirSortItem &, const QDirSortItem &) const; | - |
149 | }; | - |
150 | | - |
151 | bool QDirSortItemComparator::operator()(const QDirSortItem &n1, const QDirSortItem &n2) const | - |
152 | { | - |
153 | const QDirSortItem* f1 = &n1; | - |
154 | const QDirSortItem* f2 = &n2; | - |
155 | | - |
156 | if ((TRUE | evaluated 5814 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
| FALSE | evaluated 64747 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
qt_cmp_si_sort_flags & QDir::DirsFirst)TRUE | evaluated 5814 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
| FALSE | evaluated 64747 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
&& (TRUE | evaluated 671 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
| FALSE | evaluated 5143 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
|
f1->item.isDir() != f2->item.isDir())TRUE | evaluated 671 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
| FALSE | evaluated 5143 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
|
) | 671-64747 |
157 | returnexecuted 671 times by 4 tests: return f1->item.isDir(); Executed by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
f1->item.isDir();executed 671 times by 4 tests: return f1->item.isDir(); Executed by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
| 671 |
158 | if ((TRUE | evaluated 294 times by 1 test | FALSE | evaluated 69596 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
qt_cmp_si_sort_flags & QDir::DirsLast)TRUE | evaluated 294 times by 1 test | FALSE | evaluated 69596 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
&& (TRUE | evaluated 102 times by 1 test | FALSE | evaluated 192 times by 1 test |
f1->item.isDir() != f2->item.isDir())TRUE | evaluated 102 times by 1 test | FALSE | evaluated 192 times by 1 test |
) | 102-69596 |
159 | returnexecuted 102 times by 1 test: return !f1->item.isDir(); !f1->item.isDir();executed 102 times by 1 test: return !f1->item.isDir(); | 102 |
160 | | - |
161 | qint64 r = 0; | - |
162 | int sortBy = (qt_cmp_si_sort_flags & QDir::SortByMask) | - |
163 | | (qt_cmp_si_sort_flags & QDir::Type); | - |
164 | | - |
165 | switch (sortBy) { | - |
166 | caseexecuted 307 times by 2 tests: case QDir::Time: QDir::Time:executed 307 times by 2 tests: case QDir::Time: { | 307 |
167 | QDateTime firstModified = f1->item.lastModified(); | - |
168 | QDateTime secondModified = f2->item.lastModified(); | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | firstModified.setTimeSpec(Qt::UTC); | - |
175 | secondModified.setTimeSpec(Qt::UTC); | - |
176 | | - |
177 | r = firstModified.msecsTo(secondModified); | - |
178 | break;executed 307 times by 2 tests: break; | 307 |
179 | } | - |
180 | caseexecuted 486 times by 2 tests: case QDir::Size: QDir::Size:executed 486 times by 2 tests: case QDir::Size: | 486 |
181 | r = f2->item.size() - f1->item.size(); | - |
182 | break;executed 486 times by 2 tests: break; | 486 |
183 | caseexecuted 795 times by 2 tests: case QDir::Type: QDir::Type:executed 795 times by 2 tests: case QDir::Type: | 795 |
184 | { | - |
185 | bool ic = qt_cmp_si_sort_flags & QDir::IgnoreCase; | - |
186 | | - |
187 | if (f1->suffix_cache.isNull()TRUE | evaluated 464 times by 2 tests | FALSE | evaluated 331 times by 2 tests |
) | 331-464 |
188 | f1->suffix_cache = icTRUE | evaluated 304 times by 1 test | FALSE | evaluated 160 times by 1 test |
? f1->item.suffix().toLower()executed 464 times by 2 tests: f1->suffix_cache = ic ? f1->item.suffix().toLower() : f1->item.suffix(); | 160-464 |
189 | : f1->item.suffix();executed 464 times by 2 tests: f1->suffix_cache = ic ? f1->item.suffix().toLower() : f1->item.suffix(); | 464 |
190 | if (f2->suffix_cache.isNull()TRUE | evaluated 428 times by 2 tests | FALSE | evaluated 367 times by 2 tests |
) | 367-428 |
191 | f2->suffix_cache = icTRUE | evaluated 291 times by 1 test | FALSE | evaluated 137 times by 1 test |
? f2->item.suffix().toLower()executed 428 times by 2 tests: f2->suffix_cache = ic ? f2->item.suffix().toLower() : f2->item.suffix(); | 137-428 |
192 | : f2->item.suffix();executed 428 times by 2 tests: f2->suffix_cache = ic ? f2->item.suffix().toLower() : f2->item.suffix(); | 428 |
193 | | - |
194 | r = qt_cmp_si_sort_flags & QDir::LocaleAwareTRUE | never evaluated | FALSE | evaluated 795 times by 2 tests |
| 0-795 |
195 | ? f1->suffix_cache.localeAwareCompare(f2->suffix_cache) | - |
196 | : f1->suffix_cache.compare(f2->suffix_cache); | - |
197 | } | - |
198 | break;executed 795 times by 2 tests: break; | 795 |
199 | defaultexecuted 68200 times by 128 tests: default: Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
:executed 68200 times by 128 tests: default: Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 68200 |
200 | ; | - |
201 | }executed 68200 times by 128 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 68200 |
202 | | - |
203 | if (r == 0TRUE | evaluated 69172 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 616 times by 2 tests |
&& sortBy != QDir::UnsortedTRUE | evaluated 69172 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | never evaluated |
) { | 0-69172 |
204 | | - |
205 | bool ic = qt_cmp_si_sort_flags & QDir::IgnoreCase; | - |
206 | | - |
207 | if (f1->filename_cache.isNull()TRUE | evaluated 7573 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 61599 times by 126 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFile
- tst_QFileDialog2
- ...
|
) | 7573-61599 |
208 | f1->filename_cache = icTRUE | evaluated 3171 times by 126 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 4402 times by 6 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
- tst_QXmlSimpleReader
|
? f1->item.fileName().toLower()executed 7573 times by 128 tests: f1->filename_cache = ic ? f1->item.fileName().toLower() : f1->item.fileName(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 3171-7573 |
209 | : f1->item.fileName();executed 7573 times by 128 tests: f1->filename_cache = ic ? f1->item.fileName().toLower() : f1->item.fileName(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 7573 |
210 | if (f2->filename_cache.isNull()TRUE | evaluated 4929 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 64243 times by 127 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
) | 4929-64243 |
211 | f2->filename_cache = icTRUE | evaluated 1327 times by 126 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 3602 times by 6 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
- tst_QXmlSimpleReader
|
? f2->item.fileName().toLower()executed 4929 times by 128 tests: f2->filename_cache = ic ? f2->item.fileName().toLower() : f2->item.fileName(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 1327-4929 |
212 | : f2->item.fileName();executed 4929 times by 128 tests: f2->filename_cache = ic ? f2->item.fileName().toLower() : f2->item.fileName(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 4929 |
213 | | - |
214 | r = qt_cmp_si_sort_flags & QDir::LocaleAwareTRUE | never evaluated | FALSE | evaluated 69172 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
| 0-69172 |
215 | ? f1->filename_cache.localeAwareCompare(f2->filename_cache) | - |
216 | : f1->filename_cache.compare(f2->filename_cache); | - |
217 | }executed 69172 times by 128 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 69172 |
218 | if (qt_cmp_si_sort_flags & QDir::ReversedTRUE | evaluated 1579 times by 2 tests | FALSE | evaluated 68209 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
) | 1579-68209 |
219 | returnexecuted 1579 times by 2 tests: return r > 0; r > 0;executed 1579 times by 2 tests: return r > 0; | 1579 |
220 | returnexecuted 68209 times by 128 tests: return r < 0; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
r < 0;executed 68209 times by 128 tests: return r < 0; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 68209 |
221 | } | - |
222 | | - |
223 | inline void QDirPrivate::sortFileList(QDir::SortFlags sort, QFileInfoList &l, | - |
224 | QStringList *names, QFileInfoList *infos) | - |
225 | { | - |
226 | | - |
227 | int n = l.size(); | - |
228 | if (n > 0TRUE | evaluated 1154 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 320 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemModel
- tst_QItemModel
- tst_QMimeDatabase
- tst_QResourceEngine
- tst_qmakelib
|
) { | 320-1154 |
229 | if (n == 1TRUE | evaluated 184 times by 6 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QFileSystemModel
- tst_QItemModel
- tst_QMimeDatabase
- tst_QResourceEngine
| FALSE | evaluated 970 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
|| (TRUE | never evaluated | FALSE | evaluated 970 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
sort & QDir::SortByMask) == QDir::UnsortedTRUE | never evaluated | FALSE | evaluated 970 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
) { | 0-970 |
230 | if (infosTRUE | evaluated 121 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
| FALSE | evaluated 63 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QMimeDatabase
|
) | 63-121 |
231 | *executed 121 times by 4 tests: *infos = l; Executed by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
infos = l;executed 121 times by 4 tests: *infos = l; Executed by:- tst_QDir
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
| 121 |
232 | if (namesTRUE | evaluated 65 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QMimeDatabase
| FALSE | evaluated 119 times by 3 testsEvaluated by:- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
|
) { | 65-119 |
233 | for (int i = 0; i < nTRUE | evaluated 65 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QMimeDatabase
| FALSE | evaluated 65 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QMimeDatabase
|
; ++i) | 65 |
234 | names->append(l.at(i).fileName());executed 65 times by 3 tests: names->append(l.at(i).fileName()); Executed by:- tst_QDir
- tst_QFileSystemModel
- tst_QMimeDatabase
| 65 |
235 | }executed 65 times by 3 tests: end of block Executed by:- tst_QDir
- tst_QFileSystemModel
- tst_QMimeDatabase
| 65 |
236 | }executed 184 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QDirModel
- tst_QFileSystemModel
- tst_QItemModel
- tst_QMimeDatabase
- tst_QResourceEngine
else { | 184 |
237 | QScopedArrayPointer<QDirSortItem> si(new QDirSortItem[n]); | - |
238 | for (int i = 0; i < nTRUE | evaluated 12585 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| FALSE | evaluated 970 times by 128 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
|
; ++i) | 970-12585 |
239 | si[i].item = l.at(i);executed 12585 times by 128 tests: si[i].item = l.at(i); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 12585 |
240 | std::sort(si.data(), si.data() + n, QDirSortItemComparator(sort)); | - |
241 | | - |
242 | if (infosTRUE | evaluated 611 times by 18 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QVariant
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_rcc
- tst_uic
| FALSE | evaluated 359 times by 116 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) { | 359-611 |
243 | for (int i = 0; i < nTRUE | evaluated 10063 times by 18 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QVariant
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_rcc
- tst_uic
| FALSE | evaluated 611 times by 18 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QVariant
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_rcc
- tst_uic
|
; ++i) | 611-10063 |
244 | infos->append(si[i].item);executed 10063 times by 18 tests: infos->append(si[i].item); Executed by:- tst_QAbstractFileEngine
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QVariant
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_rcc
- tst_uic
| 10063 |
245 | }executed 611 times by 18 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QCompleter
- tst_QCssParser
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QTemporaryDir
- tst_QVariant
- tst_QXmlSimpleReader
- tst_qmakelib
- tst_rcc
- tst_uic
| 611 |
246 | if (namesTRUE | evaluated 418 times by 119 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 552 times by 14 testsEvaluated by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_QXmlSimpleReader
- tst_rcc
- tst_uic
|
) { | 418-552 |
247 | for (int i = 0; i < nTRUE | evaluated 2848 times by 119 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| FALSE | evaluated 418 times by 119 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
|
; ++i) | 418-2848 |
248 | names->append(si[i].item.fileName());executed 2848 times by 119 tests: names->append(si[i].item.fileName()); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 2848 |
249 | }executed 418 times by 119 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- ...
| 418 |
250 | }executed 970 times by 128 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFile
- ...
| 970 |
251 | } | - |
252 | }executed 1474 times by 129 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCssParser
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- ...
| 1474 |
253 | inline void QDirPrivate::initFileLists(const QDir &dir) const | - |
254 | { | - |
255 | if (!fileListsInitializedTRUE | evaluated 66 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_qmakelib
| FALSE | evaluated 95 times by 2 tests |
) { | 66-95 |
256 | QFileInfoList l; | - |
257 | QDirIterator it(dir); | - |
258 | while (it.hasNext()TRUE | evaluated 328 times by 6 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_qmakelib
| FALSE | evaluated 66 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_qmakelib
|
) { | 66-328 |
259 | it.next(); | - |
260 | l.append(it.fileInfo()); | - |
261 | }executed 328 times by 6 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_qmakelib
| 328 |
262 | sortFileList(sort, l, &files, &fileInfos); | - |
263 | fileListsInitialized = true; | - |
264 | }executed 66 times by 7 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_qmakelib
| 66 |
265 | }executed 161 times by 7 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_qmakelib
| 161 |
266 | | - |
267 | inline void QDirPrivate::initFileEngine() | - |
268 | { | - |
269 | fileEngine.reset(QFileSystemEngine::resolveEntryAndCreateLegacyEngine(dirEntry, metaData)); | - |
270 | }executed 19723 times by 248 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
| 19723 |
271 | QDir::QDir(QDirPrivate &p) : d_ptr(&p) | - |
272 | { | - |
273 | } never executed: end of block | 0 |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | | - |
279 | | - |
280 | | - |
281 | QDir::QDir(const QString &path) : d_ptr(new QDirPrivate(path)) | - |
282 | { | - |
283 | }executed 18066 times by 248 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- ...
| 18066 |
284 | QDir::QDir(const QString &path, const QString &nameFilter, | - |
285 | SortFlags sort, Filters filters) | - |
286 | : d_ptr(new QDirPrivate(path, QDir::nameFiltersFromString(nameFilter), sort, filters)) | - |
287 | { | - |
288 | }executed 27 times by 2 tests: end of block | 27 |
289 | | - |
290 | | - |
291 | | - |
292 | | - |
293 | | - |
294 | | - |
295 | | - |
296 | QDir::QDir(const QDir &dir) | - |
297 | : d_ptr(dir.d_ptr) | - |
298 | { | - |
299 | }executed 324 times by 7 tests: end of block Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_languageChange
| 324 |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | | - |
305 | QDir::~QDir() | - |
306 | { | - |
307 | } | - |
308 | void QDir::setPath(const QString &path) | - |
309 | { | - |
310 | d_ptr->setPath(path); | - |
311 | }executed 873 times by 12 tests: end of block Executed by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_QTemporaryDir
- tst_languageChange
| 873 |
312 | QString QDir::path() const | - |
313 | { | - |
314 | const QDirPrivate* d = d_ptr.constData(); | - |
315 | returnexecuted 17022 times by 74 tests: return d->dirEntry.filePath(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMessageBox
- ...
d->dirEntry.filePath();executed 17022 times by 74 tests: return d->dirEntry.filePath(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QCalendarWidget
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDir
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLabel
- tst_QLineEdit
- tst_QLocalSocket
- tst_QMessageBox
- ...
| 17022 |
316 | } | - |
317 | QString QDir::absolutePath() const | - |
318 | { | - |
319 | const QDirPrivate* d = d_ptr.constData(); | - |
320 | d->resolveAbsoluteEntry(); | - |
321 | returnexecuted 12064 times by 65 tests: return d->absoluteDirEntry.filePath(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLabel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- ...
d->absoluteDirEntry.filePath();executed 12064 times by 65 tests: return d->absoluteDirEntry.filePath(); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QCoreApplication
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLabel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QMovie
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QPrinter
- ...
| 12064 |
322 | } | - |
323 | QString QDir::canonicalPath() const | - |
324 | { | - |
325 | const QDirPrivate* d = d_ptr.constData(); | - |
326 | if (d->fileEngine.isNull()TRUE | evaluated 1186 times by 36 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCoreApplication
- tst_QDir
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QNetworkAccessManager
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QPluginLoader
- tst_QProcess
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- ...
| FALSE | evaluated 1 time by 1 test |
) { | 1-1186 |
327 | QFileSystemEntry answer = QFileSystemEngine::canonicalName(d->dirEntry, d->metaData); | - |
328 | returnexecuted 1186 times by 36 tests: return answer.filePath(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCoreApplication
- tst_QDir
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QNetworkAccessManager
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QPluginLoader
- tst_QProcess
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- ...
answer.filePath();executed 1186 times by 36 tests: return answer.filePath(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QApplication
- tst_QCoreApplication
- tst_QDir
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QImage
- tst_QNetworkAccessManager
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QPluginLoader
- tst_QProcess
- tst_QSql
- tst_QSqlDatabase
- tst_QSqlDriver
- ...
| 1186 |
329 | } | - |
330 | returnexecuted 1 time by 1 test: return d->fileEngine->fileName(QAbstractFileEngine::CanonicalName); d->fileEngine->fileName(QAbstractFileEngine::CanonicalName);executed 1 time by 1 test: return d->fileEngine->fileName(QAbstractFileEngine::CanonicalName); | 1 |
331 | } | - |
332 | QString QDir::dirName() const | - |
333 | { | - |
334 | const QDirPrivate* d = d_ptr.constData(); | - |
335 | returnexecuted 25 times by 6 tests: return d->dirEntry.fileName(); Executed by:- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QTemporaryDir
- tst_QTranslator
d->dirEntry.fileName();executed 25 times by 6 tests: return d->dirEntry.fileName(); Executed by:- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFiledialog
- tst_QTemporaryDir
- tst_QTranslator
| 25 |
336 | } | - |
337 | QString QDir::filePath(const QString &fileName) const | - |
338 | { | - |
339 | const QDirPrivate* d = d_ptr.constData(); | - |
340 | if (isAbsolutePath(fileName)TRUE | evaluated 4239 times by 59 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- ...
| FALSE | evaluated 7833 times by 217 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
|
) | 4239-7833 |
341 | returnexecuted 4239 times by 59 tests: return fileName; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- ...
fileName;executed 4239 times by 59 tests: return fileName; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- ...
| 4239 |
342 | | - |
343 | QString ret = d->dirEntry.filePath(); | - |
344 | if (!fileName.isEmpty()TRUE | evaluated 7832 times by 217 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
| FALSE | evaluated 1 time by 1 test |
) { | 1-7832 |
345 | if (!ret.isEmpty()TRUE | evaluated 7832 times by 217 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
| FALSE | never evaluated |
&& ret[(int)ret.length()-1] != QLatin1Char('/')TRUE | evaluated 7831 times by 217 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
| FALSE | evaluated 1 time by 1 test |
&& fileName[0] != QLatin1Char('/')TRUE | evaluated 7831 times by 217 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
| FALSE | never evaluated |
) | 0-7832 |
346 | ret += QLatin1Char('/');executed 7831 times by 217 tests: ret += QLatin1Char('/'); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
| 7831 |
347 | ret += fileName; | - |
348 | }executed 7832 times by 217 tests: end of block Executed by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
| 7832 |
349 | returnexecuted 7833 times by 217 tests: return ret; Executed by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
ret;executed 7833 times by 217 tests: return ret; Executed by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- ...
| 7833 |
350 | } | - |
351 | QString QDir::absoluteFilePath(const QString &fileName) const | - |
352 | { | - |
353 | const QDirPrivate* d = d_ptr.constData(); | - |
354 | if (isAbsolutePath(fileName)TRUE | evaluated 240 times by 6 testsEvaluated by:- tst_NetworkSelfTest
- tst_QDir
- tst_QIcon
- tst_QMimeDatabase
- tst_qmakelib
- tst_qstandardpaths
| FALSE | evaluated 1419 times by 88 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFrame
- tst_QFtp
- ...
|
) | 240-1419 |
355 | returnexecuted 240 times by 6 tests: return fileName; Executed by:- tst_NetworkSelfTest
- tst_QDir
- tst_QIcon
- tst_QMimeDatabase
- tst_qmakelib
- tst_qstandardpaths
fileName;executed 240 times by 6 tests: return fileName; Executed by:- tst_NetworkSelfTest
- tst_QDir
- tst_QIcon
- tst_QMimeDatabase
- tst_qmakelib
- tst_qstandardpaths
| 240 |
356 | | - |
357 | d->resolveAbsoluteEntry(); | - |
358 | const QString absoluteDirPath = d->absoluteDirEntry.filePath(); | - |
359 | if (fileName.isEmpty()TRUE | evaluated 4 times by 2 tests | FALSE | evaluated 1415 times by 88 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFrame
- tst_QFtp
- ...
|
) | 4-1415 |
360 | returnexecuted 4 times by 2 tests: return absoluteDirPath; absoluteDirPath;executed 4 times by 2 tests: return absoluteDirPath; | 4 |
361 | if (!absoluteDirPath.endsWith(QLatin1Char('/'))TRUE | evaluated 1414 times by 88 testsEvaluated by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFrame
- tst_QFtp
- ...
| FALSE | evaluated 1 time by 1 test |
) | 1-1414 |
362 | returnexecuted 1414 times by 88 tests: return absoluteDirPath % QLatin1Char('/') % fileName; Executed by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFrame
- tst_QFtp
- ...
absoluteDirPath % QLatin1Char('/') % fileName;executed 1414 times by 88 tests: return absoluteDirPath % QLatin1Char('/') % fileName; Executed by:- tst_QApplication
- tst_QByteArray
- tst_QClipboard
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCoreApplication
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusInterface
- tst_QDBusMarshall
- tst_QDataStream
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFactoryLoader
- tst_QFile
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFrame
- tst_QFtp
- ...
| 1414 |
363 | returnexecuted 1 time by 1 test: return absoluteDirPath % fileName; absoluteDirPath % fileName;executed 1 time by 1 test: return absoluteDirPath % fileName; | 1 |
364 | } | - |
365 | QString QDir::relativeFilePath(const QString &fileName) const | - |
366 | { | - |
367 | QString dir = cleanPath(absolutePath()); | - |
368 | QString file = cleanPath(fileName); | - |
369 | | - |
370 | if (isRelativePath(file)TRUE | evaluated 41 times by 2 testsEvaluated by:- tst_QDir
- tst_QTemporaryDir
| FALSE | evaluated 66 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
|
|| isRelativePath(dir)TRUE | never evaluated | FALSE | evaluated 66 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
|
) | 0-66 |
371 | returnexecuted 41 times by 2 tests: return file; Executed by:- tst_QDir
- tst_QTemporaryDir
file;executed 41 times by 2 tests: return file; Executed by:- tst_QDir
- tst_QTemporaryDir
| 41 |
372 | QString result; | - |
373 | QVector<QStringRef> dirElts = dir.splitRef(QLatin1Char('/'), QString::SkipEmptyParts); | - |
374 | QVector<QStringRef> fileElts = file.splitRef(QLatin1Char('/'), QString::SkipEmptyParts); | - |
375 | | - |
376 | int i = 0; | - |
377 | while (i < dirElts.size()TRUE | evaluated 132 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
| FALSE | evaluated 62 times by 3 testsEvaluated by:- tst_QDir
- tst_QTemporaryFile
- tst_qmakelib
|
&& i < fileElts.size()TRUE | evaluated 132 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
| FALSE | never evaluated |
&& | 0-132 |
378 | | - |
379 | | - |
380 | | - |
381 | dirElts.at(i) == fileElts.at(i)TRUE | evaluated 128 times by 3 testsEvaluated by:- tst_QDir
- tst_QTemporaryFile
- tst_qmakelib
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
|
) | 4-128 |
382 | | - |
383 | ++executed 128 times by 3 tests: ++i; Executed by:- tst_QDir
- tst_QTemporaryFile
- tst_qmakelib
i;executed 128 times by 3 tests: ++i; Executed by:- tst_QDir
- tst_QTemporaryFile
- tst_qmakelib
| 128 |
384 | | - |
385 | for (int j = 0; j < dirElts.size() - iTRUE | evaluated 32 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
| FALSE | evaluated 66 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
|
; ++j) | 32-66 |
386 | result += QLatin1String("../");executed 32 times by 2 tests: result += QLatin1String("../"); Executed by:- tst_QDir
- tst_QFileSystemWatcher
| 32 |
387 | | - |
388 | for (int j = i; j < fileElts.size()TRUE | evaluated 92 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
| FALSE | evaluated 66 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
|
; ++j) { | 66-92 |
389 | result += fileElts.at(j); | - |
390 | if (j < fileElts.size() - 1TRUE | evaluated 30 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
| FALSE | evaluated 62 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
|
) | 30-62 |
391 | result += QLatin1Char('/');executed 30 times by 4 tests: result += QLatin1Char('/'); Executed by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
| 30 |
392 | }executed 92 times by 4 tests: end of block Executed by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
| 92 |
393 | | - |
394 | if (result.isEmpty()TRUE | evaluated 4 times by 2 tests | FALSE | evaluated 62 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
|
) | 4-62 |
395 | returnexecuted 4 times by 2 tests: return QLatin1String("."); QLatin1String(".");executed 4 times by 2 tests: return QLatin1String("."); | 4 |
396 | returnexecuted 62 times by 4 tests: return result; Executed by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
result;executed 62 times by 4 tests: return result; Executed by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QTemporaryFile
- tst_qmakelib
| 62 |
397 | } | - |
398 | QString QDir::toNativeSeparators(const QString &pathName) | - |
399 | { | - |
400 | returnexecuted 119668 times by 271 tests: return pathName; 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
- ...
pathName;executed 119668 times by 271 tests: return pathName; 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
- ...
| 119668 |
401 | } | - |
402 | QString QDir::fromNativeSeparators(const QString &pathName) | - |
403 | { | - |
404 | returnexecuted 613846 times by 310 tests: return pathName; Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- ...
pathName;executed 613846 times by 310 tests: return pathName; Executed by:- tst_Gestures
- tst_Lancelot
- tst_LargeFile
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractButton
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QCheckBox
- tst_QClipboard
- ...
| 613846 |
405 | } | - |
406 | bool QDir::cd(const QString &dirName) | - |
407 | { | - |
408 | | - |
409 | const QDirPrivate * const d = d_ptr.constData(); | - |
410 | | - |
411 | if (dirName.isEmpty()TRUE | never evaluated | FALSE | evaluated 58 times by 11 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
|
|| dirName == QLatin1String(".")TRUE | evaluated 1 time by 1 test | FALSE | evaluated 57 times by 11 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
|
) | 0-58 |
412 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
413 | QString newPath; | - |
414 | if (isAbsolutePath(dirName)TRUE | evaluated 3 times by 2 tests | FALSE | evaluated 54 times by 10 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
|
) { | 3-54 |
415 | newPath = cleanPath(dirName); | - |
416 | }executed 3 times by 2 tests: end of block else { | 3 |
417 | if (isRoot()TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
| FALSE | evaluated 50 times by 10 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
|
) | 4-50 |
418 | newPath = d->dirEntry.filePath();executed 4 times by 2 tests: newPath = d->dirEntry.filePath(); Executed by:- tst_QDir
- tst_QFileSystemModel
| 4 |
419 | else | - |
420 | newPath = d->dirEntry.filePath() % QLatin1Char('/');executed 50 times by 10 tests: newPath = d->dirEntry.filePath() % QLatin1Char('/'); Executed by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
| 50 |
421 | newPath += dirName; | - |
422 | if (dirName.indexOf(QLatin1Char('/')) >= 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 50 times by 10 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
|
| 4-50 |
423 | || dirName == QLatin1String("..")TRUE | evaluated 32 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QUrl
- tst_qmakelib
| FALSE | evaluated 18 times by 5 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemWatcher
|
| 18-32 |
424 | || d->dirEntry.filePath() == QLatin1String(".")TRUE | evaluated 3 times by 2 tests | FALSE | evaluated 15 times by 4 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemWatcher
|
) { | 3-15 |
425 | newPath = cleanPath(newPath); | - |
426 | | - |
427 | | - |
428 | if (newPath.startsWith(QLatin1String("/../"))TRUE | never evaluated | FALSE | evaluated 39 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QUrl
- tst_qmakelib
|
|| newPath == QLatin1String("/..")TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
| FALSE | evaluated 34 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QUrl
- tst_qmakelib
|
) | 0-39 |
429 | returnexecuted 5 times by 2 tests: return false; Executed by:- tst_QDir
- tst_QFileSystemModel
false;executed 5 times by 2 tests: return false; Executed by:- tst_QDir
- tst_QFileSystemModel
| 5 |
430 | if (newPath.startsWith(QLatin1String(".."))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 32 times by 8 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QUrl
- tst_qmakelib
|
) { | 2-32 |
431 | newPath = QFileInfo(newPath).absoluteFilePath(); | - |
432 | }executed 2 times by 1 test: end of block | 2 |
433 | }executed 34 times by 8 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QUrl
- tst_qmakelib
| 34 |
434 | }executed 49 times by 10 tests: end of block Executed by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
| 49 |
435 | | - |
436 | QScopedPointer<QDirPrivate> dir(new QDirPrivate(*d_ptr.constData())); | - |
437 | dir->setPath(newPath); | - |
438 | if (!dir->exists()TRUE | evaluated 3 times by 2 tests | FALSE | evaluated 49 times by 11 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
|
) | 3-49 |
439 | returnexecuted 3 times by 2 tests: return false; false;executed 3 times by 2 tests: return false; | 3 |
440 | | - |
441 | d_ptr = dir.take(); | - |
442 | returnexecuted 49 times by 11 tests: return true; Executed by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
true;executed 49 times by 11 tests: return true; Executed by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
| 49 |
443 | } | - |
444 | bool QDir::cdUp() | - |
445 | { | - |
446 | returnexecuted 26 times by 8 tests: return cd(QString::fromLatin1("..")); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QUrl
- tst_qmakelib
cd(QString::fromLatin1(".."));executed 26 times by 8 tests: return cd(QString::fromLatin1("..")); Executed by:- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QUrl
- tst_qmakelib
| 26 |
447 | } | - |
448 | | - |
449 | | - |
450 | | - |
451 | | - |
452 | QStringList QDir::nameFilters() const | - |
453 | { | - |
454 | const QDirPrivate* d = d_ptr.constData(); | - |
455 | returnexecuted 13 times by 1 test: return d->nameFilters; d->nameFilters;executed 13 times by 1 test: return d->nameFilters; | 13 |
456 | } | - |
457 | void QDir::setNameFilters(const QStringList &nameFilters) | - |
458 | { | - |
459 | QDirPrivate* d = d_ptr.data(); | - |
460 | d->initFileEngine(); | - |
461 | d->clearFileLists(); | - |
462 | | - |
463 | d->nameFilters = nameFilters; | - |
464 | }executed 376 times by 9 tests: end of block Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QSslCertificate
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_static
- tst_languageChange
| 376 |
465 | void QDir::addResourceSearchPath(const QString &path) | - |
466 | { | - |
467 | | - |
468 | QResource::addSearchPath(path); | - |
469 | | - |
470 | | - |
471 | | - |
472 | }executed 2 times by 1 test: end of block | 2 |
473 | void QDir::setSearchPaths(const QString &prefix, const QStringList &searchPaths) | - |
474 | { | - |
475 | if (prefix.length() < 2TRUE | never evaluated | FALSE | evaluated 35 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
) { | 0-35 |
476 | QMessageLogger(__FILE__, 1022, __PRETTY_FUNCTION__).warning("QDir::setSearchPaths: Prefix must be longer than 1 character"); | - |
477 | return; never executed: return; | 0 |
478 | } | - |
479 | | - |
480 | for (int i = 0; i < prefix.count()TRUE | evaluated 318 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
| FALSE | evaluated 35 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
; ++i) { | 35-318 |
481 | if (!prefix.at(i).isLetterOrNumber()TRUE | never evaluated | FALSE | evaluated 318 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
) { | 0-318 |
482 | QMessageLogger(__FILE__, 1028, __PRETTY_FUNCTION__).warning("QDir::setSearchPaths: Prefix can only contain letters or numbers"); | - |
483 | return; never executed: return; | 0 |
484 | } | - |
485 | }executed 318 times by 2 tests: end of block Executed by:- tst_QDir
- tst_QNetworkReply
| 318 |
486 | | - |
487 | QWriteLocker lock(&QCoreGlobalData::instance()->dirSearchPathsLock); | - |
488 | QMap<QString, QStringList> &paths = QCoreGlobalData::instance()->dirSearchPaths; | - |
489 | if (searchPaths.isEmpty()TRUE | evaluated 22 times by 1 test | FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QDir
- tst_QNetworkReply
|
) { | 13-22 |
490 | paths.remove(prefix); | - |
491 | }executed 22 times by 1 test: end of block else { | 22 |
492 | paths.insert(prefix, searchPaths); | - |
493 | }executed 13 times by 2 tests: end of block Executed by:- tst_QDir
- tst_QNetworkReply
| 13 |
494 | } | - |
495 | void QDir::addSearchPath(const QString &prefix, const QString &path) | - |
496 | { | - |
497 | if (path.isEmpty()TRUE | never evaluated | FALSE | evaluated 13 times by 1 test |
) | 0-13 |
498 | return; never executed: return; | 0 |
499 | | - |
500 | QWriteLocker lock(&QCoreGlobalData::instance()->dirSearchPathsLock); | - |
501 | QCoreGlobalData::instance()->dirSearchPaths[prefix] += path; | - |
502 | }executed 13 times by 1 test: end of block | 13 |
503 | QStringList QDir::searchPaths(const QString &prefix) | - |
504 | { | - |
505 | QReadLocker lock(&QCoreGlobalData::instance()->dirSearchPathsLock); | - |
506 | returnexecuted 123 times by 5 tests: return QCoreGlobalData::instance()->dirSearchPaths.value(prefix); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
QCoreGlobalData::instance()->dirSearchPaths.value(prefix);executed 123 times by 5 tests: return QCoreGlobalData::instance()->dirSearchPaths.value(prefix); Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QUrl
| 123 |
507 | } | - |
508 | | - |
509 | | - |
510 | | - |
511 | | - |
512 | | - |
513 | | - |
514 | QDir::Filters QDir::filter() const | - |
515 | { | - |
516 | const QDirPrivate* d = d_ptr.constData(); | - |
517 | returnexecuted 16 times by 1 test: return d->filters; d->filters;executed 16 times by 1 test: return d->filters; | 16 |
518 | } | - |
519 | void QDir::setFilter(Filters filters) | - |
520 | { | - |
521 | QDirPrivate* d = d_ptr.data(); | - |
522 | d->initFileEngine(); | - |
523 | d->clearFileLists(); | - |
524 | | - |
525 | d->filters = filters; | - |
526 | }executed 320 times by 6 tests: end of block Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_languageChange
| 320 |
527 | | - |
528 | | - |
529 | | - |
530 | | - |
531 | | - |
532 | | - |
533 | QDir::SortFlags QDir::sorting() const | - |
534 | { | - |
535 | const QDirPrivate* d = d_ptr.constData(); | - |
536 | returnexecuted 16 times by 1 test: return d->sort; d->sort;executed 16 times by 1 test: return d->sort; | 16 |
537 | } | - |
538 | void QDir::setSorting(SortFlags sort) | - |
539 | { | - |
540 | QDirPrivate* d = d_ptr.data(); | - |
541 | d->initFileEngine(); | - |
542 | d->clearFileLists(); | - |
543 | | - |
544 | d->sort = sort; | - |
545 | }executed 5 times by 1 test: end of block | 5 |
546 | uint QDir::count() const | - |
547 | { | - |
548 | const QDirPrivate* d = d_ptr.constData(); | - |
549 | d->initFileLists(*this); | - |
550 | returnexecuted 29 times by 2 tests: return d->files.count(); d->files.count();executed 29 times by 2 tests: return d->files.count(); | 29 |
551 | } | - |
552 | QString QDir::operator[](int pos) const | - |
553 | { | - |
554 | const QDirPrivate* d = d_ptr.constData(); | - |
555 | d->initFileLists(*this); | - |
556 | returnexecuted 53 times by 2 tests: return d->files[pos]; d->files[pos];executed 53 times by 2 tests: return d->files[pos]; | 53 |
557 | } | - |
558 | QStringList QDir::entryList(Filters filters, SortFlags sort) const | - |
559 | { | - |
560 | const QDirPrivate* d = d_ptr.constData(); | - |
561 | returnexecuted 693 times by 118 tests: return entryList(d->nameFilters, filters, sort); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
entryList(d->nameFilters, filters, sort);executed 693 times by 118 tests: return entryList(d->nameFilters, filters, sort); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 693 |
562 | } | - |
563 | QFileInfoList QDir::entryInfoList(Filters filters, SortFlags sort) const | - |
564 | { | - |
565 | const QDirPrivate* d = d_ptr.constData(); | - |
566 | returnexecuted 253 times by 9 tests: return entryInfoList(d->nameFilters, filters, sort); Executed by:- tst_QAbstractFileEngine
- tst_QCssParser
- tst_QDir
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
entryInfoList(d->nameFilters, filters, sort);executed 253 times by 9 tests: return entryInfoList(d->nameFilters, filters, sort); Executed by:- tst_QAbstractFileEngine
- tst_QCssParser
- tst_QDir
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
| 253 |
567 | } | - |
568 | QStringList QDir::entryList(const QStringList &nameFilters, Filters filters, | - |
569 | SortFlags sort) const | - |
570 | { | - |
571 | const QDirPrivate* d = d_ptr.constData(); | - |
572 | | - |
573 | if (filters == NoFilterTRUE | evaluated 64 times by 7 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QTemporaryDir
- tst_QXmlStream
- tst_qmakelib
| FALSE | evaluated 684 times by 116 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) | 64-684 |
574 | filters = d->filters;executed 64 times by 7 tests: filters = d->filters; Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QTemporaryDir
- tst_QXmlStream
- tst_qmakelib
| 64 |
575 | if (sort == NoSortTRUE | evaluated 709 times by 120 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| FALSE | evaluated 39 times by 2 tests |
) | 39-709 |
576 | sort = d->sort;executed 709 times by 120 tests: sort = d->sort; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- ...
| 709 |
577 | | - |
578 | if (filters == d->filtersTRUE | evaluated 89 times by 8 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_QXmlStream
- tst_qmakelib
| FALSE | evaluated 659 times by 115 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
&& sort == d->sortTRUE | evaluated 76 times by 8 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
- tst_QXmlStream
- tst_qmakelib
| FALSE | evaluated 13 times by 1 test |
&& nameFilters == d->nameFiltersTRUE | evaluated 68 times by 6 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
| FALSE | evaluated 8 times by 3 testsEvaluated by:- tst_QDir
- tst_QXmlStream
- tst_qmakelib
|
) { | 8-659 |
579 | d->initFileLists(*this); | - |
580 | returnexecuted 68 times by 6 tests: return d->files; Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
d->files;executed 68 times by 6 tests: return d->files; Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
| 68 |
581 | } | - |
582 | | - |
583 | QFileInfoList l; | - |
584 | QDirIterator it(d->dirEntry.filePath(), nameFilters, filters); | - |
585 | while (it.hasNext()TRUE | evaluated 2585 times by 116 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| FALSE | evaluated 680 times by 116 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
|
) { | 680-2585 |
586 | it.next(); | - |
587 | l.append(it.fileInfo()); | - |
588 | }executed 2585 times by 116 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 2585 |
589 | QStringList ret; | - |
590 | d->sortFileList(sort, l, &ret, 0); | - |
591 | returnexecuted 680 times by 116 tests: return ret; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
ret;executed 680 times by 116 tests: return ret; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDir
- tst_QDirModel
- tst_QDoubleSpinBox
- tst_QFactoryLoader
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- ...
| 680 |
592 | } | - |
593 | QFileInfoList QDir::entryInfoList(const QStringList &nameFilters, Filters filters, | - |
594 | SortFlags sort) const | - |
595 | { | - |
596 | const QDirPrivate* d = d_ptr.constData(); | - |
597 | | - |
598 | if (filters == NoFilterTRUE | evaluated 42 times by 5 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | evaluated 697 times by 12 testsEvaluated by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QXmlSimpleReader
- tst_uic
|
) | 42-697 |
599 | filters = d->filters;executed 42 times by 5 tests: filters = d->filters; Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| 42 |
600 | if (sort == NoSortTRUE | evaluated 183 times by 11 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QCssParser
- tst_QDir
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_rcc
- tst_uic
| FALSE | evaluated 556 times by 5 testsEvaluated by:- tst_QCompleter
- tst_QDirModel
- tst_QItemModel
- tst_QResourceEngine
- tst_QXmlSimpleReader
|
) | 183-556 |
601 | sort = d->sort;executed 183 times by 11 tests: sort = d->sort; Executed by:- tst_QAbstractFileEngine
- tst_QCssParser
- tst_QDir
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_rcc
- tst_uic
| 183 |
602 | | - |
603 | if (filters == d->filtersTRUE | evaluated 42 times by 5 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QResourceEngine
- tst_QVariant
- tst_rcc
| FALSE | evaluated 697 times by 12 testsEvaluated by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QXmlSimpleReader
- tst_uic
|
&& sort == d->sortTRUE | evaluated 16 times by 4 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QVariant
- tst_rcc
| FALSE | evaluated 26 times by 1 test |
&& nameFilters == d->nameFiltersTRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
| FALSE | evaluated 5 times by 2 tests |
) { | 5-697 |
604 | d->initFileLists(*this); | - |
605 | returnexecuted 11 times by 2 tests: return d->fileInfos; Executed by:- tst_QAbstractFileEngine
- tst_QDir
d->fileInfos;executed 11 times by 2 tests: return d->fileInfos; Executed by:- tst_QAbstractFileEngine
- tst_QDir
| 11 |
606 | } | - |
607 | | - |
608 | QFileInfoList l; | - |
609 | QDirIterator it(d->dirEntry.filePath(), nameFilters, filters); | - |
610 | while (it.hasNext()TRUE | evaluated 9856 times by 14 testsEvaluated by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_QXmlSimpleReader
- tst_rcc
- tst_uic
| FALSE | evaluated 728 times by 14 testsEvaluated by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_QXmlSimpleReader
- tst_rcc
- tst_uic
|
) { | 728-9856 |
611 | it.next(); | - |
612 | l.append(it.fileInfo()); | - |
613 | }executed 9856 times by 14 tests: end of block Executed by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_QXmlSimpleReader
- tst_rcc
- tst_uic
| 9856 |
614 | QFileInfoList ret; | - |
615 | d->sortFileList(sort, l, 0, &ret); | - |
616 | returnexecuted 728 times by 14 tests: return ret; Executed by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_QXmlSimpleReader
- tst_rcc
- tst_uic
ret;executed 728 times by 14 tests: return ret; Executed by:- tst_QCompleter
- tst_QCssParser
- tst_QDirModel
- tst_QFile
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QItemModel
- tst_QResourceEngine
- tst_QSslCertificate
- tst_QSslKey
- tst_QVariant
- tst_QXmlSimpleReader
- tst_rcc
- tst_uic
| 728 |
617 | } | - |
618 | bool QDir::mkdir(const QString &dirName) const | - |
619 | { | - |
620 | const QDirPrivate* d = d_ptr.constData(); | - |
621 | | - |
622 | if (dirName.isEmpty()TRUE | never evaluated | FALSE | evaluated 1425 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- 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_QTemporaryDir
- tst_QTemporaryFile
- tst_qstandardpaths
- tst_uic
|
) { | 0-1425 |
623 | QMessageLogger(__FILE__, 1395, __PRETTY_FUNCTION__).warning("QDir::mkdir: Empty or null file name"); | - |
624 | return never executed: return false; false;never executed: return false; | 0 |
625 | } | - |
626 | | - |
627 | QString fn = filePath(dirName); | - |
628 | if (d->fileEngine.isNull()TRUE | evaluated 1425 times by 18 testsEvaluated by:- tst_QAbstractNetworkCache
- 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_QTemporaryDir
- tst_QTemporaryFile
- tst_qstandardpaths
- tst_uic
| FALSE | never evaluated |
) | 0-1425 |
629 | returnexecuted 1425 times by 18 tests: return QFileSystemEngine::createDirectory(QFileSystemEntry(fn), false); Executed by:- tst_QAbstractNetworkCache
- 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_QTemporaryDir
- tst_QTemporaryFile
- tst_qstandardpaths
- tst_uic
QFileSystemEngine::createDirectory(QFileSystemEntry(fn), false);executed 1425 times by 18 tests: return QFileSystemEngine::createDirectory(QFileSystemEntry(fn), false); Executed by:- tst_QAbstractNetworkCache
- 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_QTemporaryDir
- tst_QTemporaryFile
- tst_qstandardpaths
- tst_uic
| 1425 |
630 | return never executed: return d->fileEngine->mkdir(fn, false); d->fileEngine->mkdir(fn, false);never executed: return d->fileEngine->mkdir(fn, false); | 0 |
631 | } | - |
632 | bool QDir::rmdir(const QString &dirName) const | - |
633 | { | - |
634 | const QDirPrivate* d = d_ptr.constData(); | - |
635 | | - |
636 | if (dirName.isEmpty()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2734 times by 55 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_QIcon
- 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
- ...
|
) { | 2-2734 |
637 | QMessageLogger(__FILE__, 1419, __PRETTY_FUNCTION__).warning("QDir::rmdir: Empty or null file name"); | - |
638 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
639 | } | - |
640 | | - |
641 | QString fn = filePath(dirName); | - |
642 | if (d->fileEngine.isNull()TRUE | evaluated 2734 times by 55 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_QIcon
- 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
- ...
| FALSE | never evaluated |
) | 0-2734 |
643 | returnexecuted 2734 times by 55 tests: return QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), false); 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_QIcon
- 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
- ...
QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), false);executed 2734 times by 55 tests: return QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), false); 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_QIcon
- 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
- ...
| 2734 |
644 | | - |
645 | return never executed: return d->fileEngine->rmdir(fn, false); d->fileEngine->rmdir(fn, false);never executed: return d->fileEngine->rmdir(fn, false); | 0 |
646 | } | - |
647 | bool QDir::mkpath(const QString &dirPath) const | - |
648 | { | - |
649 | const QDirPrivate* d = d_ptr.constData(); | - |
650 | | - |
651 | if (dirPath.isEmpty()TRUE | never evaluated | FALSE | evaluated 398 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
|
) { | 0-398 |
652 | QMessageLogger(__FILE__, 1447, __PRETTY_FUNCTION__).warning("QDir::mkpath: Empty or null file name"); | - |
653 | return never executed: return false; false;never executed: return false; | 0 |
654 | } | - |
655 | | - |
656 | QString fn = filePath(dirPath); | - |
657 | if (d->fileEngine.isNull()TRUE | evaluated 398 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-398 |
658 | returnexecuted 398 times by 13 tests: return QFileSystemEngine::createDirectory(QFileSystemEntry(fn), true); Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
QFileSystemEngine::createDirectory(QFileSystemEntry(fn), true);executed 398 times by 13 tests: return QFileSystemEngine::createDirectory(QFileSystemEntry(fn), true); Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSettings
- tst_languageChange
- tst_qmakelib
- tst_selftests - unknown status
| 398 |
659 | return never executed: return d->fileEngine->mkdir(fn, true); d->fileEngine->mkdir(fn, true);never executed: return d->fileEngine->mkdir(fn, true); | 0 |
660 | } | - |
661 | bool QDir::rmpath(const QString &dirPath) const | - |
662 | { | - |
663 | const QDirPrivate* d = d_ptr.constData(); | - |
664 | | - |
665 | if (dirPath.isEmpty()TRUE | never evaluated | FALSE | evaluated 79 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
|
) { | 0-79 |
666 | QMessageLogger(__FILE__, 1473, __PRETTY_FUNCTION__).warning("QDir::rmpath: Empty or null file name"); | - |
667 | return never executed: return false; false;never executed: return false; | 0 |
668 | } | - |
669 | | - |
670 | QString fn = filePath(dirPath); | - |
671 | if (d->fileEngine.isNull()TRUE | evaluated 79 times by 2 testsEvaluated by:- tst_QDir
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-79 |
672 | returnexecuted 79 times by 2 tests: return QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), true); Executed by:- tst_QDir
- tst_selftests - unknown status
QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), true);executed 79 times by 2 tests: return QFileSystemEngine::removeDirectory(QFileSystemEntry(fn), true); Executed by:- tst_QDir
- tst_selftests - unknown status
| 79 |
673 | return never executed: return d->fileEngine->rmdir(fn, true); d->fileEngine->rmdir(fn, true);never executed: return d->fileEngine->rmdir(fn, true); | 0 |
674 | } | - |
675 | bool QDir::removeRecursively() | - |
676 | { | - |
677 | if (!d_ptr->exists()TRUE | evaluated 133 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QMimeDatabase
- tst_QTemporaryDir
- tst_qmakelib
| FALSE | evaluated 2388 times by 52 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_largefile - unknown status
- tst_qabstractfileengine - unknown status
- ...
|
) | 133-2388 |
678 | returnexecuted 133 times by 5 tests: return true; Executed by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QMimeDatabase
- tst_QTemporaryDir
- tst_qmakelib
true;executed 133 times by 5 tests: return true; Executed by:- tst_QDir
- tst_QFileSystemWatcher
- tst_QMimeDatabase
- tst_QTemporaryDir
- tst_qmakelib
| 133 |
679 | | - |
680 | bool success = true; | - |
681 | const QString dirPath = path(); | - |
682 | | - |
683 | QDirIterator di(dirPath, QDir::AllEntries | QDir::Hidden | QDir::System | QDir::NoDotAndDotDot); | - |
684 | while (di.hasNext()TRUE | evaluated 3348 times by 42 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- tst_qfileinfo - unknown status
- tst_qimagewriter - unknown status
- tst_qmakelib
- ...
| FALSE | evaluated 2388 times by 52 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_largefile - unknown status
- tst_qabstractfileengine - unknown status
- ...
|
) { | 2388-3348 |
685 | di.next(); | - |
686 | const QFileInfo& fi = di.fileInfo(); | - |
687 | const QString &filePath = di.filePath(); | - |
688 | bool ok; | - |
689 | if (fi.isDir()TRUE | evaluated 2057 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qfileinfo - unknown status
- tst_qmakelib
- tst_qmimedatabase-cache - unknown status
- tst_qmimedatabase-xml - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qstandardpaths - unknown status
- tst_qtemporaryfile - unknown status
- tst_uic - unknown status
| FALSE | evaluated 1291 times by 37 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- tst_qfileinfo - unknown status
- tst_qimagewriter - unknown status
- tst_qmakelib
- tst_qmimedatabase-cache - unknown status
- tst_qmimedatabase-xml - unknown status
- tst_qpixmap - unknown status
- ...
|
&& !fi.isSymLink()TRUE | evaluated 2056 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qfileinfo - unknown status
- tst_qmakelib
- tst_qmimedatabase-cache - unknown status
- tst_qmimedatabase-xml - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qstandardpaths - unknown status
- tst_qtemporaryfile - unknown status
- tst_uic - unknown status
| FALSE | evaluated 1 time by 1 test |
) { | 1-2057 |
690 | ok = QDir(filePath).removeRecursively(); | - |
691 | }executed 2056 times by 22 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemWatcher
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QTemporaryDir
- tst_languageChange
- tst_qfileinfo - unknown status
- tst_qmakelib
- tst_qmimedatabase-cache - unknown status
- tst_qmimedatabase-xml - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qstandardpaths - unknown status
- tst_qtemporaryfile - unknown status
- tst_uic - unknown status
else { | 2056 |
692 | ok = QFile::remove(filePath); | - |
693 | if (!okTRUE | never evaluated | FALSE | evaluated 1292 times by 37 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- tst_qfileinfo - unknown status
- tst_qimagewriter - unknown status
- tst_qmakelib
- tst_qmimedatabase-cache - unknown status
- tst_qmimedatabase-xml - unknown status
- tst_qpixmap - unknown status
- ...
|
) { | 0-1292 |
694 | const QFile::Permissions permissions = QFile::permissions(filePath); | - |
695 | if (!(permissions & QFile::WriteUser)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
696 | ok = QFile::setPermissions(filePath, permissions | QFile::WriteUser)TRUE | never evaluated | FALSE | never evaluated |
never executed: ok = QFile::setPermissions(filePath, permissions | QFile::WriteUser) && QFile::remove(filePath); | 0 |
697 | && QFile::remove(filePath)TRUE | never evaluated | FALSE | never evaluated |
;never executed: ok = QFile::setPermissions(filePath, permissions | QFile::WriteUser) && QFile::remove(filePath); | 0 |
698 | } never executed: end of block | 0 |
699 | }executed 1292 times by 37 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- tst_qfileinfo - unknown status
- tst_qimagewriter - unknown status
- tst_qmakelib
- tst_qmimedatabase-cache - unknown status
- tst_qmimedatabase-xml - unknown status
- tst_qpixmap - unknown status
- ...
| 1292 |
700 | if (!okTRUE | never evaluated | FALSE | evaluated 3348 times by 42 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- tst_qfileinfo - unknown status
- tst_qimagewriter - unknown status
- tst_qmakelib
- ...
|
) | 0-3348 |
701 | success = false; never executed: success = false; | 0 |
702 | }executed 3348 times by 42 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QItemModel
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_qfile - unknown status
- tst_qfileinfo - unknown status
- tst_qimagewriter - unknown status
- tst_qmakelib
- ...
| 3348 |
703 | | - |
704 | if (successTRUE | evaluated 2388 times by 52 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_largefile - unknown status
- tst_qabstractfileengine - unknown status
- ...
| FALSE | never evaluated |
) | 0-2388 |
705 | success = rmdir(absolutePath());executed 2388 times by 52 tests: success = rmdir(absolutePath()); Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_largefile - unknown status
- tst_qabstractfileengine - unknown status
- ...
| 2388 |
706 | | - |
707 | returnexecuted 2388 times by 52 tests: return success; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_largefile - unknown status
- tst_qabstractfileengine - unknown status
- ...
success;executed 2388 times by 52 tests: return success; Executed by:- tst_QAbstractFileEngine
- tst_QAbstractNetworkCache
- tst_QCompleter
- tst_QDir
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSaveFile
- tst_QSettings
- tst_QSharedPointer
- tst_QSql
- tst_QTemporaryDir
- tst_QXmlStream
- tst_languageChange
- tst_largefile - unknown status
- tst_qabstractfileengine - unknown status
- ...
| 2388 |
708 | } | - |
709 | bool QDir::isReadable() const | - |
710 | { | - |
711 | const QDirPrivate* d = d_ptr.constData(); | - |
712 | | - |
713 | if (d->fileEngine.isNull()TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
) { | 0-3 |
714 | if (!d->metaData.hasFlags(QFileSystemMetaData::UserReadPermission)TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
) | 0-3 |
715 | QFileSystemEngine::fillMetaData(d->dirEntry, d->metaData, QFileSystemMetaData::UserReadPermission);executed 3 times by 1 test: QFileSystemEngine::fillMetaData(d->dirEntry, d->metaData, QFileSystemMetaData::UserReadPermission); | 3 |
716 | | - |
717 | returnexecuted 3 times by 1 test: return (d->metaData.permissions() & QFile::ReadUser) != 0; (d->metaData.permissions() & QFile::ReadUser) != 0;executed 3 times by 1 test: return (d->metaData.permissions() & QFile::ReadUser) != 0; | 3 |
718 | } | - |
719 | | - |
720 | const QAbstractFileEngine::FileFlags info = | - |
721 | d->fileEngine->fileFlags(QAbstractFileEngine::DirectoryType | - |
722 | | QAbstractFileEngine::PermsMask); | - |
723 | if (!(info & QAbstractFileEngine::DirectoryType)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
724 | return never executed: return false; false;never executed: return false; | 0 |
725 | return never executed: return info & QAbstractFileEngine::ReadUserPerm; info & QAbstractFileEngine::ReadUserPerm;never executed: return info & QAbstractFileEngine::ReadUserPerm; | 0 |
726 | } | - |
727 | bool QDir::exists() const | - |
728 | { | - |
729 | returnexecuted 1444 times by 18 tests: return d_ptr->exists(); Executed by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPlugin
- tst_QPrinter
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qstandardpaths
d_ptr->exists();executed 1444 times by 18 tests: return d_ptr->exists(); Executed by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSelector
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QPlugin
- tst_QPrinter
- tst_QSettings
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
- tst_qstandardpaths
| 1444 |
730 | } | - |
731 | bool QDir::isRoot() const | - |
732 | { | - |
733 | if (d_ptr->fileEngine.isNull()TRUE | evaluated 60 times by 10 testsEvaluated by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
| FALSE | evaluated 2 times by 1 test |
) | 2-60 |
734 | returnexecuted 60 times by 10 tests: return d_ptr->dirEntry.isRoot(); Executed by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
d_ptr->dirEntry.isRoot();executed 60 times by 10 tests: return d_ptr->dirEntry.isRoot(); Executed by:- tst_QCssParser
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QUrl
- tst_qmakelib
| 60 |
735 | returnexecuted 2 times by 1 test: return d_ptr->fileEngine->fileFlags(QAbstractFileEngine::FlagsMask) & QAbstractFileEngine::RootFlag; d_ptr->fileEngine->fileFlags(QAbstractFileEngine::FlagsMask) & QAbstractFileEngine::RootFlag;executed 2 times by 1 test: return d_ptr->fileEngine->fileFlags(QAbstractFileEngine::FlagsMask) & QAbstractFileEngine::RootFlag; | 2 |
736 | } | - |
737 | bool QDir::isRelative() const | - |
738 | { | - |
739 | if (d_ptr->fileEngine.isNull()TRUE | evaluated 15 times by 2 tests | FALSE | evaluated 1 time by 1 test |
) | 1-15 |
740 | returnexecuted 15 times by 2 tests: return d_ptr->dirEntry.isRelative(); d_ptr->dirEntry.isRelative();executed 15 times by 2 tests: return d_ptr->dirEntry.isRelative(); | 15 |
741 | returnexecuted 1 time by 1 test: return d_ptr->fileEngine->isRelativePath(); d_ptr->fileEngine->isRelativePath();executed 1 time by 1 test: return d_ptr->fileEngine->isRelativePath(); | 1 |
742 | } | - |
743 | bool QDir::makeAbsolute() | - |
744 | { | - |
745 | const QDirPrivate *d = d_ptr.constData(); | - |
746 | QScopedPointer<QDirPrivate> dir; | - |
747 | if (!d->fileEngine.isNull()TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) { | 0-1 |
748 | QString absolutePath = d->fileEngine->fileName(QAbstractFileEngine::AbsoluteName); | - |
749 | if (QDir::isRelativePath(absolutePath)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
750 | return never executed: return false; false;never executed: return false; | 0 |
751 | | - |
752 | dir.reset(new QDirPrivate(*d_ptr.constData())); | - |
753 | dir->setPath(absolutePath); | - |
754 | } never executed: end of block else { | 0 |
755 | d->resolveAbsoluteEntry(); | - |
756 | dir.reset(new QDirPrivate(*d_ptr.constData())); | - |
757 | dir->setPath(d->absoluteDirEntry.filePath()); | - |
758 | }executed 1 time by 1 test: end of block | 1 |
759 | d_ptr = dir.take(); | - |
760 | returnexecuted 1 time by 1 test: return true; true;executed 1 time by 1 test: return true; | 1 |
761 | } | - |
762 | bool QDir::operator==(const QDir &dir) const | - |
763 | { | - |
764 | const QDirPrivate *d = d_ptr.constData(); | - |
765 | const QDirPrivate *other = dir.d_ptr.constData(); | - |
766 | | - |
767 | if (d == otherTRUE | never evaluated | FALSE | evaluated 82 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
|
) | 0-82 |
768 | return never executed: return true; true;never executed: return true; | 0 |
769 | Qt::CaseSensitivity sensitive; | - |
770 | if (d->fileEngine.isNull()TRUE | evaluated 82 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
| FALSE | never evaluated |
|| other->fileEngine.isNull()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-82 |
771 | if (d->fileEngine.data() != other->fileEngine.data()TRUE | never evaluated | FALSE | evaluated 82 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
|
) | 0-82 |
772 | return never executed: return false; false;never executed: return false; | 0 |
773 | | - |
774 | sensitive = QFileSystemEngine::isCaseSensitive()TRUE | evaluated 82 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
| FALSE | never evaluated |
? Qt::CaseSensitive : Qt::CaseInsensitive; | 0-82 |
775 | }executed 82 times by 4 tests: end of block Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
else { | 82 |
776 | if (d->fileEngine->caseSensitive() != other->fileEngine->caseSensitive()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
777 | return never executed: return false; false;never executed: return false; | 0 |
778 | sensitive = d->fileEngine->caseSensitive()TRUE | never evaluated | FALSE | never evaluated |
? Qt::CaseSensitive : Qt::CaseInsensitive; | 0 |
779 | } never executed: end of block | 0 |
780 | | - |
781 | if (d->filters == other->filtersTRUE | evaluated 78 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
| FALSE | evaluated 4 times by 1 test |
| 4-78 |
782 | && d->sort == other->sortTRUE | evaluated 74 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
| FALSE | evaluated 4 times by 1 test |
| 4-74 |
783 | && d->nameFilters == other->nameFiltersTRUE | evaluated 70 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QSettings
| FALSE | evaluated 4 times by 1 test |
) { | 4-70 |
784 | | - |
785 | | - |
786 | if (d->dirEntry.filePath() == other->dirEntry.filePath()TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_QDir
- tst_QFiledialog
- tst_QSettings
| FALSE | evaluated 48 times by 2 tests |
) | 22-48 |
787 | returnexecuted 22 times by 3 tests: return true; Executed by:- tst_QDir
- tst_QFiledialog
- tst_QSettings
true;executed 22 times by 3 tests: return true; Executed by:- tst_QDir
- tst_QFiledialog
- tst_QSettings
| 22 |
788 | | - |
789 | if (exists()TRUE | evaluated 44 times by 2 tests | FALSE | evaluated 4 times by 1 test |
) { | 4-44 |
790 | if (!dir.exists()TRUE | never evaluated | FALSE | evaluated 44 times by 2 tests |
) | 0-44 |
791 | return never executed: return false; false;never executed: return false; | 0 |
792 | | - |
793 | returnexecuted 44 times by 2 tests: return canonicalPath().compare(dir.canonicalPath(), sensitive) == 0; canonicalPath().compare(dir.canonicalPath(), sensitive) == 0;executed 44 times by 2 tests: return canonicalPath().compare(dir.canonicalPath(), sensitive) == 0; | 44 |
794 | } else { | - |
795 | if (dir.exists()TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
796 | return never executed: return false; false;never executed: return false; | 0 |
797 | | - |
798 | d->resolveAbsoluteEntry(); | - |
799 | other->resolveAbsoluteEntry(); | - |
800 | returnexecuted 4 times by 1 test: return d->absoluteDirEntry.filePath().compare(other->absoluteDirEntry.filePath(), sensitive) == 0; d->absoluteDirEntry.filePath().compare(other->absoluteDirEntry.filePath(), sensitive) == 0;executed 4 times by 1 test: return d->absoluteDirEntry.filePath().compare(other->absoluteDirEntry.filePath(), sensitive) == 0; | 4 |
801 | } | - |
802 | } | - |
803 | returnexecuted 12 times by 1 test: return false; false;executed 12 times by 1 test: return false; | 12 |
804 | } | - |
805 | | - |
806 | | - |
807 | | - |
808 | | - |
809 | | - |
810 | QDir &QDir::operator=(const QDir &dir) | - |
811 | { | - |
812 | d_ptr = dir.d_ptr; | - |
813 | returnexecuted 377 times by 8 tests: return *this; Executed by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
*this;executed 377 times by 8 tests: return *this; Executed by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QPrinter
- tst_languageChange
| 377 |
814 | } | - |
815 | QDir &QDir::operator=(const QString &path) | - |
816 | { | - |
817 | d_ptr->setPath(path); | - |
818 | returnexecuted 1 time by 1 test: return *this; *this;executed 1 time by 1 test: return *this; | 1 |
819 | } | - |
820 | bool QDir::remove(const QString &fileName) | - |
821 | { | - |
822 | if (fileName.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 26 times by 3 testsEvaluated by:- tst_QDir
- tst_QDirModel
- tst_qmake
|
) { | 1-26 |
823 | QMessageLogger(__FILE__, 1767, __PRETTY_FUNCTION__).warning("QDir::remove: Empty or null file name"); | - |
824 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
825 | } | - |
826 | returnexecuted 26 times by 3 tests: return QFile::remove(filePath(fileName)); Executed by:- tst_QDir
- tst_QDirModel
- tst_qmake
QFile::remove(filePath(fileName));executed 26 times by 3 tests: return QFile::remove(filePath(fileName)); Executed by:- tst_QDir
- tst_QDirModel
- tst_qmake
| 26 |
827 | } | - |
828 | bool QDir::rename(const QString &oldName, const QString &newName) | - |
829 | { | - |
830 | if (oldName.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 18 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
|
|| newName.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 17 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
|
) { | 1-18 |
831 | QMessageLogger(__FILE__, 1792, __PRETTY_FUNCTION__).warning("QDir::rename: Empty or null file name(s)"); | - |
832 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
833 | } | - |
834 | | - |
835 | QFile file(filePath(oldName)); | - |
836 | if (!file.exists()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
|
) | 1-16 |
837 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
838 | returnexecuted 16 times by 4 tests: return file.rename(filePath(newName)); Executed by:- tst_QDir
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
file.rename(filePath(newName));executed 16 times by 4 tests: return file.rename(filePath(newName)); Executed by:- tst_QDir
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QTemporaryDir
| 16 |
839 | } | - |
840 | bool QDir::exists(const QString &name) const | - |
841 | { | - |
842 | if (name.isEmpty()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 5115 times by 195 testsEvaluated by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
|
) { | 1-5115 |
843 | QMessageLogger(__FILE__, 1815, __PRETTY_FUNCTION__).warning("QDir::exists: Empty or null file name"); | - |
844 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
845 | } | - |
846 | returnexecuted 5115 times by 195 tests: return QFile::exists(filePath(name)); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
QFile::exists(filePath(name));executed 5115 times by 195 tests: return QFile::exists(filePath(name)); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- 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_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCryptographicHash
- tst_QDBusAbstractAdaptor
- tst_QDBusAbstractInterface
- tst_QDBusInterface
- ...
| 5115 |
847 | } | - |
848 | QFileInfoList QDir::drives() | - |
849 | { | - |
850 | | - |
851 | | - |
852 | | - |
853 | returnexecuted 78 times by 13 tests: return QFSFileEngine::drives(); Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
QFSFileEngine::drives();executed 78 times by 13 tests: return QFSFileEngine::drives(); Executed by:- tst_QCompleter
- tst_QDir
- tst_QDirModel
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QItemModel
- tst_QPrinter
- tst_QTemporaryDir
- tst_QTemporaryFile
- tst_languageChange
| 78 |
854 | | - |
855 | } | - |
856 | QChar QDir::separator() | - |
857 | { | - |
858 | | - |
859 | | - |
860 | | - |
861 | returnexecuted 90130 times by 185 tests: return QLatin1Char('/'); 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- ...
QLatin1Char('/');executed 90130 times by 185 tests: return QLatin1Char('/'); 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QCssParser
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- ...
| 90130 |
862 | | - |
863 | } | - |
864 | bool QDir::setCurrent(const QString &path) | - |
865 | { | - |
866 | returnexecuted 494 times by 25 tests: return QFileSystemEngine::setCurrentPath(QFileSystemEntry(path)); 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
QFileSystemEngine::setCurrentPath(QFileSystemEntry(path));executed 494 times by 25 tests: return QFileSystemEngine::setCurrentPath(QFileSystemEntry(path)); 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 |
867 | } | - |
868 | QString QDir::currentPath() | - |
869 | { | - |
870 | returnexecuted 1623 times by 45 tests: return QFileSystemEngine::currentPath().filePath(); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- 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_QIODevice
- tst_QIcon
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPlugin
- tst_QPluginLoader
- tst_QPrinter
- ...
QFileSystemEngine::currentPath().filePath();executed 1623 times by 45 tests: return QFileSystemEngine::currentPath().filePath(); Executed by:- tst_LargeFile
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- 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_QIODevice
- tst_QIcon
- tst_QLocalSocket
- tst_QLocale
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPlugin
- tst_QPluginLoader
- tst_QPrinter
- ...
| 1623 |
871 | } | - |
872 | QString QDir::homePath() | - |
873 | { | - |
874 | returnexecuted 4648 times by 68 tests: return QFileSystemEngine::homePath(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
QFileSystemEngine::homePath();executed 4648 times by 68 tests: return QFileSystemEngine::homePath(); Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDebug
- tst_QDir
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFileSystemWatcher
- tst_QFiledialog
- tst_QFontComboBox
- ...
| 4648 |
875 | } | - |
876 | QString QDir::tempPath() | - |
877 | { | - |
878 | returnexecuted 8783 times by 49 tests: return QFileSystemEngine::tempPath(); 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_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- ...
QFileSystemEngine::tempPath();executed 8783 times by 49 tests: return QFileSystemEngine::tempPath(); 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_QIcon
- tst_QImageWriter
- tst_QItemModel
- tst_QLocalSocket
- tst_QMetaType
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QPdfWriter
- tst_QPixmap
- ...
| 8783 |
879 | } | - |
880 | QString QDir::rootPath() | - |
881 | { | - |
882 | returnexecuted 43 times by 6 tests: return QFileSystemEngine::rootPath(); Executed by:- tst_QDir
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QSidebar
- tst_QStorageInfo
QFileSystemEngine::rootPath();executed 43 times by 6 tests: return QFileSystemEngine::rootPath(); Executed by:- tst_QDir
- tst_QFileIconProvider
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QSidebar
- tst_QStorageInfo
| 43 |
883 | } | - |
884 | bool QDir::match(const QStringList &filters, const QString &fileName) | - |
885 | { | - |
886 | for (QStringList::ConstIterator sit = filters.constBegin(); sit != filters.constEnd()TRUE | evaluated 14 times by 1 test | FALSE | evaluated 4 times by 1 test |
; ++sit) { | 4-14 |
887 | QRegExp rx(*sit, Qt::CaseInsensitive, QRegExp::Wildcard); | - |
888 | if (rx.exactMatch(fileName)TRUE | evaluated 6 times by 1 test | FALSE | evaluated 8 times by 1 test |
) | 6-8 |
889 | returnexecuted 6 times by 1 test: return true; true;executed 6 times by 1 test: return true; | 6 |
890 | }executed 8 times by 1 test: end of block | 8 |
891 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
892 | } | - |
893 | bool QDir::match(const QString &filter, const QString &fileName) | - |
894 | { | - |
895 | returnexecuted 5 times by 1 test: return match(nameFiltersFromString(filter), fileName); match(nameFiltersFromString(filter), fileName);executed 5 times by 1 test: return match(nameFiltersFromString(filter), fileName); | 5 |
896 | } | - |
897 | __attribute__((visibility("default"))) QString qt_normalizePathSegments(const QString &name, bool allowUncPaths) | - |
898 | { | - |
899 | const int len = name.length(); | - |
900 | | - |
901 | if (len == 0TRUE | never evaluated | FALSE | evaluated 76323 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) | 0-76323 |
902 | return never executed: return name; name;never executed: return name; | 0 |
903 | | - |
904 | int i = len - 1; | - |
905 | QVarLengthArray<QChar> outVector(len); | - |
906 | int used = len; | - |
907 | QChar *out = outVector.data(); | - |
908 | const QChar *p = name.unicode(); | - |
909 | const QChar *prefix = p; | - |
910 | int up = 0; | - |
911 | | - |
912 | int prefixLength = 0; | - |
913 | | - |
914 | if (allowUncPathsTRUE | evaluated 52 times by 1 test | FALSE | evaluated 76271 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
&& len >= 2TRUE | evaluated 50 times by 1 test | FALSE | evaluated 2 times by 1 test |
&& p[1].unicode() == '/'TRUE | evaluated 13 times by 1 test | FALSE | evaluated 37 times by 1 test |
&& p[0].unicode() == '/'TRUE | evaluated 3 times by 1 test | FALSE | evaluated 10 times by 1 test |
) { | 2-76271 |
915 | | - |
916 | prefixLength = 2; | - |
917 | | - |
918 | | - |
919 | | - |
920 | | - |
921 | | - |
922 | }executed 3 times by 1 test: end of block else if (p[0].unicode() == '/'TRUE | evaluated 76179 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 141 times by 10 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QMovie
- tst_QTemporaryDir
- tst_QUrl
- tst_qmakelib
|
) { | 3-76179 |
923 | prefixLength = 1; | - |
924 | }executed 76179 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| 76179 |
925 | p += prefixLength; | - |
926 | i -= prefixLength; | - |
927 | | - |
928 | | - |
929 | if (i > 0TRUE | evaluated 76223 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 100 times by 9 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QResourceEngine
- tst_QSidebar
|
&& p[i].unicode() == '/'TRUE | evaluated 232 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
| FALSE | evaluated 75991 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 100-76223 |
930 | out[--used].unicode() = '/'; | - |
931 | --i; | - |
932 | }executed 232 times by 14 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
| 232 |
933 | | - |
934 | while (i >= 0TRUE | evaluated 357473 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 76323 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 76323-357473 |
935 | | - |
936 | if (p[i].unicode() == '/'TRUE | evaluated 3548 times by 64 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- ...
| FALSE | evaluated 353925 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 3548-353925 |
937 | --i; | - |
938 | continue;executed 3548 times by 64 tests: continue; Executed by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- ...
| 3548 |
939 | } | - |
940 | | - |
941 | | - |
942 | if (p[i].unicode() == '.'TRUE | evaluated 3523 times by 45 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPrinter
- ...
| FALSE | evaluated 350402 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
&& (i == 0TRUE | evaluated 43 times by 8 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QUrl
- tst_qstandardpaths
| FALSE | evaluated 3480 times by 45 testsEvaluated by:- tst_NetworkSelfTest
- tst_QApplication
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QIcon
- tst_QLoggingRegistry
- tst_QMimeDatabase
- tst_QNetworkConfigurationManager
- tst_QPrinter
- ...
|
|| p[i-1].unicode() == '/'TRUE | evaluated 1503 times by 39 testsEvaluated by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QLoggingRegistry
- tst_QNetworkConfigurationManager
- tst_QPrinter
- tst_QSidebar
- tst_QSql
- tst_QTemporaryFile
- tst_QUrl
- tst_languageChange
- ...
| FALSE | evaluated 1977 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
|
)) { | 43-350402 |
943 | --i; | - |
944 | continue;executed 1546 times by 40 tests: continue; Executed by:- tst_QApplication
- tst_QCommandLineParser
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDir
- tst_QDirIterator
- tst_QDnsLookup_Appless
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- tst_QGraphicsProxyWidget
- tst_QGuiApplication
- tst_QLoggingRegistry
- tst_QNetworkConfigurationManager
- tst_QPrinter
- tst_QSidebar
- tst_QSql
- tst_QTemporaryFile
- tst_QUrl
- ...
| 1546 |
945 | } | - |
946 | | - |
947 | | - |
948 | if (i >= 1TRUE | evaluated 352356 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 23 times by 4 testsEvaluated by:- tst_QDir
- tst_QFileInfo
- tst_QUrl
- tst_qmakelib
|
&& p[i].unicode() == '.'TRUE | evaluated 1977 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 350379 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
&& p[i-1].unicode() == '.'TRUE | evaluated 1975 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 2 times by 1 test |
| 2-352356 |
949 | && (i == 1TRUE | evaluated 68 times by 5 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
| FALSE | evaluated 1907 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
|
|| (i >= 2TRUE | evaluated 1907 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| FALSE | never evaluated |
&& p[i-2].unicode() == '/'TRUE | evaluated 1902 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 5 times by 1 test |
))) { | 0-1907 |
950 | ++up; | - |
951 | i -= 2; | - |
952 | continue;executed 1970 times by 20 tests: continue; Executed by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| 1970 |
953 | } | - |
954 | | - |
955 | | - |
956 | if (!upTRUE | evaluated 349369 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 1040 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
|
&& used != lenTRUE | evaluated 273529 times by 174 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
| FALSE | evaluated 75840 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
&& out[used].unicode() != '/'TRUE | evaluated 273308 times by 174 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
| FALSE | evaluated 221 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QUrl
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
|
) | 221-349369 |
957 | out[--used] = QLatin1Char('/');executed 273308 times by 174 tests: out[--used] = QLatin1Char('/'); Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 273308 |
958 | | - |
959 | | - |
960 | while (i >= 0TRUE | evaluated 3370292 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 73531 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 73531-3370292 |
961 | if (p[i].unicode() == '/'TRUE | evaluated 276878 times by 174 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
| FALSE | evaluated 3093414 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 276878-3093414 |
962 | --i; | - |
963 | break;executed 276878 times by 174 tests: break; Executed by:- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBrush
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QChar
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDataStream
- tst_QDateTimeEdit
- tst_QDebug
- ...
| 276878 |
964 | } | - |
965 | | - |
966 | | - |
967 | if (!upTRUE | evaluated 3084206 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 9208 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
|
) | 9208-3084206 |
968 | out[--used] = p[i];executed 3084206 times by 184 tests: out[--used] = p[i]; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| 3084206 |
969 | --i; | - |
970 | }executed 3093414 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| 3093414 |
971 | | - |
972 | | - |
973 | if (upTRUE | evaluated 1040 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| FALSE | evaluated 349369 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) | 1040-349369 |
974 | --executed 1040 times by 20 tests: --up; Executed by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
up;executed 1040 times by 20 tests: --up; Executed by:- tst_NetworkSelfTest
- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QIcon
- tst_QMimeDatabase
- tst_QPrinter
- tst_QUrl
- tst_languageChange
- tst_qmakelib
- tst_qstandardpaths
- tst_rcc
- tst_selftests - unknown status
| 1040 |
975 | }executed 350409 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| 350409 |
976 | | - |
977 | | - |
978 | while (upTRUE | evaluated 930 times by 5 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
| FALSE | evaluated 76323 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 930-76323 |
979 | if (used != lenTRUE | evaluated 817 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QFiledialog
| FALSE | evaluated 113 times by 5 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
|
&& out[used].unicode() != '/'TRUE | evaluated 813 times by 3 testsEvaluated by:- tst_QDir
- tst_QFileSystemModel
- tst_QFiledialog
| FALSE | evaluated 4 times by 1 test |
) | 4-817 |
980 | out[--used] = QLatin1Char('/');executed 813 times by 3 tests: out[--used] = QLatin1Char('/'); Executed by:- tst_QDir
- tst_QFileSystemModel
- tst_QFiledialog
| 813 |
981 | out[--used] = QLatin1Char('.'); | - |
982 | out[--used] = QLatin1Char('.'); | - |
983 | --up; | - |
984 | }executed 930 times by 5 tests: end of block Executed by:- tst_QCompleter
- tst_QDir
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
| 930 |
985 | | - |
986 | bool isEmpty = used == len; | - |
987 | | - |
988 | if (prefixLengthTRUE | evaluated 76182 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 141 times by 10 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QMovie
- tst_QTemporaryDir
- tst_QUrl
- tst_qmakelib
|
) { | 141-76182 |
989 | if (!isEmptyTRUE | evaluated 76061 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 121 times by 11 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QResourceEngine
- tst_QSidebar
- tst_languageChange
|
&& out[used].unicode() == '/'TRUE | evaluated 2 times by 2 tests | FALSE | evaluated 76059 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 2-76061 |
990 | | - |
991 | | - |
992 | ++used; | - |
993 | }executed 2 times by 2 tests: end of block | 2 |
994 | for (int i = prefixLength - 1; i >= 0TRUE | evaluated 76185 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 76182 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
; --i) | 76182-76185 |
995 | out[--used] = prefix[i];executed 76185 times by 184 tests: out[--used] = prefix[i]; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| 76185 |
996 | }executed 76182 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
else { | 76182 |
997 | if (isEmptyTRUE | evaluated 17 times by 4 testsEvaluated by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileSystemModel
| FALSE | evaluated 124 times by 9 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QMovie
- tst_QTemporaryDir
- tst_QUrl
- tst_qmakelib
|
) { | 17-124 |
998 | | - |
999 | | - |
1000 | out[--used] = QLatin1Char('.'); | - |
1001 | }executed 17 times by 4 tests: end of block Executed by:- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileSystemModel
else if (out[used].unicode() == '/'TRUE | evaluated 5 times by 1 test | FALSE | evaluated 119 times by 9 testsEvaluated by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QMovie
- tst_QTemporaryDir
- tst_QUrl
- tst_qmakelib
|
) { | 5-119 |
1002 | | - |
1003 | | - |
1004 | | - |
1005 | out[--used] = QLatin1Char('.'); | - |
1006 | }executed 5 times by 1 test: end of block | 5 |
1007 | }executed 141 times by 10 tests: end of block Executed by:- tst_QAbstractFileEngine
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QMovie
- tst_QTemporaryDir
- tst_QUrl
- tst_qmakelib
| 141 |
1008 | | - |
1009 | | - |
1010 | QString ret = (used == 0TRUE | evaluated 71482 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 4841 times by 66 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDateTimeEdit
- tst_QDir
- tst_QDirIterator
- tst_QDirModel
- tst_QDnsLookup_Appless
- tst_QErrorMessage
- tst_QFile
- tst_QFileDialog2
- tst_QFileIconProvider
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGlobal
- ...
|
? name : QString(out + used, len - used)); | 4841-71482 |
1011 | returnexecuted 76323 times by 184 tests: return ret; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
ret;executed 76323 times by 184 tests: return ret; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| 76323 |
1012 | } | - |
1013 | QString QDir::cleanPath(const QString &path) | - |
1014 | { | - |
1015 | if (path.isEmpty()TRUE | evaluated 490 times by 5 testsEvaluated by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_languageChange
| FALSE | evaluated 76249 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) | 490-76249 |
1016 | returnexecuted 490 times by 5 tests: return path; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_languageChange
path;executed 490 times by 5 tests: return path; Executed by:- tst_QDir
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_languageChange
| 490 |
1017 | QString name = path; | - |
1018 | QChar dir_separator = separator(); | - |
1019 | if (dir_separator != QLatin1Char('/')TRUE | never evaluated | FALSE | evaluated 76249 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) | 0-76249 |
1020 | name.replace(dir_separator, QLatin1Char('/')); never executed: name.replace(dir_separator, QLatin1Char('/')); | 0 |
1021 | | - |
1022 | bool allowUncPaths = false; | - |
1023 | | - |
1024 | | - |
1025 | | - |
1026 | | - |
1027 | QString ret = qt_normalizePathSegments(name, allowUncPaths); | - |
1028 | | - |
1029 | | - |
1030 | if (ret.length() > 1TRUE | evaluated 76124 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| FALSE | evaluated 125 times by 12 testsEvaluated by:- tst_QCompleter
- tst_QDir
- tst_QDirIterator
- tst_QFile
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QResourceEngine
- tst_QSidebar
- tst_languageChange
|
&& ret.endsWith(QLatin1Char('/'))TRUE | evaluated 211 times by 13 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
| FALSE | evaluated 75913 times by 184 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
|
) { | 125-76124 |
1031 | | - |
1032 | | - |
1033 | | - |
1034 | | - |
1035 | | - |
1036 | | - |
1037 | | - |
1038 | ret.chop(1); | - |
1039 | }executed 211 times by 13 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDir
- tst_QFileDialog2
- tst_QFileInfo
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QMimeDatabase
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QResourceEngine
- tst_QXmlStream
- tst_qmakelib
- tst_rcc
| 211 |
1040 | | - |
1041 | returnexecuted 76249 times by 184 tests: return ret; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
ret;executed 76249 times by 184 tests: return ret; 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_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- tst_QDBusConnectionNoBus
- tst_QDBusConnectionNoLibDBus1
- tst_QDBusConnection_Delayed
- tst_QDBusMarshall
- tst_QDataStream
- ...
| 76249 |
1042 | } | - |
1043 | | - |
1044 | | - |
1045 | | - |
1046 | | - |
1047 | | - |
1048 | | - |
1049 | | - |
1050 | bool QDir::isRelativePath(const QString &path) | - |
1051 | { | - |
1052 | returnexecuted 19303 times by 252 tests: return QFileInfo(path).isRelative(); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
QFileInfo(path).isRelative();executed 19303 times by 252 tests: return QFileInfo(path).isRelative(); Executed by:- tst_Gestures
- tst_NetworkSelfTest
- tst_QAbstractFileEngine
- tst_QAbstractItemView
- tst_QAbstractNetworkCache
- tst_QAbstractPrintDialog
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBrush
- tst_QButtonGroup
- tst_QByteArray
- tst_QCalendarWidget
- tst_QChar
- tst_QClipboard
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLineParser
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QCoreApplication
- ...
| 19303 |
1053 | } | - |
1054 | | - |
1055 | | - |
1056 | | - |
1057 | | - |
1058 | void QDir::refresh() const | - |
1059 | { | - |
1060 | QDirPrivate *d = const_cast<QDir*>(this)->d_ptr.data(); | - |
1061 | d->metaData.clear(); | - |
1062 | d->initFileEngine(); | - |
1063 | d->clearFileLists(); | - |
1064 | }executed 2 times by 1 test: end of block | 2 |
1065 | | - |
1066 | | - |
1067 | | - |
1068 | | - |
1069 | QDirPrivate* QDir::d_func() | - |
1070 | { | - |
1071 | return never executed: return d_ptr.data(); d_ptr.data();never executed: return d_ptr.data(); | 0 |
1072 | } | - |
1073 | QStringList QDir::nameFiltersFromString(const QString &nameFilter) | - |
1074 | { | - |
1075 | returnexecuted 32 times by 2 tests: return QDirPrivate::splitFilters(nameFilter); QDirPrivate::splitFilters(nameFilter);executed 32 times by 2 tests: return QDirPrivate::splitFilters(nameFilter); | 32 |
1076 | } | - |
1077 | QDebug operator<<(QDebug debug, QDir::Filters filters) | - |
1078 | { | - |
1079 | QDebugStateSaver save(debug); | - |
1080 | debug.resetFormat(); | - |
1081 | QStringList flags; | - |
1082 | if (filters == QDir::NoFilterTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1083 | flags << QLatin1String("NoFilter"); | - |
1084 | } never executed: end of block else { | 0 |
1085 | if (filters & QDir::DirsTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Dirs");never executed: flags << QLatin1String("Dirs"); | 0 |
1086 | if (filters & QDir::AllDirsTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("AllDirs");never executed: flags << QLatin1String("AllDirs"); | 0 |
1087 | if (filters & QDir::FilesTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Files");never executed: flags << QLatin1String("Files"); | 0 |
1088 | if (filters & QDir::DrivesTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Drives");never executed: flags << QLatin1String("Drives"); | 0 |
1089 | if (filters & QDir::NoSymLinksTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("NoSymLinks");never executed: flags << QLatin1String("NoSymLinks"); | 0 |
1090 | if (filters & QDir::NoDotTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("NoDot");never executed: flags << QLatin1String("NoDot"); | 0 |
1091 | if (filters & QDir::NoDotDotTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("NoDotDot");never executed: flags << QLatin1String("NoDotDot"); | 0 |
1092 | if ((TRUE | never evaluated | FALSE | never evaluated |
filters & QDir::AllEntries) == QDir::AllEntriesTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("AllEntries");never executed: flags << QLatin1String("AllEntries"); | 0 |
1093 | if (filters & QDir::ReadableTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Readable");never executed: flags << QLatin1String("Readable"); | 0 |
1094 | if (filters & QDir::WritableTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Writable");never executed: flags << QLatin1String("Writable"); | 0 |
1095 | if (filters & QDir::ExecutableTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Executable");never executed: flags << QLatin1String("Executable"); | 0 |
1096 | if (filters & QDir::ModifiedTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Modified");never executed: flags << QLatin1String("Modified"); | 0 |
1097 | if (filters & QDir::HiddenTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Hidden");never executed: flags << QLatin1String("Hidden"); | 0 |
1098 | if (filters & QDir::SystemTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("System");never executed: flags << QLatin1String("System"); | 0 |
1099 | if (filters & QDir::CaseSensitiveTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("CaseSensitive");never executed: flags << QLatin1String("CaseSensitive"); | 0 |
1100 | } never executed: end of block | 0 |
1101 | debug.noquote() << "QDir::Filters(" << flags.join(QLatin1Char('|')) << ')'; | - |
1102 | return never executed: return debug; debug;never executed: return debug; | 0 |
1103 | } | - |
1104 | | - |
1105 | static QDebug operator<<(QDebug debug, QDir::SortFlags sorting) | - |
1106 | { | - |
1107 | QDebugStateSaver save(debug); | - |
1108 | debug.resetFormat(); | - |
1109 | if (sorting == QDir::NoSortTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1110 | debug << "QDir::SortFlags(NoSort)"; | - |
1111 | } never executed: end of block else { | 0 |
1112 | QString type; | - |
1113 | if ((TRUE | never evaluated | FALSE | never evaluated |
sorting & 3) == QDir::NameTRUE | never evaluated | FALSE | never evaluated |
) type = QLatin1String("Name");never executed: type = QLatin1String("Name"); | 0 |
1114 | if ((TRUE | never evaluated | FALSE | never evaluated |
sorting & 3) == QDir::TimeTRUE | never evaluated | FALSE | never evaluated |
) type = QLatin1String("Time");never executed: type = QLatin1String("Time"); | 0 |
1115 | if ((TRUE | never evaluated | FALSE | never evaluated |
sorting & 3) == QDir::SizeTRUE | never evaluated | FALSE | never evaluated |
) type = QLatin1String("Size");never executed: type = QLatin1String("Size"); | 0 |
1116 | if ((TRUE | never evaluated | FALSE | never evaluated |
sorting & 3) == QDir::UnsortedTRUE | never evaluated | FALSE | never evaluated |
) type = QLatin1String("Unsorted");never executed: type = QLatin1String("Unsorted"); | 0 |
1117 | | - |
1118 | QStringList flags; | - |
1119 | if (sorting & QDir::DirsFirstTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("DirsFirst");never executed: flags << QLatin1String("DirsFirst"); | 0 |
1120 | if (sorting & QDir::DirsLastTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("DirsLast");never executed: flags << QLatin1String("DirsLast"); | 0 |
1121 | if (sorting & QDir::IgnoreCaseTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("IgnoreCase");never executed: flags << QLatin1String("IgnoreCase"); | 0 |
1122 | if (sorting & QDir::LocaleAwareTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("LocaleAware");never executed: flags << QLatin1String("LocaleAware"); | 0 |
1123 | if (sorting & QDir::TypeTRUE | never evaluated | FALSE | never evaluated |
) flags << QLatin1String("Type");never executed: flags << QLatin1String("Type"); | 0 |
1124 | debug.noquote() << "QDir::SortFlags(" << type << '|' << flags.join(QLatin1Char('|')) << ')'; | - |
1125 | } never executed: end of block | 0 |
1126 | return never executed: return debug; debug;never executed: return debug; | 0 |
1127 | } | - |
1128 | | - |
1129 | QDebug operator<<(QDebug debug, const QDir &dir) | - |
1130 | { | - |
1131 | QDebugStateSaver save(debug); | - |
1132 | debug.resetFormat(); | - |
1133 | debug << "QDir(" << dir.path() << ", nameFilters = {" | - |
1134 | << dir.nameFilters().join(QLatin1Char(',')) | - |
1135 | << "}, " | - |
1136 | << dir.sorting() | - |
1137 | << ',' | - |
1138 | << dir.filter() | - |
1139 | << ')'; | - |
1140 | return never executed: return debug; debug;never executed: return debug; | 0 |
1141 | } | - |
1142 | | - |
1143 | | - |
1144 | | - |
| | |