qt6-bb10/tests/auto/corelib/io/qfile
d3fault 1a4cc8d57b Add QIODevice::NewOnly and QIODevice::ExistingOnly OpenMode flags
When QFile::open is called with the NewOnly flag, the call will
fail if the file already exists. As usual, if the file does not exist,
it will be created. Like QTemporaryFile, there is a guarantee from
the operating system that you are not accidentally creating a new file
on top of an older file. When QFile::open is called with the
ExistingOnly flag, the call will fail if the file does not exist. The
ExistingOnly flag only provides new functionality when used with the
WriteOnly flag. For ReadOnly it provides no change in functionality,
as ReadOnly by itself already never creates.

Task-number: QTBUG-52244
Change-Id: I8e3206728f245f95172c225bf297023fb078fc6d
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2018-01-17 04:32:47 +00:00
..
resources
stdinprocess Updated license headers 2016-01-21 18:55:18 +00:00
test Fix tst_qfile::size for configurations using builtin test data 2017-06-19 07:05:57 +00:00
.gitattributes
.gitignore
BLACKLIST Autotest: fix blacklisted test about position on non-regular files 2017-08-08 21:48:28 +00:00
copy-fallback.qrc
dosfile.txt
forCopying.txt
forRenaming.txt
noendofline.txt
qfile.pro QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qfile.qrc
rename-fallback.qrc
testfile.txt
testlog.txt
tst_qfile.cpp Add QIODevice::NewOnly and QIODevice::ExistingOnly OpenMode flags 2018-01-17 04:32:47 +00:00
two.dots.file