[Pkg-owncloud-commits] [owncloud-client] 91/94: test/testsyncengine: testNoLocalEncoding is for Linux

Sandro Knauß hefee at debian.org
Thu Mar 29 11:12:18 UTC 2018


This is an automated email from the git hooks/post-receive script.

hefee pushed a commit to branch upstream
in repository owncloud-client.

commit 6f8248ebfd7b85e66f7a441c8330da20d50acb4a
Author: Markus Goetz <markus at woboq.com>
Date:   Tue Feb 20 10:15:59 2018 +0100

    test/testsyncengine: testNoLocalEncoding is for Linux
---
 test/testsyncengine.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/testsyncengine.cpp b/test/testsyncengine.cpp
index a7c0456..4f1ad60 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
     }
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list