diff options
author | Eckhart Koppen <eckhart.koppen@nokia.com> | 2011-05-13 17:28:20 +0300 |
---|---|---|
committer | Eckhart Koppen <eckhart.koppen@nokia.com> | 2011-05-13 17:28:20 +0300 |
commit | bf6534bad54e5d1a4f15b933f3c08ebbda74881f (patch) | |
tree | f4d44136212294dd9681a892af0ba617f1115ad5 /tests/auto/qset | |
parent | 890d08add40ec7f3dcb34b69432ba8d5080d5f7c (diff) |
Temporarily changed autotest behaviour to ignore Qt version
Version past 5.0.0 was checked, but the test failed to compile in that
configuration.
Diffstat (limited to 'tests/auto/qset')
-rw-r--r-- | tests/auto/qset/tst_qset.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qset/tst_qset.cpp b/tests/auto/qset/tst_qset.cpp index c28b68320e..2c3403ae33 100644 --- a/tests/auto/qset/tst_qset.cpp +++ b/tests/auto/qset/tst_qset.cpp @@ -715,12 +715,12 @@ void tst_QSet::stlMutableIterator() QVERIFY(set2.isEmpty()); QVERIFY(set3.isEmpty()); -#if QT_VERSION >= 0x050000 - i = set2.insert("foo"); -#else +// #if QT_VERSION >= 0x050000 +// i = set2.insert("foo"); +// #else QSet<QString>::const_iterator k = set2.insert("foo"); i = reinterpret_cast<QSet<QString>::iterator &>(k); -#endif +// #endif QVERIFY(*i == "foo"); } } |