summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@trolltech.com>2010-05-07 04:32:49 (GMT)
committerAlexis Menard <alexis.menard@trolltech.com>2010-05-07 04:32:49 (GMT)
commit153f9f34008c0205cbbb88d03e7991aba932c913 (patch)
treef038236196d6895e7593fd4a12b1d7a06be440a1 /tests/auto
parent4a934cb8bb610119367f918957d871fbbc2799ff (diff)
downloadQt-153f9f34008c0205cbbb88d03e7991aba932c913.zip
Qt-153f9f34008c0205cbbb88d03e7991aba932c913.tar.gz
Qt-153f9f34008c0205cbbb88d03e7991aba932c913.tar.bz2
Fix auto-test failure on Mac/Linux/QWS.
/ should not be present in the completer -> it's the current dir. This regression happened due to a bug fix i did so the auto-test was relying on a bug :D. Reviewed-by:TrustMe
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qfiledialog/tst_qfiledialog.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qfiledialog/tst_qfiledialog.cpp b/tests/auto/qfiledialog/tst_qfiledialog.cpp
index 38a1ee7..ca7c445 100644
--- a/tests/auto/qfiledialog/tst_qfiledialog.cpp
+++ b/tests/auto/qfiledialog/tst_qfiledialog.cpp
@@ -529,10 +529,6 @@ void tst_QFiledialog::completer()
#endif
++expected;
}
-#if !defined(Q_OS_WIN)
- if (inputStartsWithRootPath)
- expected++;
-#endif
}
QTest::qWait(1000);