summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfiledialog
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2011-06-09 08:42:09 (GMT)
committerPierre Rossi <pierre.rossi@nokia.com>2011-06-09 08:46:37 (GMT)
commit13d438ef43a3cb2a90acfaa5304cba34b31fb627 (patch)
treea566fe72af7e4d76069e3b7cafba1a25743c3c4b /tests/auto/qfiledialog
parentdf6713b8f55fc007796f404a3615bf348d1d0782 (diff)
downloadQt-13d438ef43a3cb2a90acfaa5304cba34b31fb627.zip
Qt-13d438ef43a3cb2a90acfaa5304cba34b31fb627.tar.gz
Qt-13d438ef43a3cb2a90acfaa5304cba34b31fb627.tar.bz2
Fix some issues introduced in df6713b8f55fc007796f40.
Remove homeDirPath(), which is part of Qt3Support. Add a #else to the #ifdef QT_BUILD_INTERNAL so that the autotest compiles also with non-developer builds. Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qfiledialog')
-rw-r--r--tests/auto/qfiledialog/tst_qfiledialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qfiledialog/tst_qfiledialog.cpp b/tests/auto/qfiledialog/tst_qfiledialog.cpp
index 24ac9f7..955860d 100644
--- a/tests/auto/qfiledialog/tst_qfiledialog.cpp
+++ b/tests/auto/qfiledialog/tst_qfiledialog.cpp
@@ -1353,11 +1353,12 @@ void tst_QFiledialog::tildeExpansion()
{
#ifndef QT_BUILD_INTERNAL
QSKIP("Test case relies on developer build (AUTOTEST_EXPORT)", SkipAll);
-#endif
+#else
QFETCH(QString, tildePath);
QFETCH(QString, expandedPath);
QCOMPARE(qt_tildeExpansion(tildePath), expandedPath);
+#endif
}
#endif