qt5base-lts/tests/auto/corelib/io
Thiago Macieira 674e79416f Fix incomplete override of QIODevice::open in QProcess and QLocalSocket
The rule for a new override is that it must still work if the old
implementation is called. The catch is that any class that derives from
QProcess and isn't recompiled will still have QIODevice::open in its
virtual table. That is equivalent to overriding open() and calling
QIODevice::open() (like the tests).

In Qt 5.0, QProcess::start() called QIODevice::open directly, not the
virtual open(), so there's no expectation that a user-overridden open()
be called. With that in mind, simply fix QProcess::start to not call the
virtual open at all.

Similarly with QLocalSocket, the calls to open were always non-virtual.

Task-number: QTBUG-32284
Change-Id: I88925f0ba08bc23c849658b54582744997e69a4c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2013-07-20 00:22:03 +02:00
..
largefile Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qabstractfileengine Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qbuffer Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
qdatastream Revert QDateTime serialisation to pre-Qt 5 behaviour. 2013-05-08 10:00:29 +02:00
qdataurl tst_qdataurl: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:45 +02:00
qdebug Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
qdir fix QFileSystemEngine::createDirectory race condition 2013-06-14 16:57:57 +02:00
qdiriterator Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfile Unix: fix tst_QFile when run as root 2013-06-07 22:18:42 +02:00
qfileinfo tst_qfileinfo: Fix invalid preprocessor directive. 2013-02-26 19:24:36 +01:00
qfilesystementry Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qfilesystemwatcher Use case insensitive matching for hashes QFileSystemWatcher/Win. 2013-07-04 12:54:58 +02:00
qiodevice Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qipaddress Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qlockfile tst_qlockfile: increase delay on Windows. 2013-03-19 06:29:13 +01:00
qnodebug Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qprocess Fix incomplete override of QIODevice::open in QProcess and QLocalSocket 2013-07-20 00:22:03 +02:00
qprocess-noapplication Re-revert "Delay creation of the process manager" 2012-10-15 04:52:08 +02:00
qprocessenvironment Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qresourceengine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qsavefile QSaveFile: allow saving to a writable file in a non-writable directory 2013-04-05 11:04:35 +02:00
qsettings Fix QSettings autotest for VxWorks 2013-02-19 10:35:06 +01:00
qstandardpaths QStandardPaths: Use forward slash consistently. 2013-02-27 09:24:33 +01:00
qtemporarydir Let QTemporaryDir::stressTest() run in temporary directory. 2013-06-12 14:12:05 +02:00
qtemporaryfile Ensure QTemporaryFile can create files when an identical dir exists. 2013-03-23 14:42:45 +01:00
qtextstream Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qurl QUrl test: ensure that hostnames with bad non-IDN domains are caught too 2013-07-02 02:56:27 +02:00
qurlinternal QUrl stringprep: fix handling of U+0080: it's prohibited 2013-06-08 05:06:57 +02:00
qurlquery tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qwinoverlappedionotifier bail out early in QWinOverlappedIoNotifier::waitForNotified 2013-07-05 13:37:22 +02:00
io.pro Long live QLockFile 2013-03-05 06:26:33 +01:00