qt6-bb10/tests/auto/corelib/kernel/qvariant
Glen Mabey e5d303cb9f tst_qvariant: fix comparison ambiguity for QMetaEnum value
Under certain circumstances, VS2015 reported ambiguous options in using
the operator>(Enum,int) operator.  This change adds a static_cast<qint64>
to remove any ambiguity.  In the process of testing this change, a gap
in the existing logic was identified: the handling (just in the test
code) of large negative enum values.  Consequently, and additional
test case was added, and additional if-conditions were added to account
for that case.

Change-Id: Ife2c471ba4caa4b9a0107722042114e58145c4d0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-01-31 14:21:02 +00:00
..
stream Fix invalid QDataStream data for QDateTime 2016-05-26 11:05:43 +00:00
.gitignore
qvariant.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
qvariant.qrc
tst_qvariant.cpp tst_qvariant: fix comparison ambiguity for QMetaEnum value 2017-01-31 14:21:02 +00:00