summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-05-15 18:12:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-20 09:08:47 +0200
commit1da8cd6e480b2dc190b52cbea89aa05965708f97 (patch)
tree330d3675b4a5141f5fbfe61b409c46bccb61291c /tests/auto/corelib/kernel
parentf22b29162c8689f740841819d3350a3c013d7121 (diff)
Don't test QHash<float, U> or QHash<double, U>
Although it is possible to construct those containers, they are not usable, as qHash(float) and qHash(double) are ambiguous. Also don't use CustomMovable as a container key. It is not equality or lessthan comparable. Change-Id: I8c7ee068250e2e2b3427769153e3017721c13c50 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/auto/corelib/kernel')
-rw-r--r--tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
index 645b14fd00..1208178c8b 100644
--- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
+++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
@@ -1492,17 +1492,14 @@ void tst_QMetaType::automaticTemplateRegistration()
F(uint, __VA_ARGS__) \
F(qlonglong, __VA_ARGS__) \
F(qulonglong, __VA_ARGS__) \
- F(double, __VA_ARGS__) \
F(long, __VA_ARGS__) \
F(short, __VA_ARGS__) \
F(char, __VA_ARGS__) \
F(ulong, __VA_ARGS__) \
F(ushort, __VA_ARGS__) \
F(uchar, __VA_ARGS__) \
- F(float, __VA_ARGS__) \
F(QObject*, __VA_ARGS__) \
- F(QString, __VA_ARGS__) \
- F(CustomMovable, __VA_ARGS__)
+ F(QString, __VA_ARGS__)
#define CREATE_AND_VERIFY_CONTAINER(CONTAINER, ...) \