From f6b67a866a6b37a8c2bbe17c34b260a228b06a8b Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Tue, 20 Feb 2018 10:15:59 +0100 Subject: test/testsyncengine: testNoLocalEncoding is for Linux --- test/testsyncengine.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/testsyncengine.cpp b/test/testsyncengine.cpp index ff291cc39..63b851bfb 100644 --- a/test/testsyncengine.cpp +++ b/test/testsyncengine.cpp @@ -641,6 +641,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); @@ -671,6 +672,7 @@ private slots: QVERIFY(fakeFolder.currentRemoteState().find("C/tößt")); QTextCodec::setCodecForLocale(utf8Locale); +#endif } }; -- cgit v1.2.3