From c8b4e0ae14ce34f24e6900de52b781588f8988e3 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 16 Oct 2015 18:17:31 +0200 Subject: 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 --- tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp') 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")); -- cgit v1.2.3