Add test case for blank PDF

This commit is contained in:
simon987 2020-08-18 18:38:53 -04:00
parent baf39a8b1a
commit 7aa89b59d9

View File

@ -211,6 +211,16 @@ TEST(Ebook, Pdf2) {
cleanup(&doc, &f);
}
TEST(Ebook, PdfBlank) {
vfile_t f;
document_t doc;
load_doc_file("libscan-test-files/test_files/ebook/blank.pdf", &f, &doc);
parse_ebook(&ebook_500_ctx, &f, "application/pdf", &doc);
cleanup(&doc, &f);
}
TEST(Ebook, Epub1) {
vfile_t f;
document_t doc;