diff options
author | Markus Goetz <markus@woboq.com> | 2018-02-20 12:15:59 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2018-02-20 13:26:11 +0300 |
commit | 6f8248ebfd7b85e66f7a441c8330da20d50acb4a (patch) | |
tree | d7f554b841bf2f9745c144dd1345571bf889ee24 | |
parent | 33306dcc381550b451c8591c658dfe4af1bd7318 (diff) |
test/testsyncengine: testNoLocalEncoding is for Linux
-rw-r--r-- | test/testsyncengine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testsyncengine.cpp b/test/testsyncengine.cpp index a7c04562b..4f1ad6003 100644 --- a/test/testsyncengine.cpp +++ b/test/testsyncengine.cpp @@ -613,6 +613,7 @@ private slots: QVERIFY(fakeFolder.currentLocalState().find("A/tößt")); QVERIFY(fakeFolder.currentLocalState().find("A/t𠜎t")); +#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN) // Try again with a locale that can represent ö but not 𠜎 (4-byte utf8). QTextCodec::setCodecForLocale(QTextCodec::codecForName("ISO-8859-15")); QVERIFY(QTextCodec::codecForLocale()->mibEnum() == 111); @@ -643,6 +644,7 @@ private slots: QVERIFY(fakeFolder.currentRemoteState().find("C/tößt")); QTextCodec::setCodecForLocale(utf8Locale); +#endif } }; |