diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-06-20 19:04:57 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-06-21 19:17:21 +0200 |
commit | 3608afd5c528b7a9d95d227cb6c4f33d303fcfcd (patch) | |
tree | 9f1a59273a85f877e142e3403d68bb0a303029d2 /qpdf/qtest | |
parent | 42306e2ff8716ce9a8f57da791122cc88308890c (diff) | |
download | qpdf-3608afd5c528b7a9d95d227cb6c4f33d303fcfcd.tar.zst |
Add new integer accessors to QPDFObjectHandle
Diffstat (limited to 'qpdf/qtest')
-rw-r--r-- | qpdf/qtest/qpdf.test | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test index eb2af1a4..76f9d8aa 100644 --- a/qpdf/qtest/qpdf.test +++ b/qpdf/qtest/qpdf.test @@ -2286,7 +2286,7 @@ my @badfiles = ("not a PDF file", # 1 "bad dictionary key", # 36 ); -$n_tests += @badfiles + 5; +$n_tests += @badfiles + 6; # Test 6 contains errors in the free table consistency, but we no # longer have any consistency check for this since it is not important @@ -2334,6 +2334,11 @@ $td->runtest("C API: no recovery", $td->EXIT_STATUS => 0}, $td->NORMALIZE_NEWLINES); +$td->runtest("integer type checks", + {$td->COMMAND => "test_driver 62 minimal.pdf"}, + {$td->STRING => "test 62 done\n", $td->EXIT_STATUS => 0}, + $td->NORMALIZE_NEWLINES); + show_ntests(); # ---------- $td->notify("--- Recovery Tests ---"); |