From bcc896fb6e301d38242cef158f50cdaedd1e0ebd Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Tue, 12 May 2015 22:55:54 +0200 Subject: [PATCH] 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 0b667eb50..167cb159a 100644 --- a/test/testxmlparse.h +++ b/test/testxmlparse.h @@ -431,14 +431,14 @@ private slots: this, SLOT(slotFinishedSuccessfully()) ); QHash 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); } -- 2.30.2