diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-05-26 22:30:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-26 22:30:21 +0300 |
commit | bb1b86b0870314a586fd0a7b3af82ca7889d2e53 (patch) | |
tree | 5fd902ceb49ce0ba6f270ba4f572170e315fbc92 /test | |
parent | e9be7fc18a5f5c5f2e32489af1e9f6d6c8da4ae7 (diff) | |
parent | f6b67a866a6b37a8c2bbe17c34b260a228b06a8b (diff) |
Merge pull request #307 from nextcloud/upstream/pr/6366
test/testsyncengine: testNoLocalEncoding is for Linux
Diffstat (limited to 'test')
-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 6ac5ed549..3730eb004 100644 --- a/test/testsyncengine.cpp +++ b/test/testsyncengine.cpp @@ -649,6 +649,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); @@ -679,6 +680,7 @@ private slots: QVERIFY(fakeFolder.currentRemoteState().find("C/tößt")); QTextCodec::setCodecForLocale(utf8Locale); +#endif } }; |