qt5base-lts/tests/auto
Thiago Macieira 849604e2f9 Fix asymmetry in QVariant::cmp when A converts to B but not the opposite
This would result in (a == b) != (b == a). The == operation should be
commutative as much as possible.

Now, there's still an asymmetry in that b is forced to a type and the
conversion may fail. QVariant should have an idea of what conversions
are "promotion" and which ones are "demotion" (subject to loss of data
and/or can fail), so it can do the promotion first

Task-number: QTBUG-42254
Change-Id: I9fa4496bbbf0f8719ff8456cc24247290beac608
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2014-11-20 05:46:40 +01:00
..
android Update license headers and add new license files 2014-09-24 12:26:19 +02:00
bic/data
cmake Update license headers and add new license files 2014-09-24 12:26:19 +02:00
compilerwarnings/data
concurrent Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib Fix asymmetry in QVariant::cmp when A converts to B but not the opposite 2014-11-20 05:46:40 +01:00
dbus Update license headers and add new license files 2014-09-24 12:26:19 +02:00
gui Send events when platform surfaces are created/about to be destroyed 2014-11-17 10:38:22 +01:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.4' into dev 2014-10-27 13:00:36 +01:00
opengl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
other Add a test for QFilePrivate::fileName offset on Linux 2014-10-25 11:49:12 +02:00
printsupport QPrinter - Fix DuplexMode on all platforms 2014-10-24 21:34:21 +02:00
shared Android: Keyboard doesn't hide from done button 2014-10-25 07:19:35 +02:00
sql Expose QSqlDriverPrivate dbmsType in public QSqlDriver api 2014-09-24 14:44:49 +02:00
testlib Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tools Fix moc preprocessor 2014-11-11 14:11:40 +01:00
widgets Let QMetaType know which types are Q_GADGET 2014-11-16 13:37:58 +01:00
xml Fix QDomDocument::importNode() crashing on null nodes 2014-10-07 23:08:18 +02:00
auto.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00
network-settings.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtest-config.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
test.pl Update license headers and add new license files 2014-09-24 12:26:19 +02:00