tst_QFileSystemModel: Remove Win32LongFileName().
Modern SSD drives no longer have short file names enabled, causing the test to fail. Task-number: QTBUG-29403 Change-Id: I2e9866d8f8a6ed3df9d2dc6630b8cfa47ade0728 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
ae0a2fe041
commit
df3f685826
@ -109,10 +109,6 @@ private slots:
|
|||||||
|
|
||||||
void caseSensitivity();
|
void caseSensitivity();
|
||||||
|
|
||||||
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
|
|
||||||
void Win32LongFileName();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void drives_data();
|
void drives_data();
|
||||||
void drives();
|
void drives();
|
||||||
void dirsBeforeFiles();
|
void dirsBeforeFiles();
|
||||||
@ -932,20 +928,6 @@ void tst_QFileSystemModel::caseSensitivity()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
|
|
||||||
void tst_QFileSystemModel::Win32LongFileName()
|
|
||||||
{
|
|
||||||
QString tmp = flatDirTestPath;
|
|
||||||
QStringList files;
|
|
||||||
files << "aaaaaaaaaa" << "bbbbbbbbbb" << "cccccccccc";
|
|
||||||
QVERIFY(createFiles(tmp, files));
|
|
||||||
QModelIndex root = model->setRootPath(tmp);
|
|
||||||
QTRY_VERIFY(model->index(tmp + QLatin1String("/aaaaaa~1")).isValid());
|
|
||||||
QTRY_VERIFY(model->index(tmp + QLatin1String("/bbbbbb~1")).isValid());
|
|
||||||
QTRY_VERIFY(model->index(tmp + QLatin1String("/cccccc~1")).isValid());
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void tst_QFileSystemModel::drives_data()
|
void tst_QFileSystemModel::drives_data()
|
||||||
{
|
{
|
||||||
QTest::addColumn<QString>("path");
|
QTest::addColumn<QString>("path");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user