Commit b05ea377 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Info about resource zip file

parent 84bec655
Pipeline #22466 passed with stage
in 12 minutes and 29 seconds
......@@ -51,9 +51,13 @@ void SaveResourceConfigTest::exportResourceToArchive(const QString &archivePath,
if (QFileInfo(url).isFile()) {
QVERIFY(mArchive->addLocalFile(url, archivePath + resourceArchiveName));
} else {
QVERIFY(mArchive->addLocalFile(url + identifier + QLatin1String(".zip"), archivePath + resourceArchiveName));
const QString zipFile = url + identifier + QLatin1String(".zip");
const bool success = mArchive->addLocalFile(zipFile, archivePath + resourceArchiveName);
if (!success) {
qDebug() << " zip file " << zipFile;
}
QVERIFY(success);
}
//qDebug() << "url " << url + identifier + QLatin1String(".zip");
ResourceConverterTest converter;
const QString errorStr = converter.storeResources(mArchive, identifier, archivePath);
QVERIFY(errorStr.isEmpty());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment