qt5base-lts/tests/auto/corelib/kernel
Clemens Sielaff 2a24c3c268 Fixed Bug in QVariant comparison when containing QStringLists
As it were, QStringLists were not handled explicitly when comparing
QVariants. If both QStringLists contained only a single entry, they
were treated as QStrings - if both QStringLists were empty, there were
equal (correctly so) - but if one of the QStringLists had more than
one entry, the compare function fell through to returning always 1.
As discussed here:  https://stackoverflow.com/a/38492467/3444217

Added rich comparison tests for all non-numerical, non-recursive
QVariants that support them (except QModelIndex and
QPersistentModelIndex)

Task-number: QTBUG-54893
Change-Id: Icc5480d9ba056ee5efe83da566c5829caa1509d7
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
2016-08-03 11:16:35 +00:00
..
qcoreapplication Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
qeventdispatcher Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qeventloop Stabilize qguieventloop test. 2015-09-24 07:36:25 +00:00
qmath Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaenum Fix QtPrivate::IsQEnumHelper<void> 2015-05-17 09:13:18 +00:00
qmetamethod Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaobject Output registered enums in qDebug operator for QFlags. 2015-02-26 12:16:51 +00:00
qmetaobjectbuilder Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaproperty QMetaProperty::write should reset the property if an empty QVariant is given 2015-10-09 15:26:38 +00:00
qmetatype tst_QMetaType: fix misleading indention 2016-03-09 13:18:26 +00:00
qmimedata Tests: Replace Q[TRY]_VERIFY(v == true|false) by QVERIFY(v)|QVERIFY(!v). 2015-07-27 12:09:19 +00:00
qobject Fix crash when connecting a non-PMF with Qt::UniqueConnection... 2016-05-30 00:19:39 +00:00
qpointer QPointer: add a test for const QPointer<X> 2016-04-01 18:57:25 +00:00
qsharedmemory Fix tests for platforms without process support 2016-03-01 09:27:13 +00:00
qsignalblocker Update copyright headers 2015-02-11 06:49:51 +00:00
qsignalmapper Update copyright headers 2015-02-11 06:49:51 +00:00
qsocketnotifier winrt: Disable tests which connect to localhost 2016-02-16 19:35:10 +00:00
qsystemsemaphore Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
qtimer Fixed a QTimer::singleShot() crash when a functor callback is used 2015-10-12 16:45:04 +00:00
qtranslator Update testdata 2016-02-17 04:50:50 +00:00
qvariant Fixed Bug in QVariant comparison when containing QStringLists 2016-08-03 11:16:35 +00:00
qwineventnotifier Update copyright headers 2015-02-11 06:49:51 +00:00
kernel.pro iOS: Skip tests that don't make sense or don't work on the platform 2015-03-16 14:25:27 +00:00