[Pkg-owncloud-commits] [owncloud-client] 37/175: Qt4: Fix test

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Aug 8 10:36:24 UTC 2015


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

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

commit bcc896fb6e301d38242cef158f50cdaedd1e0ebd
Author: Markus Goetz <markus at woboq.com>
Date:   Tue May 12 22:55:54 2015 +0200

    Qt4: Fix test
---
 test/testxmlparse.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/testxmlparse.h b/test/testxmlparse.h
index 0b667eb..167cb15 100644
--- a/test/testxmlparse.h
+++ b/test/testxmlparse.h
@@ -431,14 +431,14 @@ private slots:
                  this, SLOT(slotFinishedSuccessfully()) );
 
         QHash <QString, qint64> sizes;
-        QVERIFY(parser.parse( testXml, &sizes, "/ä" ));
+        QVERIFY(parser.parse( testXml, &sizes, QString::fromUtf8("/ä") ));
         QVERIFY(_success);
 
-        QVERIFY(_items.contains("/ä/ä.pdf"));
-        QVERIFY(_items.contains("/ä"));
+        QVERIFY(_items.contains(QString::fromUtf8("/ä/ä.pdf")));
+        QVERIFY(_items.contains(QString::fromUtf8("/ä")));
         QVERIFY(_items.size() == 2 );
 
-        QVERIFY(_subdirs.contains("/ä"));
+        QVERIFY(_subdirs.contains(QString::fromUtf8("/ä")));
         QVERIFY(_subdirs.size() == 1);
     }
 

-- 
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