qt5base-lts/tests/auto/corelib
Edward Welbourne 954b73445c Refine underflow check in QLocaleData::convertDoubleToFloat()
A string can parse as a non-zero double that's smaller than the
smallest float yet be a faithful representation of the smallest float.
So rather than testing for non-zero doubles less than the smallest
float, test for non-zero doubles that cast to float zero; these
underflow.  This means small values close below the smallest float
shall round up to it, rather than down to zero, requiring a tweak to
an existing test.  Added a test for the boundary case (and tidied the
test data).

Fixes: QTBUG-74833
Change-Id: I4cb30b3c0e54683574b98253505607caaf88fbfb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-04-01 14:40:14 +00:00
..
animation Extend blacklisting of tst_qparallelanimationgroup tests to macOS 10.13 2018-09-24 21:13:30 +00:00
codecs Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
global Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
io Fix compilation of qCDebug("", ...) with QT_NO_DEBUG_OUTPUT 2019-03-14 17:15:53 +00:00
itemmodels Fix tree recursion in QAbstractItemModel::match() 2019-03-22 08:01:35 +00:00
kernel Fix blacklisting tst_QTimer::basic_chrono() 2019-02-21 05:18:00 +00:00
mimetypes QMimeType: Use default key as fallback for comment() property 2018-11-02 08:27:10 +00:00
plugin Fix build with -no-gui on macOS 2019-03-04 12:25:53 +00:00
serialization QPixmap: More safe failing if qApp is not a QGuiApplication 2019-03-22 08:06:43 +00:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
tools Refine underflow check in QLocaleData::convertDoubleToFloat() 2019-04-01 14:40:14 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00