[poppler] qt5/tests
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jan 28 23:12:06 UTC 2020
qt5/tests/check_search.cpp | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 715878e8906155045e6219018af433ec67be74cc
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jan 28 23:53:04 2020 +0100
qt5: Add deseret lowercase search test
Or at least i think this is the lowercase one, at least this is the
different case than the one on the actual file
diff --git a/qt5/tests/check_search.cpp b/qt5/tests/check_search.cpp
index 2808a37f..11f11dc7 100644
--- a/qt5/tests/check_search.cpp
+++ b/qt5/tests/check_search.cpp
@@ -273,6 +273,9 @@ void TestSearch::testDeseretSearch()
const QString str = QString::fromUtf8("𐐐𐐯𐑊𐐬"); //clazy:exclude=qstring-allocations
QCOMPARE( page->search(str, l, t, r, b, Poppler::Page::FromTop, Poppler::Page::NoSearchFlags), true );
+
+ const QString str2 = QString::fromUtf8("𐐸𐐯𐑊𐐬"); //clazy:exclude=qstring-allocations
+ QCOMPARE( page->search(str2, l, t, r, b, Poppler::Page::FromTop, Poppler::Page::IgnoreCase), true );
}
QTEST_GUILESS_MAIN(TestSearch)
More information about the poppler
mailing list