Restore commented-out data in QString test.
authorJason McDonald <jason.mcdonald@nokia.com>
Mon, 21 Nov 2011 07:26:08 +0000 (17:26 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 Nov 2011 23:33:38 +0000 (00:33 +0100)
The restored test data was commented-out before the tests were imported
into the Qt repository in 2006, but appears to be valid and passes on
Linux.

Change-Id: I75795bf2b0b45fc2331bca6ac8d89f57cf12ed3d
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/corelib/tools/qstring/tst_qstring.cpp

index c9cadad..45df14b 100644 (file)
@@ -4017,7 +4017,7 @@ void tst_QString::double_conversion_data()
     QTest::addColumn<QString>("num_str");
     QTest::addColumn<bool>("good");
     QTest::addColumn<double>("num");
-/*
+
     // The good...
 
     QTest::newRow("C 1")         << QString("C") << QString("1")          << true  << 1.0;
@@ -4081,7 +4081,7 @@ void tst_QString::double_conversion_data()
     QTest::newRow("C 1  ")           << QString("C")     << QString("1  ")        << true  << 1.0;
     QTest::newRow("de_DE  1")        << QString("de_DE") << QString(" 1")         << true  << 1.0;
     QTest::newRow("de_DE 1 ")        << QString("de_DE") << QString("1 ")         << true  << 1.0;
-*/
+
     // Let's try some Arabic
     const quint16 arabic_str[] = { 0x0660, 0x066B, 0x0661, 0x0662,
                                     0x0663, 0x0664, 0x0065, 0x0662,