qt6-bb10/tests/auto/corelib/io/qfile
Edward Welbourne a76a0afc1a Reduce redundancy and duplication in tst_QFile::appendAndRead
Use one QStringLiteral instead of repeating a QLatin1String(), that
was passed to a function that has to convert it to unicode; do the
conversion at compile-time.

Reducing i % 256 is fatuous when i ranges from 1 to 100.

A QFile will close() itself on destruction, no need to do it explicitly.
Especially when *not* close()ing the *other* QFile that was left open.

Change-Id: Idb39312d9c9beaf082b7cead574bc6bb9bb3a775
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-07-30 15:04:40 +00:00
..
resources
stdinprocess
.gitattributes
.gitignore
BLACKLIST
copy-fallback.qrc
dosfile.txt
forCopying.txt
forRenaming.txt
noendofline.txt
qfile.pro
qfile.qrc
rename-fallback.qrc
test.pro
testfile.txt
testlog.txt
tst_qfile.cpp Reduce redundancy and duplication in tst_QFile::appendAndRead 2018-07-30 15:04:40 +00:00
two.dots.file