Qt4: Fix test

This commit is contained in:
Markus Goetz 2015-05-12 22:55:54 +02:00
parent 76166c6252
commit bcc896fb6e

View file

@ -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);
}