summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfilesystemmodel
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-12 11:43:11 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-12 11:43:11 (GMT)
commit857b7443b1bd4311a02753bea7b8c7839f1ad311 (patch)
tree080cc4d10864f6ee70608a66496931e86d0a1e39 /tests/auto/qfilesystemmodel
parentdc6138cd793bf5b39617cb834ff0ee7c536384b9 (diff)
downloadQt-857b7443b1bd4311a02753bea7b8c7839f1ad311.zip
Qt-857b7443b1bd4311a02753bea7b8c7839f1ad311.tar.gz
Qt-857b7443b1bd4311a02753bea7b8c7839f1ad311.tar.bz2
QFileSystemModel autotest: sorting might be delayed
Diffstat (limited to 'tests/auto/qfilesystemmodel')
-rw-r--r--tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp b/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp
index 29e4fe6..3b24352 100644
--- a/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp
+++ b/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp
@@ -874,7 +874,7 @@ void tst_QFileSystemModel::sort()
} else {
for(int i = 0; i < myModel->rowCount(parent); ++i)
{
- QVERIFY(dirPath + QChar('/') + myModel->index(i, 1, parent).data(QFileSystemModel::FileNameRole).toString() == expectedOrder.at(i));
+ QTRY_COMPARE(dirPath + QChar('/') + myModel->index(i, 1, parent).data(QFileSystemModel::FileNameRole).toString(), expectedOrder.at(i));
}
}