Commit 2241eaf5 authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

Change the test AppImage archive

The test archive for AppImage was changed due to copyright issues. The
new archive (hello-1.0-x86_64.AppImage) simply contains a shell script
that outputs "Hello world", a desktop file and an icon of a black
circle.

Thanks to probonopd for providing the AppImage.
parent 33928e42
......@@ -175,10 +175,10 @@ void ArchiveTest::testProperties_data()
<< QStringLiteral("test");
QTest::newRow("AppImage")
<< QFINDTESTDATA("data/hello-2.8-x86_64.AppImage")
<< QStringLiteral("hello-2.8-x86_64")
<< QFINDTESTDATA("data/hello-1.0-x86_64.AppImage")
<< QStringLiteral("hello-1.0-x86_64")
<< true << false << false << false << 0 << Archive::Unencrypted
<< QStringLiteral("hello-2.8-x86_64");
<< QStringLiteral("hello-1.0-x86_64");
QTest::newRow("7z multivolume")
<< QFINDTESTDATA("data/archive-multivolume.7z.001")
......
......@@ -74,7 +74,7 @@ void MimeTypeTest::testMimeTypeDetection_data()
QTest::newRow("tar.lz4") << QFINDTESTDATA("data/simplearchive.tar.lz4") << compressedLz4TarMime;
QTest::newRow("deb") << QFINDTESTDATA("data/smallarchive.deb") << debMimeType;
QTest::newRow("xar") << QFINDTESTDATA("data/simplearchive.xar") << xarMimeType;
QTest::newRow("AppImage") << QFINDTESTDATA("data/hello-2.8-x86_64.AppImage") << appImageMimeType;
QTest::newRow("AppImage") << QFINDTESTDATA("data/hello-1.0-x86_64.AppImage") << appImageMimeType;
QTest::newRow("zip with wrong extension") << QFINDTESTDATA("data/zip_with_wrong_extension.rar") << QStringLiteral("application/zip");
QTest::newRow("tar with special char in the extension") << QStringLiteral("foo.tar~1.gz") << compressedGzipTarMime;
......
Supports Markdown
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