Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2018-02-20 12:15:59 +0300
committerCamila San <hello@camila.codes>2018-05-16 00:06:39 +0300
commitf6b67a866a6b37a8c2bbe17c34b260a228b06a8b (patch)
tree93246396de4a491d4deff54274b0ecb057c045e8 /test
parent5e2270bd570c06905c5be953f7d1eaa055d503ac (diff)
test/testsyncengine: testNoLocalEncoding is for Linux
Diffstat (limited to 'test')
-rw-r--r--test/testsyncengine.cpp2
1 files changed, 2 insertions, 0 deletions
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
}
};