qt5base-lts/tests/auto/other
Daniel Teske ed0c0070f9 Introduce qt_subtract_from_timeout to reduce code duplication.
The same qt_timeout_value function was copied 5 times in qtbase's code,
so provide a common implementation in QIoDevice that can be used by
everyone.

This commit also corrects the remaining time calculation in
QProcess::waitForBytesWritten and QProcess::waitForFinished by using
this new function.

For QProcess::waitForFinished, if the process started within almost exactly
the timeout time passed to waitForFinished, msecs - stopWatch.elapsed() would
be -1, which is a special value.

Change-Id: I7b76ee6bae695eafdd02e3db03e2ff1e23a7f40c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-03-09 17:11:54 +00:00
..
atwrapper Update license headers and add new license files 2014-09-24 12:26:19 +02:00
baselineexample Update license headers and add new license files 2014-09-24 12:26:19 +02:00
compiler Gcc 4.5.* build fix. 2014-10-10 13:20:30 +02:00
gestures Update license headers and add new license files 2014-09-24 12:26:19 +02:00
headersclean headersclean: process private modules correctly 2013-07-03 15:31:13 +02:00
lancelot Ensure that GL::updateBrushTexture() activates and binds properly 2014-12-13 01:49:24 +01:00
languagechange Update license headers and add new license files 2014-09-24 12:26:19 +02:00
macgui Update license headers and add new license files 2014-09-24 12:26:19 +02:00
macnativeevents Update license headers and add new license files 2014-09-24 12:26:19 +02:00
macplist Update license headers and add new license files 2014-09-24 12:26:19 +02:00
modeltest Update license headers and add new license files 2014-09-24 12:26:19 +02:00
networkselftest Introduce qt_subtract_from_timeout to reduce code duplication. 2015-03-09 17:11:54 +00:00
qaccessibility Fix crash in QAccessibleTextWidget::attributes() 2015-02-17 11:55:39 +00:00
qaccessibilitylinux Do not include accessibility.pri twice 2015-01-21 20:38:22 +01:00
qaccessibilitymac Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qcomplextext Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qfocusevent Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qnetworkaccessmanager_and_qprogressdialog Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qobjectperformance Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qobjectrace Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qprocess_and_guieventloop Android: Skip QProcess_and_GuiEventLoop test 2015-01-16 09:27:37 +01:00
qsharedpointer_and_qwidget Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtokenautomaton Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qvariant_common Update license headers and add new license files 2014-09-24 12:26:19 +02:00
windowsmobile Update license headers and add new license files 2014-09-24 12:26:19 +02:00
other.pro Disable tst_qaccessibilitylinux 2015-02-24 12:02:20 +00:00