aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/qtest/qpdf.test
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-02-05 15:46:25 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-02-05 17:24:35 +0100
commite58b1174c7f8b617a1253e70df9b95a1cac10fab (patch)
tree3ed228458d61ae38704ef93cd546a789ad0118ce /qpdf/qtest/qpdf.test
parentcfaa2de804f91b8130486848ced44d0aa283acef (diff)
downloadqpdf-e58b1174c7f8b617a1253e70df9b95a1cac10fab.tar.zst
Add new QPDFObjectHandle::getValueAs... accessors
Diffstat (limited to 'qpdf/qtest/qpdf.test')
-rw-r--r--qpdf/qtest/qpdf.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test
index 58d4102f..bf386168 100644
--- a/qpdf/qtest/qpdf.test
+++ b/qpdf/qtest/qpdf.test
@@ -3285,7 +3285,7 @@ my @badfiles = ("not a PDF file", # 1
"startxref to space then eof", # 38
);
-$n_tests += @badfiles + 7;
+$n_tests += @badfiles + 8;
# Test 6 contains errors in the free table consistency, but we no
# longer have any consistency check for this since it is not important
@@ -3341,6 +3341,10 @@ $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);
+$td->runtest("getValueAs... accessor checks",
+ {$td->COMMAND => "test_driver 85 -"},
+ {$td->STRING => "test 85 done\n", $td->EXIT_STATUS => 0},
+ $td->NORMALIZE_NEWLINES);
show_ntests();
# ----------