From 156228aeb85f34befe766c695c24349b71d3598a Mon Sep 17 00:00:00 2001 From: Orgad Shaneh <orgad.shaneh@audiocodes.com> Date: Mon, 2 Feb 2015 22:29:51 +0200 Subject: [PATCH] Tests: Break trigraphs Change-Id: I9bc0e5f6080adfb518ff6e4d22052013728e6458 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> --- tests/auto/utils/fileutils/tst_fileutils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/auto/utils/fileutils/tst_fileutils.cpp b/tests/auto/utils/fileutils/tst_fileutils.cpp index fb509d1983..053d902634 100644 --- a/tests/auto/utils/fileutils/tst_fileutils.cpp +++ b/tests/auto/utils/fileutils/tst_fileutils.cpp @@ -75,7 +75,7 @@ void tst_fileutils::parentDir_data() QTest::newRow("C:/") << "C:/" << "" << ""; QTest::newRow("//./com1") << "//./com1" << "/" << ""; QTest::newRow("//?/path") << "//?/path" << "/" << "Qt 4 can not handle this path."; - QTest::newRow("/Global??/UNC/host") << "/Global??/UNC/host" << "/Global??/UNC/host" + QTest::newRow("/Global?\?/UNC/host") << "/Global?\?/UNC/host" << "/Global?\?/UNC/host" << "Qt 4 can not handle this path."; QTest::newRow("//server/directory/file") << "//server/directory/file" << "//server/directory" << ""; @@ -115,8 +115,8 @@ void tst_fileutils::isChildOf_data() QTest::newRow("C:/") << "" << "C:/" << false; QTest::newRow("//./com1") << "/" << "//./com1" << true; QTest::newRow("//?/path") << "/" << "//?/path" << true; - QTest::newRow("/Global??/UNC/host") << "/Global??/UNC/host" - << "/Global??/UNC/host/file" << true; + QTest::newRow("/Global?\?/UNC/host") << "/Global?\?/UNC/host" + << "/Global?\?/UNC/host/file" << true; QTest::newRow("//server/directory/file") << "//server/directory" << "//server/directory/file" << true; QTest::newRow("//server/directory") -- GitLab