summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index 586fb9c124..aa57ee7fe9 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -5244,6 +5244,18 @@ void tst_Dumpers::dumper_data()
+ Check("s32s", "-2147483648", TypeDef("int", "@qint32"));
+ QTest::newRow("Float")
+ << Data("#include <QFloat16>\n",
+ "qfloat16 f1 = 45.3f; unused(&f1);\n"
+ "qfloat16 f2 = 45.1f; unused(&f2);\n")
+ + CoreProfile()
+ + QtVersion(0x50900)
+ // Using numpy:
+ // + Check("f1", "45.281", "@qfloat16")
+ // + Check("f2", "45.094", "@qfloat16");
+ + Check("f1", "45.28125", "@qfloat16")
+ + Check("f2", "45.09375", "@qfloat16");
+
QTest::newRow("Enum")
<< Data("\n"