qt5base-lts/tests/auto/corelib/io
Mitch Curtis 98803a76b3 Fix QIODevice warning when running rcc.
When opening a QFile on stdout, for example,
we must not call seek as it is a sequential device.
This has been flagged as a warning since commit Ie3a96d3a
and has resulted in spurious warnings being emitted.

In the case of opening a QFile in Append mode, QIODevice::open
already sets the position marker, so calling seek is redundant.
This is also true for the file engine's open function (called
through openExternalFile()), which also ensures the handle or
descriptor is repositioned appropriately.

Task-number: QTBUG-26104
Change-Id: I71040c399efe54e7538f54433368b432e959e08d
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
2012-06-26 19:30:00 +02:00
..
largefile Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qabstractfileengine Deprecate qMemCopy/qMemSet in favour of their stdlib equivilents. 2012-04-11 10:46:19 +02:00
qbuffer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdatastream Remove widgets dependency from qdatastream autotest 2012-06-07 00:39:05 +02:00
qdataurl Fix qDecodeDataUrl for already percentage encoded content. 2012-05-09 20:10:44 +02:00
qdebug Logging: Change arguments of message handler to avoid conversions 2012-04-20 08:37:06 +02:00
qdir Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qdiriterator Fix qdiriterator autotest build for WEC7. 2012-06-21 00:58:26 +02:00
qfile Fix QIODevice warning when running rcc. 2012-06-26 19:30:00 +02:00
qfileinfo Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qfilesystementry Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qfilesystemwatcher Fix directories never being unwatched after deletion on Windows. 2012-03-21 12:32:16 +01:00
qiodevice Skip 3 test methods if the test server isn't set up. 2012-06-23 14:16:29 +02:00
qipaddress Add support for IPv6 parsing and reconstructing the address 2012-03-28 16:31:34 +02:00
qnodebug Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprocess Make qprocess autotest build without widgets 2012-06-07 00:39:01 +02:00
qprocessenvironment Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qresourceengine Uncomment disabled code in QResourceEngine autotest. 2012-03-14 07:51:45 +01:00
qsettings Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qstandardpaths Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qtemporarydir Removed CONFIG+=parallel_test from suspected parallel-unsafe tests 2012-05-22 05:09:01 +02:00
qtemporaryfile Fix QTemporaryFile::open() failing after remove(). 2012-06-05 06:15:06 +02:00
qtextstream Skip 3 test methods if the test server isn't set up. 2012-06-23 14:16:29 +02:00
qurl Fix handling of invalid urls in QDataStream << QUrl 2012-05-23 14:18:34 +02:00
qurlinternal Add missing subdirs (the new QUrl unit tests were not compiled and run) 2012-06-26 14:53:46 +02:00
qurlquery Port away from QUrl::MostDecoded 2012-05-22 20:56:38 +02:00
qwinoverlappedionotifier Removed CONFIG+=parallel_test from suspected parallel-unsafe tests [2] 2012-05-23 03:17:59 +02:00
io.pro Add missing subdirs (the new QUrl unit tests were not compiled and run) 2012-06-26 14:53:46 +02:00