Make tst_qfilesystemmodel parallel-safe.
Changed one testfunction to use the test's own QTemporaryDir instead of the system-wide temporary directory. Change-Id: I6740a7f4ba7f53174cd0730239d8dc088e5111ba Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
This commit is contained in:
parent
c68f4367f6
commit
61904b8cfc
@ -1,4 +1,5 @@
|
||||
CONFIG += testcase
|
||||
CONFIG += parallel_test
|
||||
|
||||
QT += widgets widgets-private
|
||||
QT += core-private gui testlib
|
||||
|
@ -889,7 +889,7 @@ void tst_QFileSystemModel::sort()
|
||||
|
||||
void tst_QFileSystemModel::mkdir()
|
||||
{
|
||||
QString tmp = QDir::tempPath();
|
||||
QString tmp = flatDirTestPath;
|
||||
QString newFolderPath = QDir::toNativeSeparators(tmp + '/' + "NewFoldermkdirtest4");
|
||||
QModelIndex tmpDir = model->index(tmp);
|
||||
QVERIFY(tmpDir.isValid());
|
||||
|
Loading…
Reference in New Issue
Block a user