summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-09-16 13:03:15 +0200
committerJiang Jiang <jiang.jiang@nokia.com>2011-09-16 13:03:15 +0200
commit57240c1f931eb4c340de6e2bb17972235265f89c (patch)
tree63a151037025135f91e10461a1a56db59735fac8
parent8935a84e18804c7ff4b7336e3cfdf1cd558eaf1c (diff)
Use more widely supported Unicode character representation
-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 6c989aca33..67d8269d79 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();