summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qstringapisymmetry
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-12-13 05:08:21 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-03-16 08:06:54 +0000
commit8005fa3524916a56a555f44d4418eb1cd12db645 (patch)
treebbf8e3c5623571305436fb6cacf83d46452590b1 /tests/auto/corelib/tools/qstringapisymmetry
parentc4b52b42ab44ea1b203edde71d06700c9ca81584 (diff)
QStringRef: add missing relational operators against QLatin1String/QString
Equality and inequality were already provided. Missing were the less/greater than (or equal) operators. Added. Moved existing functions around and more similar to the new ones, to make the whole code section a bit more manageable. [ChangeLog][QtCore][QStringRef] Added missing operator{<,>,<=,>=} comparing against QLatin1String and QString. Change-Id: Idb3c4fa9b38421637987226f3cc1b77f5d4a6309 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/tools/qstringapisymmetry')
-rw-r--r--tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp b/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp
index 5bf7984a65..1557bd6076 100644
--- a/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp
+++ b/tests/auto/corelib/tools/qstringapisymmetry/tst_qstringapisymmetry.cpp
@@ -62,12 +62,6 @@ MAKE_LESS_ETC(QChar, QLatin1String)
MAKE_LESS_ETC(QChar, QStringRef)
MAKE_LESS_ETC(QStringRef, QChar)
-MAKE_LESS_ETC(QString, QStringRef)
-MAKE_LESS_ETC(QStringRef, QString)
-
-MAKE_LESS_ETC(QStringRef, QLatin1String)
-MAKE_LESS_ETC(QLatin1String, QStringRef)
-
#undef MAKE_LESS_ETC
#undef MAKE_RELOP
// END FIXME