qt5base-lts/tests/auto/corelib/io
Christian Strømme 2223cc8a2d Add function to get the actual PID from QProcess
It was not possible to get the actual process ID (in a cross-platform
manner) from QProcess, as the user would need to handle the returned
typedef (Q_PID) differently on Unix and Windows.

On Unix Q_PID is the actual process ID, but on Windows it's a pointer
to a PROCESS_INFORMATION structure, which among other fields contains
the process ID. Instead of returning a pointer on Windows,
QProcess::processId() will return the actual process ID on both Windows
and Unix.

[ChangeLog][QtCore][QProcess] Added processId() to QProcess. This
function will, unlike pid(), return the actual process identifier on
both Window and Unix.

Task-number: QTBUG-26136
Change-Id: I853ab721297e2dd9cda006666144179a9e25b73d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-02-14 00:34:25 +01:00
..
largefile Remove #ifdef from outside test functions 2014-01-10 17:14:29 +01:00
qabstractfileengine
qbuffer Make QBuffer::bytesAvailable() work 2013-04-16 19:45:11 +02:00
qdatastream QDateTime - Improve and expose Qt::OffsetFromUtc 2013-08-28 19:08:14 +02:00
qdataurl tst_qdataurl: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:19:45 +02:00
qdebug Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
qdir QDir: Do not assume that root ends with a slash 2014-01-22 00:04:16 +01:00
qdiriterator
qfile Enable qfile tests for platforms without network 2013-11-11 20:13:12 +01:00
qfileinfo WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qfileselector QFileSelector: correct the macros for Apple platforms. 2014-02-04 19:36:58 +01:00
qfilesystementry
qfilesystemwatcher Merge remote-tracking branch 'origin/stable' into dev 2013-10-11 16:12:35 +02:00
qiodevice
qipaddress Make QIPAddress::parseIp6 return the first bad character 2013-07-20 05:08:08 +02:00
qlockfile Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
qloggingcategory Print qCDebugs in arbitrary categories by default 2014-02-10 16:28:30 +01:00
qloggingregistry Allow configuration of logging rules from file system 2014-02-11 20:59:15 +01:00
qnodebug Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
qprocess Add function to get the actual PID from QProcess 2014-02-14 00:34:25 +01:00
qprocess-noapplication Expose QTest::currentAppName() and remove hard-coded argv[0] in tests 2013-09-26 18:45:16 +02:00
qprocessenvironment Fix remaining use of QTEST_NOOP_MAIN 2013-09-02 14:59:02 +02:00
qresourceengine
qsavefile Fix temporary directory leak in tst_qsavefile. 2013-10-01 12:28:22 +02:00
qsettings Merge remote-tracking branch 'origin/stable' into dev 2013-11-29 15:59:34 +01:00
qstandardpaths Merge remote-tracking branch 'origin/stable' into dev 2014-02-12 16:28:07 +01:00
qtemporarydir WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qtemporaryfile WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qtextstream Fixed QTextStream "stdin" auto tests 2013-07-30 09:56:40 +02:00
qurl tst_qurl: add test for matches() with empty vs null case 2013-11-05 19:08:08 +01:00
qurlinternal Fix MSVC 64bit warnings about int64 truncation in tests. 2014-01-24 22:06:15 +01:00
qurlquery
qwinoverlappedionotifier remove qt_windows.h from qwinoverlappedionotifier_p.h 2014-01-15 18:43:20 +01:00
io.pro Allow configuration of logging rules from file system 2014-02-11 20:59:15 +01:00