qt5base-lts/tests/auto/corelib
Edward Welbourne 7d74404325 Replace a misguided test with a valid one
The code had min and max of an integral type and tested min + min / 2,
which naturally overflowed, provoking a compiler warning.  The test
was meant to be testing min - min / 2; but min is even, so this is
just min / 2; and doubling that won't overflow (which is what the test
is about).  As it happens, min + min / 2 is in fact max - max / 2,
which *would* be a good value to test, since max is odd.  So add a
test for that and remove the broken test.

Change-Id: Iec34acbf0d5d7993d41ff844875dc10480b8eb1f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-03-27 13:43:21 +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 Replace a misguided test with a valid one 2019-03-27 13:43:21 +00:00
io Make tst_QTemporaryFile::fileTemplate() more informative on failure 2019-03-19 17:52:39 +00:00
itemmodels Merge remote-tracking branch 'origin/5.12' into dev 2019-01-04 07:33:14 +01:00
kernel Merge remote-tracking branch 'origin/5.13' into dev 2019-03-26 08:24:59 +01:00
mimetypes QMimeDatabase: update freedesktop.org.xml to shared-mime-info 1.10 2018-11-13 11:16:11 +00:00
plugin Merge remote-tracking branch 'origin/5.12' into 5.13 2019-03-06 12:31:50 +01:00
serialization Clean up QTextStream functions 2019-03-23 10:00:18 +00:00
statemachine Stabilize tst_QStateMachine::dontProcessSlotsWhenMachineIsNotRunning 2019-03-22 19:24:19 +00:00
thread Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
tools Use move more consistently in QScopedValueRollback 2019-03-27 07:56:15 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00