summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-09-16 11:03:15 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-09-16 11:03:15 (GMT)
commit57240c1f931eb4c340de6e2bb17972235265f89c (patch)
tree63a151037025135f91e10461a1a56db59735fac8 /tests
parent8935a84e18804c7ff4b7336e3cfdf1cd558eaf1c (diff)
downloadQt-57240c1f931eb4c340de6e2bb17972235265f89c.zip
Qt-57240c1f931eb4c340de6e2bb17972235265f89c.tar.gz
Qt-57240c1f931eb4c340de6e2bb17972235265f89c.tar.bz2
Use more widely supported Unicode character representation
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qtextlayout/tst_qtextlayout.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qtextlayout/tst_qtextlayout.cpp b/tests/auto/qtextlayout/tst_qtextlayout.cpp
index 6c989ac..67d8269 100644
--- a/tests/auto/qtextlayout/tst_qtextlayout.cpp
+++ b/tests/auto/qtextlayout/tst_qtextlayout.cpp
@@ -1466,7 +1466,7 @@ void tst_QTextLayout::textWidthWithLineSeparator()
void tst_QTextLayout::cursorInLigatureWithMultipleLines()
{
#if !defined(Q_WS_MAC)
- QSKIP("This test can not be run on Mac", SkipAll);
+ QSKIP("This test can only be run on Mac", SkipAll);
#endif
QTextLayout layout("first line finish", QFont("Times", 20));
layout.beginLayout();
@@ -1482,7 +1482,7 @@ void tst_QTextLayout::cursorInLigatureWithMultipleLines()
void tst_QTextLayout::xToCursorForLigatures()
{
#if !defined(Q_WS_MAC)
- QSKIP("This test can not be run on Mac", SkipAll);
+ QSKIP("This test can only be run on Mac", SkipAll);
#endif
QTextLayout layout("fi", QFont("Times", 20));
layout.beginLayout();
@@ -1508,7 +1508,7 @@ void tst_QTextLayout::cursorInNonStopChars()
#if defined(Q_WS_MAC)
QSKIP("This test can not be run on Mac", SkipAll);
#endif
- QTextLayout layout(QString::fromUtf8("\u0924\u094d\u0928"));
+ QTextLayout layout(QString::fromUtf8("\xE0\xA4\xA4\xE0\xA5\x8D\xE0\xA4\xA8"));
layout.beginLayout();
QTextLine line = layout.createLine();
layout.endLayout();