summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qelapsedtimer.h
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2014-03-11 15:14:16 +0100
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2014-11-21 18:51:17 +0100
commita2f78ea0a147301222cb5346fad7e09121d87d59 (patch)
tree821efe00e20db7f9d33e5f1aa7b96edeb52eed12 /src/corelib/tools/qelapsedtimer.h
parentcd75ca0dbd2b9b6cef8fd840f3ecdeeb04502362 (diff)
Fix tst_QEventLoop::processEventsExcludeSocket test
The testcase always returns the expected result, independently of the QEventLoop::ExcludeSocketNotifiers flag to processEvents. In Qt4 the same test uses an intermediate QEventLoop and already runs it before the QEventLoop::ExcludeSocketNotifiers: QEventLoop loop; // allow the TCP/IP stack time to loopback the data, // so our socket is ready to read QTimer::singleShot(200, &loop, SLOT(quit())); loop.exec(QEventLoop::ExcludeSocketNotifiers); This fixes and improves the test by connecting, processing and checking the bytesWritten signal for the pending connection socket. Change-Id: I1b1d2b7b83910c87ba3fe48e29ac9fd585ac62ad Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qelapsedtimer.h')
0 files changed, 0 insertions, 0 deletions