diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-18 01:25:04 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-04-18 01:25:04 (GMT) |
commit | 45e3500d8a34bee9893eff95b494497d29f7a61b (patch) | |
tree | ca102dbfdaf678bbb22370ce0b40344982c5acc8 /tests/auto/selftests | |
parent | 1276390941efc9625342f769d9ba0aa405bc53a1 (diff) | |
parent | ed3703f6779e7bc94744347eeb4d925d0f7f267c (diff) | |
download | Qt-45e3500d8a34bee9893eff95b494497d29f7a61b.zip Qt-45e3500d8a34bee9893eff95b494497d29f7a61b.tar.gz Qt-45e3500d8a34bee9893eff95b494497d29f7a61b.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qa-staging into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-qa-staging:
Remove autotest code related to old Qt versions
Fix missing equality and inequality operator docs for QPointer.
Diffstat (limited to 'tests/auto/selftests')
-rw-r--r-- | tests/auto/selftests/tst_selftests.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/selftests/tst_selftests.cpp b/tests/auto/selftests/tst_selftests.cpp index 0d27d38..1c01c5f 100644 --- a/tests/auto/selftests/tst_selftests.cpp +++ b/tests/auto/selftests/tst_selftests.cpp @@ -515,8 +515,6 @@ BenchmarkResult BenchmarkResult::parse(QString const& line, QString* error) } bool ok; -#if QT_VERSION >= 0x040700 - // Qt 4.7 uses floating point double total = sTotal.toDouble(&ok); if (!ok) { if (error) *error = sTotal + " is not a valid number"; @@ -527,18 +525,6 @@ BenchmarkResult BenchmarkResult::parse(QString const& line, QString* error) if (error) *error = sIterations + " is not a valid number"; return out; } -#else - qlonglong total = sTotal.toLongLong(&ok); - if (!ok) { - if (error) *error = sTotal + " is not a valid integer"; - return out; - } - qlonglong iterations = sIterations.toLongLong(&ok); - if (!ok) { - if (error) *error = sIterations + " is not a valid integer"; - return out; - } -#endif out.unit = unit; out.total = total; |