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>
This commit is contained in:
parent
8c35db5c72
commit
d66d912c53
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user