qt5base-lts/tests/auto
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
..
android Fix Qt tests for Android. 2013-04-03 10:15:40 +02:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Only expect EGL libraries in the cmake files if Qt is configured to use it. 2013-05-07 22:43:14 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:25 +01:00
corelib Fix incomplete override of QIODevice::open in QProcess and QLocalSocket 2013-07-20 00:22:03 +02:00
dbus Fix QDBusAbstractInterface::isValid() for peer connections 2013-07-16 18:32:14 +02:00
gui Detect popup window correctly in modal window blocked handling. 2013-07-16 16:28:11 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Fix incomplete override of QIODevice::open in QProcess and QLocalSocket 2013-07-20 00:22:03 +02:00
opengl Add object names to QGLWidget-reparenting test. 2013-06-14 15:13:26 +02:00
other Merge branch 'release' into stable 2013-07-03 18:33:26 +02:00
printsupport QPrintPreviewDialog: Prevent changing of page in resize handling. 2013-05-23 09:31:27 +02:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Remove Nokia-domains in commented-out test code. 2013-07-12 12:41:30 +02:00
testlib QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
tools make split_value_list() even less sane again 2013-07-03 21:38:37 +02:00
widgets Make *ItemBoundingRect modes work with custom shapes. 2013-07-16 20:42:01 +02:00
xml tst_qdom: Fix warning about character conversion, 2013-06-08 10:29:34 +02:00
auto.pro Make the CMake tests run sequentially, not in parallel. 2013-07-08 14:48:03 +02:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00