summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2014-10-20 16:31:34 +0400
committerAlexander Volkov <a.volkov@rusbitech.ru>2014-10-24 22:23:50 +0200
commit7645b64d896330885a2afcbb996b677730151570 (patch)
tree00de24c0a00f2fceba8887e469f693ceb4af5698 /tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
parent6841dd6eccda88f08ad4c424fc9d5f9e400aaf43 (diff)
Add support for "Apple Roman" encoding
Substitute this encoding by "macintosh" when Qt is built with ICU. It is for compatibility with Qt 4.x. Change-Id: I70c51cba7d473ac81e25862736cb71a2f6894055 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp')
-rw-r--r--tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp b/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
index 7c154575d0..24487aa7cc 100644
--- a/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
+++ b/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp
@@ -196,6 +196,7 @@ void tst_QTextCodec::fromUnicode_data()
QTest::newRow("windows-1257") << "windows-1257" << true;
QTest::newRow("windows-1258") << "windows-1258" << true;
+ QTest::newRow("Apple Roman") << "Apple Roman" << true;
QTest::newRow("macintosh") << "macintosh" << true;
//QTest::newRow("WINSAMI2") << "WINSAMI2" << true;
QTest::newRow("TIS-620") << "TIS-620" << true;