summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-08-05 16:48:46 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-05 16:53:17 +0200
commitd66d912c530d53ae19a36df63db15d33a984bce9 (patch)
tree210b34af46b1f961be2ade027be2f1e8ebc4e314 /tests/auto
parent8c35db5c72ba7f960590653ca246cec48361978a (diff)
Fix tst_QCompleter::directoryModel() on OS X
By not assuming that we have the '/Developer' directory at the root of the file system. 'Users' is less likely to be removed/deprecated. Change-Id: I659bdb67cfb1ed2f73bc643ba4afe1f1f89d5bc5 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp b/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp
index d7050033f3..0f7993540c 100644
--- a/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp
+++ b/tests/auto/widgets/util/qcompleter/tst_qcompleter.cpp
@@ -608,7 +608,7 @@ void tst_QCompleter::directoryModel_data()
#elif defined (Q_OS_MAC)
QTest::newRow("()") << "" << "" << "/" << "/";
QTest::newRow("(/a)") << "/a" << "" << "Applications" << "/Applications";
- QTest::newRow("(/d)") << "/d" << "" << "Developer" << "/Developer";
+ QTest::newRow("(/u)") << "/u" << "" << "Users" << "/Users";
#else
QTest::newRow("()") << "" << "" << "/" << "/";
#if !defined(Q_OS_IRIX) && !defined(Q_OS_AIX) && !defined(Q_OS_HPUX)