Add pdf.gz file save test

remotes/origin/Applications/17.12 v17.12.2
Albert Astals Cid 8 years ago
parent ad1160be1b
commit 4e678cdc33
  1. BIN
      autotests/data/file1.pdf.gz
  2. 1
      autotests/parttest.cpp

Binary file not shown.

@ -914,6 +914,7 @@ void PartTest::testSaveAs_data()
QTest::addColumn<bool>("canSwapBackingFile");
QTest::newRow("pdf") << KDESRCDIR "data/file1.pdf" << "pdf" << true << true;
QTest::newRow("pdf.gz") << KDESRCDIR "data/file1.pdf.gz" << "pdf" << true << true;
QTest::newRow("epub") << KDESRCDIR "data/contents.epub" << "epub" << false << false;
QTest::newRow("jpg") << KDESRCDIR "data/potato.jpg" << "jpg" << false << true;
}

Loading…
Cancel
Save