summaryrefslogtreecommitdiff
path: root/tests/auto/qfiledialog/tst_qfiledialog.cpp
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2011-06-09 10:42:09 +0200
committerPierre Rossi <pierre.rossi@nokia.com>2011-06-09 10:46:37 +0200
commit13d438ef43a3cb2a90acfaa5304cba34b31fb627 (patch)
treea566fe72af7e4d76069e3b7cafba1a25743c3c4b /tests/auto/qfiledialog/tst_qfiledialog.cpp
parentdf6713b8f55fc007796f404a3615bf348d1d0782 (diff)
downloadqt4-tools-13d438ef43a3cb2a90acfaa5304cba34b31fb627.tar.gz
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/tst_qfiledialog.cpp')
-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 24ac9f7849..955860d895 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