qt5base-lts/tests/auto/corelib/io/qprocess
Friedemann Kleint 3cbb89fa5a tst_qprocess: Instantiate QProcess objects on the stack.
Instantiate the QProcess object on the stack to ensure resource
cleanup and remove the QProcess * member variable.
Use qobject_cast<QProcess *>(QObject::sender()) instead
of the member variable in the helpers slots to ensure that signals
from a leaked QProcess do not interfere with other tests.

Task-number: QTBUG-47370
Change-Id: Ifc0dccb7e4b18069d236df53bccdcb6a47df6346
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-09-25 20:22:17 +00:00
..
fileWriterProcess Update copyright headers 2015-02-11 06:49:51 +00:00
test Use forkfd in QProcess 2015-01-23 19:13:17 +01:00
testBatFiles Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testDetached Update copyright headers 2015-02-11 06:49:51 +00:00
testExitCodes Update copyright headers 2015-02-11 06:49:51 +00:00
testForwarding Update copyright headers 2015-02-11 06:49:51 +00:00
testGuiProcess Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessCrash Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessDeadWhileReading Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho2 Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEcho3 Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEchoGui Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEnvironment Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessEOF Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessHang QProcess: Ensure that the stdin buffer is cleared on start() 2015-08-15 21:59:26 +00:00
testProcessNormal Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessOutput Update copyright headers 2015-02-11 06:49:51 +00:00
testProcessSpacesArgs Update copyright headers 2015-02-11 06:49:51 +00:00
testSetNamedPipeHandleState Update copyright headers 2015-02-11 06:49:51 +00:00
testSetWorkingDirectory Update copyright headers 2015-02-11 06:49:51 +00:00
testSoftExit fix usage of wince scope 2015-06-05 10:29:10 +00:00
testSpaceInName Update copyright headers 2015-02-11 06:49:51 +00:00
.gitignore test: Moving tst_QProcess::echoTest_performance() 2012-10-19 02:43:05 +02:00
BLACKLIST Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qprocess.pri QProcess: Ensure that the stdin buffer is cleared on start() 2015-08-15 21:59:26 +00:00
qprocess.pro QProcess/Win: allow child processes to change modes of the stdin pipe 2013-12-10 18:36:25 +01:00
tst_qprocess.cpp tst_qprocess: Instantiate QProcess objects on the stack. 2015-09-25 20:22:17 +00:00