tst_qurl: skip test with ':' in filename, on Windows
Task-number: QTBUG-59622 Change-Id: Ib4b458b5d0fc2dd9ea6758b8517a953f6d768a39 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
99fc96fd37
commit
05924ddff9
@ -3088,7 +3088,11 @@ void tst_QUrl::fromUserInputWithCwd_data()
|
||||
}
|
||||
|
||||
// Existing files
|
||||
for (const char *fileName : {"file.txt", "file#a.txt", "file .txt", "file.txt ", "file:colon.txt"}) {
|
||||
for (const char *fileName : {"file.txt", "file#a.txt", "file .txt", "file.txt "
|
||||
#ifndef Q_OS_WIN
|
||||
, "file:colon.txt"
|
||||
#endif
|
||||
}) {
|
||||
const QString filePath = base + '/' + fileName;
|
||||
QFile file(filePath);
|
||||
QVERIFY2(file.open(QIODevice::WriteOnly), qPrintable(filePath));
|
||||
|
Loading…
Reference in New Issue
Block a user