summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-04-01 18:18:42 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-04-01 18:18:42 (GMT)
commit8603b43cccccf21ca042ab1ceed2f1ddd873d251 (patch)
treee9c8fd832f99454601fb82d589bbf4da3af48c42 /tests/auto
parentc272d672fc1863f9e3a201e93ad277c734749845 (diff)
parenta0899310206f38b2ab959f29a1093246a25f5fb3 (diff)
downloadQt-8603b43cccccf21ca042ab1ceed2f1ddd873d251.zip
Qt-8603b43cccccf21ca042ab1ceed2f1ddd873d251.tar.gz
Qt-8603b43cccccf21ca042ab1ceed2f1ddd873d251.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Fix regression on Symbian Fix broken test case Cleanup the deployment code Fix 'make sis' finding the dll on symbian Re-add line that was lost during webkit update. Work around bad naming of exported class in symbian sdk causing conflict Fix building on public symbian SDK. Fix qmake with the symbian makespec failing when project has a dash in it Make s60main static lib not depend on QtCore Remove stray non-latin1 character Fix out-of-source symbian build for external apps Update EABI def files for 4.7 Exporting QFontDatabase::removeAllApplicationFonts() Adding QFontDatabase::removeAllApplicationFonts()
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qdir/tst_qdir.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qdir/tst_qdir.cpp b/tests/auto/qdir/tst_qdir.cpp
index ba18bbb..c8c835f 100644
--- a/tests/auto/qdir/tst_qdir.cpp
+++ b/tests/auto/qdir/tst_qdir.cpp
@@ -1470,9 +1470,16 @@ void tst_QDir::updateFileLists()
QDir dir("update-file-lists");
+#if defined(Q_OS_SYMBIAN) || defined(Q_OS_WINCE)
+ //no . and .. on these OS.
+ QCOMPARE(dir.count(), uint(4));
+ QCOMPARE(dir.entryList().size(), 4);
+ QCOMPARE(dir.entryInfoList().size(), 4);
+#else
QCOMPARE(dir.count(), uint(6));
QCOMPARE(dir.entryList().size(), 6);
QCOMPARE(dir.entryInfoList().size(), 6);
+#endif
dir.setFilter(QDir::AllEntries | QDir::NoDotAndDotDot);