qt5base-lts/tests/auto/corelib/io/qprocess
Joerg Bornemann edb5f22b0a consistently handle empty program string in QProcess::start overloads
All overloads of QProcess::start will now check whether the program
string is empty and in that case
  - set error to FailedToStart,
  - set errorString to "No program defined",
  - emit error.

Until now only one of the three overloads behaved like this.

As a side effect, start(QString(), QStringList()) will not crash on
Windows anymore.

Task-number: QTBUG-47404
Change-Id: I2f93657204fe3643b1d74a74817843c05fc4a96b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-07-30 05:33:28 +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
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
qprocess.pri add and use qtHaveModule() function 2012-12-21 19:05:02 +01: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 consistently handle empty program string in QProcess::start overloads 2015-07-30 05:33:28 +00:00