aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-16 18:17:31 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-11-23 21:15:11 +0000
commitc8b4e0ae14ce34f24e6900de52b781588f8988e3 (patch)
tree38d7317dbd7070de77abfc1376e4ed17bedee46d /tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
parent242067390f3bd891b162164a2d01a3a982c64fa2 (diff)
Remove libdouble-conversion
We can use facilities in qtbase to convert doubles to strings now. This also makes the fix to QTBUG-47070 obsolete. Change-Id: I2f813164ff788b96281c3ffd37d8d2c65665de80 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp')
-rw-r--r--tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp b/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
index 6ada14ce79..3133d6c00a 100644
--- a/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
+++ b/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp
@@ -2062,13 +2062,11 @@ void tst_qqmlproperty::floatToStringPrecision()
QVERIFY(obj != 0);
QCOMPARE(obj->property("a").toDouble(), 3.4);
- QEXPECT_FAIL("", "QVariant's double-to-string conversion is worse than V4's.", Continue);
QCOMPARE(obj->property("a").toString(), QLatin1String("3.4"));
QCOMPARE(obj->property("b").toDouble(), 3.4);
QCOMPARE(obj->property("b").toString(), QLatin1String("3.4"));
QCOMPARE(obj->property("c").toDouble(), 0.035003945);
- QEXPECT_FAIL("", "QVariant's double-to-string conversion is worse than V4's.", Continue);
QCOMPARE(obj->property("c").toString(), QLatin1String("0.035003945"));
QCOMPARE(obj->property("d").toDouble(), 0.035003945);
QCOMPARE(obj->property("d").toString(), QLatin1String("0.035003945"));