qt5base-lts/tests/auto/xml/sax/qxmlinputsource
Andy Shaw 1d9547c9a4 Don't indefinitely wait for data if it was able to read some data
Passing -1 to waitForReadyRead() may cause it to wait for some time
but the data retrieved may be enough for processing. So if 0 is passed
from read, indicating that there is potentially more to come, then
it will do a waitForReadyRead() then for more data to come.

Change-Id: I75f270d1f124ecc12b18512cc20fb11f7a88f02e
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-01-24 05:54:31 +00:00
..
.gitignore Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00
qxmlinputsource.pro tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
tst_qxmlinputsource.cpp Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00