2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 07:12:28 +00:00

update test suite

git-svn-id: svn+q:///qpdf/trunk@675 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-05-03 20:03:21 +00:00
parent 8a66e7dbc0
commit a1fbb4bd97
5 changed files with 15 additions and 1 deletions

View File

@ -145,6 +145,8 @@ QPDF_Stream::filterable(std::vector<std::string>& filters,
{
// Ignore for now -- some filter types, like CCITTFaxDecode,
// use types other than dictionary for this.
QTC::TC("qpdf", "QPDF_Stream ignore non-dictionary DecodeParms");
filterable = false;
}

View File

@ -118,3 +118,4 @@ unable to filter 0
QPDF_String non-trivial UTF-16 0
QPDF xref overwrite object 0
QPDF decoding error warning 0
QPDF_Stream ignore non-dictionary DecodeParms 0

View File

@ -81,7 +81,7 @@ flush_tiff_cache();
show_ntests();
# ----------
$td->notify("--- Miscellaneous Tests ---");
$n_tests += 3;
$n_tests += 4;
foreach (my $i = 1; $i <= 3; ++$i)
{
@ -91,6 +91,13 @@ foreach (my $i = 1; $i <= 3; ++$i)
$td->NORMALIZE_NEWLINES);
}
# Make sure we ignore decode parameters that we don't understand
$td->runtest("unknown decode parameters",
{$td->COMMAND => "qpdf --check fax-decode-parms.pdf"},
{$td->FILE => "fax-decode-parms.out",
$td->EXIT_STATUS => 0},
$td->NORMALIZE_NEWLINES);
show_ntests();
# ----------
$td->notify("--- Error Condition Tests ---");

View File

@ -0,0 +1,4 @@
checking fax-decode-parms.pdf
File is not encrypted
File is not linearized
No errors found

Binary file not shown.