summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-06-08 01:30:04 +0300
committerQt by Nokia <qt-info@nokia.com>2012-06-10 15:58:02 +0200
commitd64cb5f7073f8a219c12fce605eae35e3887f65b (patch)
tree5231bfb35bb19178ea0583028798d18fdc0254d6 /tests/auto
parentf32a7f1e21570b44e9602058454359cd196676e4 (diff)
Update the Unicode Text Breaking Algorithm implementation
to make it conformant to the Unicode 6.1 specifications #14 and #29. The most important changes are: * The implementation has been reworked from scratch to fix all known bugs; * Separate-out the grapheme and the line breaking implementation to eliminate an overhead due to calculating unnecessary breaks; * Stop using deprecated SG class in favor of resolving pairs of surrogates; * A proper support for SMP code points; * Support for extended grapheme clusters (a drop-in replacement for the legacy grapheme clusters as of Unicode 5.1); * The hardcoded tailoring of UBA has been eliminated which breaks the 7 years-old lineBreaking test. Some later, we'll investigate if such a tailoring is still needed. Change-Id: I9f5867b3cec753b4fc120bc5a7e20f9a73d89370 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp b/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp
index 62cbc1fa5f..60485b30a5 100644
--- a/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp
+++ b/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp
@@ -209,7 +209,7 @@ void tst_QTextLayout::cleanup()
void tst_QTextLayout::lineBreaking()
{
-#if defined(Q_WS_X11)
+#if 0
struct Breaks {
const char *utf8;
uchar breaks[32];
@@ -286,8 +286,6 @@ void tst_QTextLayout::lineBreaking()
QCOMPARE(b->breaks[i], (uchar)0xff);
++b;
}
-#else
- QSKIP("This test can not be run on non-X11 platforms");
#endif
}